summaryrefslogtreecommitdiff
path: root/proc.h
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2011-08-15 20:11:13 -0400
committerFrans Kaashoek <[email protected]>2011-08-15 20:11:13 -0400
commita4b213cf49cccc8287e638badaac10d0521d5886 (patch)
tree095d550b12eeb48d224193a7401e6793fe7c1d50 /proc.h
parent944964685325aa63a59e5e84d8fd0ba5af45ec8c (diff)
downloadxv6-labs-a4b213cf49cccc8287e638badaac10d0521d5886.tar.gz
xv6-labs-a4b213cf49cccc8287e638badaac10d0521d5886.tar.bz2
xv6-labs-a4b213cf49cccc8287e638badaac10d0521d5886.zip
Avoid "boot" in xv6
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 2b30187..385a92f 100644
--- a/proc.h
+++ b/proc.h
@@ -7,7 +7,7 @@ struct cpu {
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
- volatile uint booted; // Has the CPU started?
+ volatile uint started; // Has the CPU started?
int ncli; // Depth of pushcli nesting.
int intena; // Were interrupts enabled before pushcli?