forked from xt-sys/exectos
Implement PFN database initialization and memory descriptor processing
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user