Changeset ab87db5 in mainline for uspace/lib/usbvirt/src/ipc_dev.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
  • uspace/lib/usbvirt/src/ipc_dev.c

    rbc417660 rab87db5  
    133133static void ipc_control_write(usbvirt_device_t *dev, ipc_call_t *icall)
    134134{
    135         size_t data_buffer_len = IPC_GET_ARG1(*icall);
     135        size_t data_buffer_len = ipc_get_arg1(icall);
    136136        errno_t rc;
    137137
     
    177177    usb_transfer_type_t transfer_type, ipc_call_t *icall)
    178178{
    179         usb_endpoint_t endpoint = IPC_GET_ARG1(*icall);
     179        usb_endpoint_t endpoint = ipc_get_arg1(icall);
    180180
    181181        errno_t rc;
     
    220220    usb_transfer_type_t transfer_type, ipc_call_t *icall)
    221221{
    222         usb_endpoint_t endpoint = IPC_GET_ARG1(*icall);
     222        usb_endpoint_t endpoint = ipc_get_arg1(icall);
    223223
    224224        void *data_buffer = NULL;
     
    250250bool usbvirt_ipc_handle_call(usbvirt_device_t *dev, ipc_call_t *call)
    251251{
    252         switch (IPC_GET_IMETHOD(*call)) {
     252        switch (ipc_get_imethod(call)) {
    253253        case IPC_M_USBVIRT_GET_NAME:
    254254                ipc_get_name(dev, call);
Note: See TracChangeset for help on using the changeset viewer.