diff options
-rw-r--r-- | elf.h | 17 | ||||
-rw-r--r-- | fsvar.h | 40 | ||||
-rw-r--r-- | spinlock.h | 44 |
3 files changed, 101 insertions, 0 deletions
@@ -41,3 +41,20 @@ struct proghdr { #define ELF_PROG_FLAG_WRITE 2 #define ELF_PROG_FLAG_READ 4 + + + + + + + + + + + + + + + + +// Blank page. @@ -16,3 +16,43 @@ struct inode { #define I_BUSY 0x1 #define I_VALID 0x2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +// Blank page. @@ -8,3 +8,47 @@ struct spinlock { uint pcs[10]; // The call stack (an array of program counters) // that locked the lock. }; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +// Blank page. |