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... --- syscall.c | 1 + 1 file changed, 1 insertion(+) (limited to 'syscall.c') diff --git a/syscall.c b/syscall.c index 685fa46..c53c447 100644 --- a/syscall.c +++ b/syscall.c @@ -12,6 +12,7 @@ #include "fsvar.h" #include "elf.h" #include "fd.h" +#include "fcntl.h" /* * User code makes a system call with INT T_SYSCALL. -- cgit v1.2.3