Ticket #8345: Haiku_8345_Ticket.patch
File Haiku_8345_Ticket.patch, 619 bytes (added by , 12 years ago) |
---|
-
X86VMTranslationMapPAE.cpp
old new 223 223 pae_page_table_entry* pageTable 224 224 = (pae_page_table_entry*)fPageMapper->GetPageTableAt( 225 225 *pageDirEntry & X86_PAE_PDE_ADDRESS_MASK); 226 pae_page_table_entry* entry = pageTable 227 + virtualAddress / B_PAGE_SIZE % kPAEPageTableEntryCount; 226 pae_page_table_entry* entry = pageTable[virtualAddress / B_PAGE_SIZE % kPAEPageTableEntryCount]; 228 227 229 228 ASSERT_PRINT((*entry & X86_PAE_PTE_PRESENT) == 0, 230 229 "virtual address: %#" B_PRIxADDR ", existing pte: %#" B_PRIx64,