Map PDE and PTE ranges for i686 non-paged pool
This commit is contained in:
@@ -13,5 +13,13 @@ XTAPI
|
|||||||
VOID
|
VOID
|
||||||
MM::Allocator::InitializeNonPagedPool(VOID)
|
MM::Allocator::InitializeNonPagedPool(VOID)
|
||||||
{
|
{
|
||||||
|
PMMMEMORY_LAYOUT MemoryLayout;
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
|
||||||
|
/* Retrieve memory layout */
|
||||||
|
MemoryLayout = MM::Manager::GetMemoryLayout();
|
||||||
|
|
||||||
|
/* Map PDE and PTE for the base of the non-paged pool */
|
||||||
|
MM::Pte::MapPDE(MemoryLayout->NonPagedPoolStart, (PCHAR)MemoryLayout->NonPagedPoolEnd - 1, MM::Pte::GetValidPte());
|
||||||
|
MM::Pte::MapPTE(MemoryLayout->NonPagedPoolStart, (PCHAR)MemoryLayout->NonPagedPoolEnd - 1, MM::Pte::GetValidPte());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user