diff options
Diffstat (limited to 'proc.h')
-rw-r--r-- | proc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -56,9 +56,9 @@ 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 *stack; volatile int booted; // Has the CPU started? - int ncli; // Depth of pushcli nesting. + int ncli; // Depth of pushcli nesting. + int intena; // Were interrupts enabled before pushcli? }; extern struct cpu cpus[NCPU]; |