summaryrefslogtreecommitdiff
path: root/src/kernel/mem.h
AgeCommit message (Collapse)Author
2021-08-11abstract out iterating over virtual memorydzwdz
most syscalls will have to do this to copy memory around or whatever. it's pretty ugly too, but i can't come up with a better abstraction...
2021-07-31kmalloc() and kfree() stubsdzwdz
2021-07-17detect the highest used memory address, and only allocate pages above itdzwdz
2021-07-10a sensible source structuredzwdz
The idea is that src/kernel/ is only allowed to interface with the hardware using whatever's defined in src/arch/generic.h. I'll probably write a small script for checking this later on. This is a giant commit so I've probably fucked something up. It boots fine on Bochs and QEMU, so at least there's that.
2021-07-10separate the source code from object files; more modular Makefiledzwdz