summaryrefslogtreecommitdiff
path: root/syscall.h
diff options
context:
space:
mode:
authorkaashoek <kaashoek>2006-07-06 21:47:22 +0000
committerkaashoek <kaashoek>2006-07-06 21:47:22 +0000
commit7837c71b32fc716101a859302e0349061416bd6e (patch)
tree57ec72178b980a3cd794b2f93bd021e08004368f /syscall.h
parentb22d898297a2496ba4cfd31d445769fbebc0a46d (diff)
downloadxv6-labs-7837c71b32fc716101a859302e0349061416bd6e.tar.gz
xv6-labs-7837c71b32fc716101a859302e0349061416bd6e.tar.bz2
xv6-labs-7837c71b32fc716101a859302e0349061416bd6e.zip
disable all interrupts when acquiring lock
user program that makes a blocking system call
Diffstat (limited to 'syscall.h')
-rw-r--r--syscall.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/syscall.h b/syscall.h
index 764b46f..0378c53 100644
--- a/syscall.h
+++ b/syscall.h
@@ -6,3 +6,4 @@
#define SYS_write 6
#define SYS_read 7
#define SYS_close 8
+#define SYS_block 9