This repo contains the original os-161, enhanced with some implementations. In particular I implemented:
-
System Calls:
- SYS_WRITE() (syscall 55)
- SYS_READ() (syscall 50) extended for file management
- SYS_EXIT() (syscall 3) extended for file management
- SYS_OPEN() (syscall 45)
- SYS_CLOSE() (syscall 49)
- SYS_REMOVE() (syscall 68) (It actually doesn't remove the file for real)
-
DUMBVM with deallocation
-
Lock implemented using wchan and spinlock
-
Condition Variables implemented (with wchan and spinlock)
-
WAIT_PROC implemented with condition variables