Changeset ab87db5 in mainline for uspace/drv/char
- Timestamp:
- 2019-02-23T17:16:01Z (7 years ago)
- 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)
- Location:
- uspace/drv/char
- Files:
-
- 5 edited
-
i8042/i8042.c (modified) (1 diff)
-
msim-con/msim-con.c (modified) (2 diffs)
-
ns8250/ns8250.c (modified) (2 diffs)
-
pc-lpt/pc-lpt.c (modified) (1 diff)
-
pl050/pl050.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/i8042/i8042.c
rbc417660 rab87db5 132 132 errno_t rc; 133 133 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); 136 136 137 137 i8042_port_t *port = (status & i8042_AUX_DATA) ? -
uspace/drv/char/msim-con/msim-con.c
rbc417660 rab87db5 71 71 fibril_mutex_lock(&con->buf_lock); 72 72 73 c = IPC_GET_ARG2(*call);73 c = ipc_get_arg2(call); 74 74 rc = circ_buf_push(&con->cbuf, &c); 75 75 if (rc != EOK) … … 156 156 return EOK; 157 157 error: 158 if ( CAP_HANDLE_VALID(con->irq_handle))158 if (cap_handle_valid(con->irq_handle)) 159 159 async_irq_unsubscribe(con->irq_handle); 160 160 if (bound) -
uspace/drv/char/ns8250/ns8250.c
rbc417660 rab87db5 1080 1080 { 1081 1081 ns8250_t *ns8250 = srv_ns8250(srv); 1082 sysarg_t method = IPC_GET_IMETHOD(*call);1082 sysarg_t method = ipc_get_imethod(call); 1083 1083 errno_t ret; 1084 1084 unsigned int baud_rate, parity, word_length, stop_bits; … … 1093 1093 1094 1094 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); 1099 1099 ret = ns8250_set_props(ns8250->dev, baud_rate, parity, word_length, 1100 1100 stop_bits); -
uspace/drv/char/pc-lpt/pc-lpt.c
rbc417660 rab87db5 173 173 return EOK; 174 174 error: 175 if ( CAP_HANDLE_VALID(lpt->irq_handle))175 if (cap_handle_valid(lpt->irq_handle)) 176 176 async_irq_unsubscribe(lpt->irq_handle); 177 177 if (bound) -
uspace/drv/char/pl050/pl050.c
rbc417660 rab87db5 157 157 } 158 158 159 pl050->buffer[pl050->buf_wp] = IPC_GET_ARG2(*call);159 pl050->buffer[pl050->buf_wp] = ipc_get_arg2(call); 160 160 pl050->buf_wp = nidx; 161 161 fibril_condvar_broadcast(&pl050->buf_cv);
Note:
See TracChangeset
for help on using the changeset viewer.
