git.cappig.dev / apheleiaOS.git master

303a6052b1082f7e9ad85767b16b95f3d96a8d87 master
cappig <[email protected]> ยท 2 years ago
Add kernel heap and tty

* The kernel can now make dynamic allocations via the kmalloc api
* The kernel tty can print stuff to vesa and vga
* Some other small stuff
18 files changed, 247 insertions, 53 deletions
boot/bios/main.c +1 -1
boot/bios/vesa.c +1 -1
boot/bios/vesa.h +1 -1
kernel/main.c +14 -2
kernel/mem/heap.c created
kernel/mem/heap.h created
kernel/mem/physical.c +13 -1
kernel/mem/virtual.c +17 -9
kernel/mem/virtual.h +3 -1
kernel/video/tty.c +15 -8
kernel/video/tty.h +8 -0
libs/alloc/bitmap.c +37 -5
libs/alloc/bitmap.h +4 -2
libs/boot/proto.h +4 -14
libs/gfx/state.h +4 -6
libs/libc/string.c +15 -0
libs/libc/string.h +2 -2
libs/term/term.c +6 -0