How the OS sees the memory after paging is enabled?
I mean... if I've my OS loaded at 0x0000, and then I enable paging, do i have to reserve some pages in the page table, so that the page where is my kernel won't be override?
Also, how does memory access work after paging has been enabled? I ask this because on the intel manuals it reads:
So... paging only works for programs/tasks? Or all access by the OS go throu the MMU as well?When paging is used, the processor divides the linear address space into fixed-size pages (of 4 KBytes, 2 MBytes, or 4 MBytes in length) that can be mapped into physical
memory and/or disk storage. When a program (or task) references a logical address in memory, the processor translates the address into a linear address and then uses its paging mechanism to translate the linear address into a corresponding physical address.