This website requires JavaScript.
Explore
Help
Sign in
Imbus
/
xv6-riscv-kernel
Watch
1
Fork
You've already forked xv6-riscv-kernel
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
c6c0cb82c4
xv6-riscv-kernel
/
fcntl.h
5 lines
96 B
C
Raw
Normal View
History
Unescape
Escape
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...
2006-08-10 04:07:10 +02:00
#
define O_RDONLY 0x000
#
define O_WRONLY 0x001
#
define O_RDWR 0x002
nit
2007-08-28 06:13:24 +02:00
#
define O_CREATE 0x200
Reference in a new issue
Copy permalink