From c95bde8163eca7a19c95f3b05156e0ad33312589 Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 27 Sep 2007 20:38:53 +0000 Subject: yank out stack overflow checking ugliness --- proc.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'proc.h') diff --git a/proc.h b/proc.h index 2063baa..36913c4 100644 --- a/proc.h +++ b/proc.h @@ -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 }; -- cgit v1.2.3