Engineering notes
From boot to user mode
GRUB loads the kernel. The entry point builds a stack before handing control from assembly to C. From there the kernel sets up page tables, interrupt handlers, a timer and a serial console.
Give processes a boundary
The kernel reads ELF programs from an initial RAM filesystem and gives each its own page directory. A round-robin scheduler moves between tasks and a small system-call interface handles writes, clock ticks and exit.
Verify the failure path
A deliberately faulting user program exercises exception handling. The headless v86 test reads the serial console to verify that the kernel terminates the task and remains responsive. The serial log makes boot and failure behaviour repeatable to inspect.
