summaryrefslogtreecommitdiff
path: root/arch/i386/kernel/pmem.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* arch: i386: pmem: refactor the physical memory managerDanny Holman2024-06-211-38/+27
| | | | | | | Refactor the physical memory manager to be more efficient and require fewer function calls from layers above. Signed-off-by: Danny Holman <dholman@gymli.org>
* arch: i386: fix several bugs in paging subsystemDanny Holman2024-05-291-1/+1
| | | | | | | | | Fix several triple-faulting bugs in the paging initialization routines. These include causing a page fault during physical memory manager initialization, causing a page fault during paging initialization and other double-faulting and triple-faulting bugs. Signed-off-by: Danny Holman <dholman@gymli.org>
* arch: i386: pmem: refactor the physical MMDanny Holman2024-05-271-53/+38
| | | | | | | | Refactor the physical memory manager to be dramatically simpler. The new design uses only a single freelist, and only uses temporary mappings where needed. Signed-off-by: Danny Holman <dholman@gymli.org>
* arch: i386: kernel: add mostly finished PFA and paging systemDanny Holman2024-03-281-0/+71
Add the mostly finished physical memory allocator and expose its functions to the paging system. Signed-off-by: Danny Holman <dholman@gymli.org>