- Timestamp:
- Mar 4, 2009 12:24:58 PM (16 years ago)
- Location:
- trunk/src/recompiler_new
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler_new/cpu-all.h
r15284 r17342 272 272 #ifndef REM_PHYS_ADDR_IN_TLB 273 273 void *remR3TlbGCPhys2Ptr(CPUState *env1, target_ulong physAddr, int fWritable); 274 target_ulong remR3HCVirt2GCPhys(CPUState *env1, void *addr);275 274 #endif 276 275 -
trunk/src/recompiler_new/exec-all.h
r17274 r17342 380 380 # ifdef VBOX 381 381 target_ulong remR3PhysGetPhysicalAddressCode(CPUState *env, target_ulong addr, CPUTLBEntry *pTLBEntry, target_phys_addr_t ioTLBEntry); 382 # if !defined(REM_PHYS_ADDR_IN_TLB)383 target_ulong remR3HCVirt2GCPhys(CPUState *env1, void *addr);384 # endif385 382 # endif 386 383 /* NOTE: this function can trigger an exception */ … … 419 416 # elif defined(VBOX) 420 417 Assert(env1->phys_addends[mmu_idx][page_index] != -1); 421 /** @todo: nike: will remove this assert along with remR3HCVirt2GCPhys() soon */422 Assert(remR3HCVirt2GCPhys(env1, (void *)(uintptr_t)(addr + env1->tlb_table[mmu_idx][page_index].addend)) == addr + env1->phys_addends[mmu_idx][page_index]);423 418 return addr + env1->phys_addends[mmu_idx][page_index]; 424 419 # else -
trunk/src/recompiler_new/exec.c
r17274 r17342 2085 2085 Assert(phys_addend != -1); 2086 2086 ram_addr = (tlb_entry->addr_write & TARGET_PAGE_MASK) + phys_addend; 2087 2088 /** @todo: nike: will remove this assert along with remR3HCVirt2GCPhys() soon */2089 Assert(ram_addr == remR3HCVirt2GCPhys(first_cpu, (void*)((tlb_entry->addr_write & TARGET_PAGE_MASK) + tlb_entry->addend)));2090 2087 #endif 2091 2088 if (!cpu_physical_memory_is_dirty(ram_addr)) {
Note:
See TracChangeset
for help on using the changeset viewer.