3 ms·
+1 only xv6 gives traps, stack, uart, kalloc, preemptive scheduler, rudimentary fs, init(0) and minimal userland out of the box. students are not expected to i
by kelas 3y ago
+1
only xv6 gives traps, stack, uart, kalloc, preemptive scheduler, rudimentary fs, init(0) and minimal userland out of the box. students are not expected to implement any of that, it is hard - instead, is a book to read, a beautiful one. assignments are built on top of the core public codebase.
> Perhaps you suggest to use production-grade kernel like Linux, instead?
i imagine the expression on the student’s face once they run into their first:
/* not sure what this code does and why it is even here */
if it wasn’t for xv6, the best available choice would probably be OpenBSD codebase (not yet reimplemented in rust), but that’d be one hell of a graduate course.
xv6 is material for undergraduate 6.1810, a gentle introduction to operating systems.