Changes in uspace/srv/hw/char/i8042/i8042.c [991f645:228e490] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/char/i8042/i8042.c
r991f645 r228e490 46 46 #include <stdio.h> 47 47 #include <errno.h> 48 #include <inttypes.h> 48 49 49 50 #include "i8042.h" … … 201 202 ipc_register_irq(inr_a, device_assign_devno(), 0, &i8042_kbd); 202 203 ipc_register_irq(inr_b, device_assign_devno(), 0, &i8042_kbd); 203 printf("%s: registered for interrupts %d and %d\n", NAME, inr_a, inr_b); 204 printf("%s: registered for interrupts %" PRIun " and %" PRIun "\n", 205 NAME, inr_a, inr_b); 204 206 205 207 wait_ready(); … … 217 219 ipc_callid_t callid; 218 220 ipc_call_t call; 219 ipcarg_t method;221 sysarg_t method; 220 222 devmap_handle_t dh; 221 223 int retval; … … 246 248 while (1) { 247 249 callid = async_get_call(&call); 248 method = IPC_GET_ METHOD(call);250 method = IPC_GET_IMETHOD(call); 249 251 switch (method) { 250 252 case IPC_M_PHONE_HUNGUP: … … 262 264 break; 263 265 case IPC_FIRST_USER_METHOD: 264 printf(NAME ": write % dto devid %d\n",266 printf(NAME ": write %" PRIun " to devid %d\n", 265 267 IPC_GET_ARG1(call), dev_id); 266 268 i8042_port_write(dev_id, IPC_GET_ARG1(call));
Note:
See TracChangeset
for help on using the changeset viewer.