diff options
Diffstat (limited to 'proc.h')
-rw-r--r-- | proc.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,9 @@ #define SEG_UCODE 3 #define SEG_UDATA 4 #define SEG_TSS 5 // this process's task state -#define NSEGS 6 +#define SEG_CPUSTACK 6 +#define SEG_PROCSTACK 7 +#define NSEGS 8 // Saved registers for kernel context switches. // Don't need to save all the %fs etc. segment registers, @@ -22,6 +24,7 @@ struct context { int esi; int edi; int ebp; + int ss; }; enum proc_state { UNUSED, EMBRYO, SLEEPING, RUNNABLE, RUNNING, ZOMBIE }; |