Oops (Chihiro again)

This commit is contained in:
ergo720 2017-12-19 16:21:20 +01:00
parent ad47a2902b
commit ac7f933069
1 changed files with 2 additions and 3 deletions

View File

@ -240,9 +240,8 @@ void VMManager::InitializeChihiro()
upper_mem_vma.type = VMAType::Allocated;
upper_mem_vma.permissions = PAGE_EXECUTE_READWRITE;
upper_mem_vma.backing_block = AllocatePhysicalMemoryRange(48 * PAGE_SIZE, m_MaxContiguousAddress, CHIHIRO_MEMORY_SIZE);
MergeAdjacentVMA(upper_mem_vma_handle);
UpdatePageTableForVMA(upper_mem_vma);
m_ImageMemoryInUse += 16 * PAGE_SIZE;
m_ImageMemoryInUse += 48 * PAGE_SIZE;
// Map the contiguous memory
UnmapRange(CONTIGUOUS_MEMORY_BASE);