summaryrefslogtreecommitdiff
path: root/proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'proc.h')
-rw-r--r--proc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/proc.h b/proc.h
index 1b86eb2..a273141 100644
--- a/proc.h
+++ b/proc.h
@@ -70,6 +70,8 @@ struct cpu {
char mpstack[MPSTACK]; // per-cpu start-up stack, only used to get into main()
struct proc *lastproc; // last proc scheduled on this cpu (never NULL)
int nlock; // # of locks currently held
+ struct spinlock *lastacquire; // xxx debug
+ struct spinlock *lastrelease; // xxx debug
};
extern struct cpu cpus[NCPU];