From ceb0e427962d0656e672955585c04093b9efda90 Mon Sep 17 00:00:00 2001 From: rtm Date: Wed, 16 Aug 2006 01:56:00 +0000 Subject: proc[0] can sleep(), at least after it gets to main00() proc[0] calls iget(rootdev, 1) before forking init --- proc.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'proc.h') diff --git a/proc.h b/proc.h index 611f9b5..64e979a 100644 --- a/proc.h +++ b/proc.h @@ -33,8 +33,7 @@ struct jmpbuf { int eip; }; -enum proc_state { UNUSED, EMBRYO, SLEEPING, RUNNABLE, RUNNING, ZOMBIE, - IDLEPROC }; +enum proc_state { UNUSED, EMBRYO, SLEEPING, RUNNABLE, RUNNING, ZOMBIE }; struct proc{ char *mem; // start of process's physical memory -- cgit v1.2.3