From 0e84a0ec6e7893dad13dff9a958c5bc987b79c82 Mon Sep 17 00:00:00 2001 From: rtm <rtm> Date: Tue, 8 Aug 2006 19:58:06 +0000 Subject: fix race in holding() check in acquire() give cpu1 a TSS and gdt for when it enters scheduler() and a pseudo proc[] entry for each cpu cpu0 waits for each other cpu to start up read() for files --- user.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'user.h') diff --git a/user.h b/user.h index cf98816..d869338 100644 --- a/user.h +++ b/user.h @@ -10,6 +10,8 @@ int block(void); int kill(int); int panic(char*); int cons_puts(char*); +int exec(char *, char **); +int open(char *, int); int mknod (char*,short,short,short); int puts(char*); int puts1(char*); -- cgit v1.2.3