summaryrefslogtreecommitdiff
path: root/fs.h
diff options
context:
space:
mode:
authorrtm <rtm>2006-08-10 02:07:10 +0000
committerrtm <rtm>2006-08-10 02:07:10 +0000
commit8a8be1b8c36e38f58f8ba3e425b6e701ad65abf3 (patch)
tree8e04f2b39be9be0a06e2b14c2b24ed7328766c7e /fs.h
parent28d9ef04ddaa4cf32f3c63c976afdc535a36db98 (diff)
downloadxv6-labs-8a8be1b8c36e38f58f8ba3e425b6e701ad65abf3.tar.gz
xv6-labs-8a8be1b8c36e38f58f8ba3e425b6e701ad65abf3.tar.bz2
xv6-labs-8a8be1b8c36e38f58f8ba3e425b6e701ad65abf3.zip
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...
Diffstat (limited to 'fs.h')
-rw-r--r--fs.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs.h b/fs.h
index c3f4e5f..6e83373 100644
--- a/fs.h
+++ b/fs.h
@@ -36,8 +36,3 @@ struct dirent {
ushort inum;
char name[DIRSIZ];
};
-
-#define O_CREATE 0x200
-#define O_RDONLY 0x000
-#define O_WRONLY 0x001
-#define O_RDWR 0x002