aenachescu / PhiOS

GNU General Public License v3.0
6 stars 1 forks source link

Remove the array of pointers from the paging structures #69

Closed aenachescu closed 7 years ago

aenachescu commented 7 years ago

The array of pointers should removed from paging structures (like IA32_PageDirectory_4KB, PAE_PageDirectory_4KB etc) because occupies more memory and it's possible to implement paging without that array of pointers, having a standard memory area where to build dynamically the paging structure. For example in ia32 paging:

Another option would be to begin from 4KB and to be used the next 4MB and 4KB. So:

This area of virtual memory will be reserved and will be allocated by the kernel when needed more page tables.

aenachescu commented 7 years ago

See memory docs for more details.