Changeset eb13ef8 in mainline for uspace/drv/char


Ignore:
Timestamp:
2019-02-06T13:25:12Z (7 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

Location:
uspace/drv/char
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/char/i8042/i8042.c

    rbb97118 reb13ef8  
    132132        errno_t rc;
    133133
    134         const uint8_t status = IPC_GET_ARG1(*call);
    135         const uint8_t data = IPC_GET_ARG2(*call);
     134        const uint8_t status = IPC_GET_ARG1(call);
     135        const uint8_t data = IPC_GET_ARG2(call);
    136136
    137137        i8042_port_t *port = (status & i8042_AUX_DATA) ?
  • uspace/drv/char/msim-con/msim-con.c

    rbb97118 reb13ef8  
    7171        fibril_mutex_lock(&con->buf_lock);
    7272
    73         c = IPC_GET_ARG2(*call);
     73        c = IPC_GET_ARG2(call);
    7474        rc = circ_buf_push(&con->cbuf, &c);
    7575        if (rc != EOK)
  • uspace/drv/char/ns8250/ns8250.c

    rbb97118 reb13ef8  
    10801080{
    10811081        ns8250_t *ns8250 = srv_ns8250(srv);
    1082         sysarg_t method = IPC_GET_IMETHOD(*call);
     1082        sysarg_t method = IPC_GET_IMETHOD(call);
    10831083        errno_t ret;
    10841084        unsigned int baud_rate, parity, word_length, stop_bits;
     
    10931093
    10941094        case SERIAL_SET_COM_PROPS:
    1095                 baud_rate = IPC_GET_ARG1(*call);
    1096                 parity = IPC_GET_ARG2(*call);
    1097                 word_length = IPC_GET_ARG3(*call);
    1098                 stop_bits = IPC_GET_ARG4(*call);
     1095                baud_rate = IPC_GET_ARG1(call);
     1096                parity = IPC_GET_ARG2(call);
     1097                word_length = IPC_GET_ARG3(call);
     1098                stop_bits = IPC_GET_ARG4(call);
    10991099                ret = ns8250_set_props(ns8250->dev, baud_rate, parity, word_length,
    11001100                    stop_bits);
  • uspace/drv/char/pl050/pl050.c

    rbb97118 reb13ef8  
    157157        }
    158158
    159         pl050->buffer[pl050->buf_wp] = IPC_GET_ARG2(*call);
     159        pl050->buffer[pl050->buf_wp] = IPC_GET_ARG2(call);
    160160        pl050->buf_wp = nidx;
    161161        fibril_condvar_broadcast(&pl050->buf_cv);
Note: See TracChangeset for help on using the changeset viewer.