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


Ignore:
Timestamp:
2019-02-06T13:25:12Z (5 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/obio/obio.c

    rbb97118 reb13ef8  
    9090                async_get_call(&call);
    9191
    92                 switch (IPC_GET_IMETHOD(call)) {
     92                switch (IPC_GET_IMETHOD(&call)) {
    9393                case IRC_ENABLE_INTERRUPT:
    94                         inr = IPC_GET_ARG1(call);
     94                        inr = IPC_GET_ARG1(&call);
    9595                        pio_set_64(&obio->regs[OBIO_IMR(inr & INO_MASK)],
    9696                            1UL << 31, 0);
     
    102102                        break;
    103103                case IRC_CLEAR_INTERRUPT:
    104                         inr = IPC_GET_ARG1(call);
     104                        inr = IPC_GET_ARG1(&call);
    105105                        pio_write_64(&obio->regs[OBIO_CIR(inr & INO_MASK)], 0);
    106106                        async_answer_0(&call, EOK);
Note: See TracChangeset for help on using the changeset viewer.