diff options
author | Frans Kaashoek <[email protected]> | 2019-07-08 15:50:06 -0400 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2019-07-08 15:50:06 -0400 |
commit | 2f22a3ed6a8dbdd4dcfb2c0a43dc854a36a59cfc (patch) | |
tree | 189387b82cfd998170d39dfc998de0fc86602544 /kernel/spinlock.h | |
parent | 75b0c6fc91c1264aaa5d080d9faeb87c90d02ad3 (diff) | |
parent | 60ed537427c31d320ca4c8778d21d13304285b00 (diff) | |
download | xv6-labs-2f22a3ed6a8dbdd4dcfb2c0a43dc854a36a59cfc.tar.gz xv6-labs-2f22a3ed6a8dbdd4dcfb2c0a43dc854a36a59cfc.tar.bz2 xv6-labs-2f22a3ed6a8dbdd4dcfb2c0a43dc854a36a59cfc.zip |
Merge branch 'riscv-proc' into riscv
Diffstat (limited to 'kernel/spinlock.h')
-rw-r--r-- | kernel/spinlock.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/spinlock.h b/kernel/spinlock.h index 4392820..5f244c9 100644 --- a/kernel/spinlock.h +++ b/kernel/spinlock.h @@ -5,5 +5,7 @@ struct spinlock { // For debugging: char *name; // Name of lock. struct cpu *cpu; // The cpu holding the lock. + struct cpu *last_release; + uint64 last_pc; }; |