summaryrefslogtreecommitdiff
path: root/proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'proc.h')
-rw-r--r--proc.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/proc.h b/proc.h
index ad37271..57fb4d9 100644
--- a/proc.h
+++ b/proc.h
@@ -49,8 +49,6 @@ struct proc {
// fixed-size stack
// expandable heap
-#define MPSTACK 512
-
// Per-CPU state
struct cpu {
uchar apicid; // Local APIC ID
@@ -58,7 +56,7 @@ struct cpu {
struct context context; // Switch here to enter scheduler
struct taskstate ts; // Used by x86 to find stack for interrupt
struct segdesc gdt[NSEGS]; // x86 global descriptor table
- char mpstack[MPSTACK]; // Per-CPU startup stack
+ char *stack;
volatile int booted; // Has the CPU started?
int nsplhi; // Depth of splhi nesting.
};