From 8a8be1b8c36e38f58f8ba3e425b6e701ad65abf3 Mon Sep 17 00:00:00 2001 From: rtm Date: Thu, 10 Aug 2006 02:07:10 +0000 Subject: low-level keyboard input (not hooked up to /dev yet) fix acquire() to cli() *before* incrementing nlock make T_SYSCALL a trap gate, not an interrupt gate sadly, various crashes if you hold down a keyboard key... --- x86.h | 1 + 1 file changed, 1 insertion(+) (limited to 'x86.h') diff --git a/x86.h b/x86.h index 41a6e9a..ea60064 100644 --- a/x86.h +++ b/x86.h @@ -362,6 +362,7 @@ struct trapframe { #define IRQ_OFFSET 32 // IRQ 0 corresponds to int IRQ_OFFSET +#define IRQ_KBD 1 #define IRQ_IDE 14 #define IRQ_ERROR 19 #define IRQ_SPURIOUS 31 -- cgit v1.2.3