About the project
frostbyte is an operating system kernel for the x86_64 architecture, written from scratch in C and assembly and run in the QEMU emulator. It boots via Multiboot2, the standard protocol a bootloader uses to hand control to a kernel, then switches to 64-bit mode with its own page tables (the structures that map memory addresses). It has a preemptive scheduler, which switches the processor between tasks on its own, and runs programs in ring 3, the least privileged processor mode.
The challenge
An operating system kernel written from scratch is a project that forgives nothing: one wrong bit in a page table and the machine simply resets, with no message. The goal was to get all the way from the bootloader to running programs in user mode.
