asinha94 / asos

My x86-32 hobby Operating System!
0 stars 0 forks source link

Test VMM and PMM system #29

Open asinha94 opened 2 years ago

asinha94 commented 2 years ago

Paging is enabled now and we have a very simplistic VMM and PMM. PMM just gives us "permission" (from the kernel only) to use a page that has been allocated. The VMM manages the page directories and tables and is responsible for giving out memory (to the kernel and userspace). This compiles but has not actually been testing on anything. One thing we should try this on is a lot of the structures that are used by some of the drivers, like the keyboard driver.

asinha94 commented 2 years ago

Basics of PMM and VMM are in place and have been tested. To improve on the memory system there is a bit more work we need to do, such as grab a (contiguous) range of PMEM pages, implement page tables (we only have page directories currently)

asinha94 commented 2 years ago

Decided against grabbing contiguous physical pages, we always grab whatever page we can and maybe place them contiguously in vmem.