[Add] add xv6-rv

This commit is contained in:
bLueriVerLHR
2023-07-20 17:48:37 +08:00
parent 32e948a593
commit f683f3bed1
77 changed files with 11814 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
// Mutual exclusion lock.
struct spinlock {
uint locked; // Is the lock held?
// For debugging:
char *name; // Name of lock.
struct cpu *cpu; // The cpu holding the lock.
};