summaryrefslogtreecommitdiff
path: root/kernel/mem.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-03-28arch: i386: kernel: add mostly finished PFA and paging systemDanny Holman1-15/+0
Add the mostly finished physical memory allocator and expose its functions to the paging system. Signed-off-by: Danny Holman <dholman@gymli.org>
2024-02-16kernel: mem: kmalloc should not call page allocationDanny Holman1-13/+5
Strip the code calling for the memory manager to allocate pages to kmalloc. The function should just return a raw pointer while a page fault will allocate the required memory. Signed-off-by: Danny Holman <dholman@gymli.org>
2023-11-26kernel: mem: add a simple kmalloc implementationDanny Holman1-0/+23
Add a simple implementation of kmalloc. This system only works on x86-based processors at the time of commit. Signed-off-by: Danny Holman <dholman@gymli.org>