Protect page 0 with no access

This commit is contained in:
Dr. Chat 2015-06-04 16:21:38 -05:00
parent 88672eff4f
commit abacf136a0
1 changed files with 1 additions and 2 deletions

View File

@ -179,8 +179,7 @@ int Memory::Initialize() {
heaps_.v00000000.AllocFixed(
0x00000000, 4096, 4096,
kMemoryAllocationReserve | kMemoryAllocationCommit,
// 0u);
kMemoryProtectRead | kMemoryProtectWrite);
kMemoryProtectNoAccess);
// GPU writeback.
// 0xC... is physical, 0x7F... is virtual. We may need to overlay these.