diff options
author | rsc <rsc> | 2007-09-27 20:38:53 +0000 |
---|---|---|
committer | rsc <rsc> | 2007-09-27 20:38:53 +0000 |
commit | c95bde8163eca7a19c95f3b05156e0ad33312589 (patch) | |
tree | a884f62568fff045687c5047c7ff640a2adbf4ca /proc.h | |
parent | 4f74de0edc243ffdae0233eb5c84d09c44677ccf (diff) | |
download | xv6-labs-c95bde8163eca7a19c95f3b05156e0ad33312589.tar.gz xv6-labs-c95bde8163eca7a19c95f3b05156e0ad33312589.tar.bz2 xv6-labs-c95bde8163eca7a19c95f3b05156e0ad33312589.zip |
yank out stack overflow checking ugliness
Diffstat (limited to 'proc.h')
-rw-r--r-- | proc.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -4,9 +4,7 @@ #define SEG_UCODE 3 #define SEG_UDATA 4 #define SEG_TSS 5 // this process's task state -#define SEG_CPUSTACK 6 -#define SEG_PROCSTACK 7 -#define NSEGS 8 +#define NSEGS 6 // Saved registers for kernel context switches. // Don't need to save all the %fs etc. segment registers, @@ -24,7 +22,6 @@ struct context { int esi; int edi; int ebp; - int ss; }; enum proc_state { UNUSED, EMBRYO, SLEEPING, RUNNABLE, RUNNING, ZOMBIE }; |