diff options
Diffstat (limited to 'spinlock.h')
| -rw-r--r-- | spinlock.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ struct spinlock { + uint magic; char *name; uint locked; - uint pcs[10]; int cpu; + uint pcs[10]; }; |
![]() |
index : xv6-riscv | |
| MIT xv6-RISCV kernel modified to RV64I base integer extension | Aditya N. Naik |
| summaryrefslogtreecommitdiff |
| -rw-r--r-- | spinlock.h | 3 |
@@ -1,6 +1,7 @@ struct spinlock { + uint magic; char *name; uint locked; - uint pcs[10]; int cpu; + uint pcs[10]; }; |