foros
Tiny kernel (educational project)
Build instructions
Prerequisites
make
gcc
orclang
nasm
ld
grub-mkrescue
/xorriso
qemu
Building
Build:
> make
Run:
> make run
Debug:
> make P=debug run
Features
- Boot
- Stack setup
- CPU capabilities checks
- Page table setup (using recursive mapping)
- GDT setup
- Switch to long mode
- VGA text buffer abstraction
- IDT setup and interrupts handling
- Remapping of the 8259 PIC and activation of maskable interrupts
- Physical memory allocation
- Virtual-to-physical memory mapping
- Kernel heap
- Basic keyboard abstraction (scan codes to key events to characters)