Oops (Chihiro again)
This commit is contained in:
parent
ad47a2902b
commit
ac7f933069
|
@ -240,9 +240,8 @@ void VMManager::InitializeChihiro()
|
||||||
upper_mem_vma.type = VMAType::Allocated;
|
upper_mem_vma.type = VMAType::Allocated;
|
||||||
upper_mem_vma.permissions = PAGE_EXECUTE_READWRITE;
|
upper_mem_vma.permissions = PAGE_EXECUTE_READWRITE;
|
||||||
upper_mem_vma.backing_block = AllocatePhysicalMemoryRange(48 * PAGE_SIZE, m_MaxContiguousAddress, CHIHIRO_MEMORY_SIZE);
|
upper_mem_vma.backing_block = AllocatePhysicalMemoryRange(48 * PAGE_SIZE, m_MaxContiguousAddress, CHIHIRO_MEMORY_SIZE);
|
||||||
MergeAdjacentVMA(upper_mem_vma_handle);
|
|
||||||
UpdatePageTableForVMA(upper_mem_vma);
|
UpdatePageTableForVMA(upper_mem_vma);
|
||||||
m_ImageMemoryInUse += 16 * PAGE_SIZE;
|
m_ImageMemoryInUse += 48 * PAGE_SIZE;
|
||||||
|
|
||||||
// Map the contiguous memory
|
// Map the contiguous memory
|
||||||
UnmapRange(CONTIGUOUS_MEMORY_BASE);
|
UnmapRange(CONTIGUOUS_MEMORY_BASE);
|
||||||
|
|
Loading…
Reference in New Issue