Implement PFN database initialization and memory descriptor processing

This commit is contained in:
2025-12-28 23:25:07 +01:00
parent 4593a89a9b
commit 0880a0f344
12 changed files with 841 additions and 0 deletions

View File

@@ -104,6 +104,21 @@ MM::Pte::GetPtesPerPage(VOID)
return MM_PAGE_SIZE / MM::Paging::GetPteSize();
}
/**
* Returns a pointer to the valid PTE.
*
* @return This routine returns a pointer to the valid PTE.
*
* @since XT 1.0
*/
XTAPI
PMMPTE
MM::Pte::GetValidPte()
{
/* Return a pointer to the valid PTE */
return &ValidPte;
}
/**
* Formats a range of PTEs into a freelist-based pool for system allocations.
*