Attempt to write x86 kernel in C++ based on vlog Write your own Operating System.
Aim of this project is to learn from first hand how kernel works in order to build a microkernel in Rust for other architectures.
To build the mykernel.bin file you need gcc (i386).
make
To run the kernel you can use QEMU.
make qemu
To debug the kernel simply type:
make debug
This will launch and halt kernel image in the QEMU until gdb connects to the localhost:1234 target. It also sets temporary breakpoint to kernelMain as the entry point to the kernel and runs to this breakpoint.
- Hello world
- Memory management (GDT)
- Ports
- Interrupts
- Keyboard
- Mouse
- PCIe