No description
Find a file
2019-08-20 20:39:36 +02:00
src pci ascii header 2019-08-20 20:39:36 +02:00
.gitignore first commit 2019-05-11 01:11:34 +02:00
build.zig refactor namespacing for readability 2019-08-18 23:47:37 +02:00
grub.sh multiboot is fixed but using multiboot v1 for now, should work fine, memory paging next 2019-06-25 22:35:52 +02:00
qemu.sh paging done 2019-08-15 21:15:10 +02:00
README.md paging done 2019-08-15 21:15:10 +02:00

hobby kernel in zig

slowly porting from rust.

features

  • vga frame buffer
  • ps2 keyboard driver
  • interrupts
  • terminal console
  • lspci

dependencies

zig compiler

compile

zig build compiles and links the multiboot kernel, without a bootloader.

test

./qemu.sh start
./qemu.sh monitor
./qemu.sh gdb

Notes

interrupts

interrupt -> idt[n] -> isrN -> isrDispatch -> handlers[n] (default unhandled())

layout

0->4Mib kernel reserved 1Mib interrupt stack