xv6-riscv-rust/spinlock.h

7 lines
95 B
C

struct spinlock {
unsigned int locked;
unsigned who;
int count;
unsigned locker_pc;
};