rtfb / riscv-hobby-os

Other
27 stars 5 forks source link

Add paged memory allocations #58

Closed rtfb closed 2 years ago

rtfb commented 2 years ago

Break all the memory above stack into pages and keep track of them. The page table is fixed at 32 pages for now, as we're severely limited by the small HiFive1 RAM size. This should not be a problem for quite a long time, not until we try to run some actual userland programs.