Skip to content.
xv6: a simple, Unix-like teaching operating system
Foreword and acknowledgments
1
Operating system interfaces
2
Operating system organization
2.1
Abstracting physical resources
2.2
User mode, supervisor mode, and system calls
2.3
Kernel organization
2.4
Code: xv6 organization
2.5
Process overview
2.6
Code: starting xv6, the first process and system call
2.7
Security Model
2.8
Real world
2.9
Exercises
3
Page tables
4
Traps and system calls
5
Page faults
6
Interrupts and device drivers
7
Locking
8
Scheduling
9
Sleep and Wakeup
10
File system
11
Concurrency revisited
12
Summary
Bibliography
Index
Exercises
2.9
Exercises
1.
Add a system call to xv6 that returns the amount of free memory available.