Is this page directory and page tables well-formed?
Posted: Mon Oct 23, 2017 3:13 pm
I'm currently debugging my algorithms to implement paging, and to do so I've used my functions to generate a plain-text identity-mapped set of pages to identity-map the whole 4GB space.
I need to know if the generated assembly for the pages is error free:
static_identity_mapped_paging_tables.asm
Can you tell me if I've actually built paging structures for identity mapping the full 32-bit 4GB address space with this code?
Page directory entry flags:
I need to know if the generated assembly for the pages is error free:
static_identity_mapped_paging_tables.asm
Can you tell me if I've actually built paging structures for identity mapping the full 32-bit 4GB address space with this code?
Code: Select all
Page directory == Notebook binding which can hold up to 1024 paper pages.
Page table == One page table is 1 paper page that in a line,
has written down where is physically located
a 4096-byte block of space. Each paper page
that points to pages with actual 4096 bytes of content
can hold up to 1024 lines.
Page directory entry flags:
Code: Select all
; -
_FLAG_x86_32_pageDirectoryEntry_Bit0_Present_TRUE 00000001b
_FLAG_x86_32_pageDirectoryEntry_Bit0_Present_FALSE 00000000b
; -
; -
_FLAG_x86_32_pageDirectoryEntry_Bit1_ReadWrite 00000010b
_FLAG_x86_32_pageDirectoryEntry_Bit1_ReadOnly 00000000b
; -
; -
_FLAG_x86_32_pageDirectoryEntry_Bit2_SupervisorLevel 00000000b
_FLAG_x86_32_pageDirectoryEntry_Bit2_UserLevel 00000100b
; -