Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1506 → Rev 1507

/kernel/trunk/generic/include/ipc/irq.h
42,6 → 42,7
CMD_MEM_WRITE_8,
CMD_PORT_READ_1,
CMD_PORT_WRITE_1,
CMD_IA64_GETCHAR,
CMD_LAST
} irq_cmd_type;
 
/kernel/trunk/generic/src/ipc/irq.c
48,6 → 48,7
#include <ipc/irq.h>
#include <atomic.h>
#include <syscall/copy.h>
#include <console/console.h>
 
typedef struct {
SPINLOCK_DECLARE(lock);
103,6 → 104,11
outb((long)code->cmds[i].addr, code->cmds[i].value);
break;
#endif
#if defined(ia64)
case CMD_IA64_GETCHAR:
IPC_SET_ARG2(call->data, _getc(&ski_uconsole));
break;
#endif
default:
break;
}