Steal one page of physical heap - this helps catch virt underflows.

This commit is contained in:
Ben Vanik 2014-06-22 21:09:33 -07:00
parent 7b98c748fa
commit 9905380bd0
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ int XenonMemory::Initialize() {
virtual_heap_->Initialize(
XENON_MEMORY_VIRTUAL_HEAP_LOW, XENON_MEMORY_VIRTUAL_HEAP_HIGH);
physical_heap_->Initialize(
XENON_MEMORY_PHYSICAL_HEAP_LOW, XENON_MEMORY_PHYSICAL_HEAP_HIGH);
XENON_MEMORY_PHYSICAL_HEAP_LOW, XENON_MEMORY_PHYSICAL_HEAP_HIGH - 0x1000);
// GPU writeback.
// 0xC... is physical, 0x7F... is virtual. We may need to overlay these.