This project hosts an x86 kernel running with grub and a partial human readable implementation of the C++ Standard Library.
build-essential
bison
flex
libgmp3-dev
libmpc-dev
libmpfr-dev
texinfo
qemu-system-x86
You can use the command make
to install all the required dependencies
on WSL and Debian/Ubuntu.
Run make build
. The kernel can be debugged using gdb on localhost:1234.
Run make start
, the kernel will start inside a qemu-i386 emulator.
The kernel uses the information provided by Grub via the multiboot header to manage memory. Each chunk of memory contains a descriptive struct and acts like an element of a linked list.
The kernel uses the VGA output in text mode.