diff options
| author | rtm <rtm> | 2006-08-16 01:56:00 +0000 |
|---|---|---|
| committer | rtm <rtm> | 2006-08-16 01:56:00 +0000 |
| commit | ceb0e427962d0656e672955585c04093b9efda90 (patch) | |
| tree | 11e8f328e2da8263b91e99a6179e3283b3647681 /proc.h | |
| parent | 350e63f7a9b1be695c0cf69e380bd96733524f25 (diff) | |
| download | xv6-labs-2022-ceb0e427962d0656e672955585c04093b9efda90.tar.xz xv6-labs-2022-ceb0e427962d0656e672955585c04093b9efda90.zip | |
proc[0] can sleep(), at least after it gets to main00()
proc[0] calls iget(rootdev, 1) before forking init
Diffstat (limited to 'proc.h')
| -rw-r--r-- | proc.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |
