Changeset eb13ef8 in mainline for uspace/drv/intctl/i8259/i8259.c


Ignore:
Timestamp:
2019-02-06T13:25:12Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fafb8e5
Parents:
bb97118
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-02 14:04:02)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-06 13:25:12)
Message:

Change IPC_GET_* and IPC_SET_* to accept pointer instead of lvalue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/intctl/i8259/i8259.c

    rbb97118 reb13ef8  
    108108                async_get_call(&call);
    109109
    110                 if (!IPC_GET_IMETHOD(call)) {
     110                if (!IPC_GET_IMETHOD(&call)) {
    111111                        /* The other side has hung up. */
    112112                        async_answer_0(&call, EOK);
     
    114114                }
    115115
    116                 switch (IPC_GET_IMETHOD(call)) {
     116                switch (IPC_GET_IMETHOD(&call)) {
    117117                case IRC_ENABLE_INTERRUPT:
    118118                        async_answer_0(&call, pic_enable_irq(i8259,
    119                             IPC_GET_ARG1(call)));
     119                            IPC_GET_ARG1(&call)));
    120120                        break;
    121121                case IRC_DISABLE_INTERRUPT:
Note: See TracChangeset for help on using the changeset viewer.