From 0e84a0ec6e7893dad13dff9a958c5bc987b79c82 Mon Sep 17 00:00:00 2001 From: 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 --- fd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'fd.h') diff --git a/fd.h b/fd.h index 442ee34..1be1cf0 100644 --- a/fd.h +++ b/fd.h @@ -5,6 +5,7 @@ struct fd { char writeable; struct pipe *pipe; struct inode *ip; + uint off; }; extern struct fd fds[NFD]; -- cgit v1.2.3