summaryrefslogtreecommitdiff
path: root/proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'proc.h')
-rw-r--r--proc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc.h b/proc.h
index d1597cf..7352805 100644
--- a/proc.h
+++ b/proc.h
@@ -1,6 +1,6 @@
// Per-CPU state
struct cpu {
- uchar id; // Local APIC ID; index into cpus[] below
+ uchar apicid; // Local APIC ID
struct context *scheduler; // swtch() here to enter scheduler
struct taskstate ts; // Used by x86 to find stack for interrupt
struct segdesc gdt[NSEGS]; // x86 global descriptor table