Changes in uspace/drv/char/i8042/i8042.c [071a1ddb:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/i8042/i8042.c
r071a1ddb rb7fd2a0 68 68 69 69 static void i8042_char_conn(ipc_callid_t, ipc_call_t *, void *); 70 static int i8042_read(chardev_srv_t *, void *, size_t, size_t *);71 static int i8042_write(chardev_srv_t *, const void *, size_t, size_t *);70 static errno_t i8042_read(chardev_srv_t *, void *, size_t, size_t *); 71 static errno_t i8042_write(chardev_srv_t *, const void *, size_t, size_t *); 72 72 73 73 static chardev_ops_t i8042_chardev_ops = { … … 129 129 { 130 130 i8042_t *controller = ddf_dev_data_get(dev); 131 int rc;131 errno_t rc; 132 132 133 133 const uint8_t status = IPC_GET_ARG1(*call); … … 158 158 * 159 159 */ 160 int i8042_init(i8042_t *dev, addr_range_t *regs, int irq_kbd,160 errno_t i8042_init(i8042_t *dev, addr_range_t *regs, int irq_kbd, 161 161 int irq_mouse, ddf_dev_t *ddf_dev) 162 162 { … … 170 170 i8042_regs_t *ar; 171 171 172 int rc;172 errno_t rc; 173 173 bool kbd_bound = false; 174 174 bool aux_bound = false; … … 350 350 * 351 351 */ 352 static int i8042_write(chardev_srv_t *srv, const void *data, size_t size,352 static errno_t i8042_write(chardev_srv_t *srv, const void *data, size_t size, 353 353 size_t *nwr) 354 354 { … … 385 385 * 386 386 */ 387 static int i8042_read(chardev_srv_t *srv, void *dest, size_t size,387 static errno_t i8042_read(chardev_srv_t *srv, void *dest, size_t size, 388 388 size_t *nread) 389 389 { … … 391 391 size_t p; 392 392 uint8_t *destp = (uint8_t *)dest; 393 int rc;393 errno_t rc; 394 394 395 395 fibril_mutex_lock(&port->buf_lock);
Note:
See TracChangeset
for help on using the changeset viewer.