Changeset ab87db5 in mainline for kernel/generic/src/ipc/irq.c


Ignore:
Timestamp:
2019-02-23T17:16:01Z (5 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8c193d83, ca0e838
Parents:
bc417660 (diff), 95a47b0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-23 17:16:01)
git-committer:
GitHub <noreply@…> (2019-02-23 17:16:01)
Message:

Merge pull request #157

Turn some function-like macros into functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/irq.c

    rbc417660 rab87db5  
    539539
    540540                /* Set up args */
    541                 IPC_SET_IMETHOD(call->data, irq->notif_cfg.imethod);
    542                 IPC_SET_ARG1(call->data, irq->notif_cfg.scratch[1]);
    543                 IPC_SET_ARG2(call->data, irq->notif_cfg.scratch[2]);
    544                 IPC_SET_ARG3(call->data, irq->notif_cfg.scratch[3]);
    545                 IPC_SET_ARG4(call->data, irq->notif_cfg.scratch[4]);
    546                 IPC_SET_ARG5(call->data, irq->notif_cfg.scratch[5]);
     541                ipc_set_imethod(&call->data, irq->notif_cfg.imethod);
     542                ipc_set_arg1(&call->data, irq->notif_cfg.scratch[1]);
     543                ipc_set_arg2(&call->data, irq->notif_cfg.scratch[2]);
     544                ipc_set_arg3(&call->data, irq->notif_cfg.scratch[3]);
     545                ipc_set_arg4(&call->data, irq->notif_cfg.scratch[4]);
     546                ipc_set_arg5(&call->data, irq->notif_cfg.scratch[5]);
    547547
    548548                send_call(irq, call);
     
    576576                call->priv = ++irq->notif_cfg.counter;
    577577
    578                 IPC_SET_IMETHOD(call->data, irq->notif_cfg.imethod);
    579                 IPC_SET_ARG1(call->data, a1);
    580                 IPC_SET_ARG2(call->data, a2);
    581                 IPC_SET_ARG3(call->data, a3);
    582                 IPC_SET_ARG4(call->data, a4);
    583                 IPC_SET_ARG5(call->data, a5);
     578                ipc_set_imethod(&call->data, irq->notif_cfg.imethod);
     579                ipc_set_arg1(&call->data, a1);
     580                ipc_set_arg2(&call->data, a2);
     581                ipc_set_arg3(&call->data, a3);
     582                ipc_set_arg4(&call->data, a4);
     583                ipc_set_arg5(&call->data, a5);
    584584
    585585                send_call(irq, call);
Note: See TracChangeset for help on using the changeset viewer.