- Timestamp:
- Mar 20, 2007 9:50:22 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/new/exec.c
r1182 r1587 1501 1501 start1 = start + (unsigned long)phys_ram_base; 1502 1502 #else 1503 start1 = (unsigned long)remR3GCPhys2HCVirt( env, start);1503 start1 = (unsigned long)remR3GCPhys2HCVirt(first_cpu, start); 1504 1504 #endif 1505 1505 for(env = first_cpu; env != NULL; env = env->next_cpu) { … … 1552 1552 tlb_entry->addend - (unsigned long)phys_ram_base; 1553 1553 #else 1554 ram_addr = remR3HCVirt2GCPhys( cpu_single_env, (tlb_entry->addr_write & TARGET_PAGE_MASK) + tlb_entry->addend); /** @todo check if this is right! */1554 ram_addr = remR3HCVirt2GCPhys(first_cpu, (tlb_entry->addr_write & TARGET_PAGE_MASK) + tlb_entry->addend); /** @todo check if this is right! */ 1555 1555 #endif 1556 1556 if (!cpu_physical_memory_is_dirty(ram_addr)) { … … 2016 2016 ram_addr = addr - (unsigned long)phys_ram_base; 2017 2017 #else 2018 ram_addr = remR3HCVirt2GCPhys( cpu_single_env, (void *)addr);2018 ram_addr = remR3HCVirt2GCPhys(first_cpu, (void *)addr); 2019 2019 #endif 2020 2020 #ifdef VBOX … … 2059 2059 ram_addr = addr - (unsigned long)phys_ram_base; 2060 2060 #else 2061 ram_addr = remR3HCVirt2GCPhys( cpu_single_env, (void *)addr);2061 ram_addr = remR3HCVirt2GCPhys(first_cpu, (void *)addr); 2062 2062 #endif 2063 2063 #ifdef VBOX … … 2102 2102 ram_addr = addr - (unsigned long)phys_ram_base; 2103 2103 #else 2104 ram_addr = remR3HCVirt2GCPhys( cpu_single_env, (void *)addr);2104 ram_addr = remR3HCVirt2GCPhys(first_cpu, (void *)addr); 2105 2105 #endif 2106 2106 #ifdef VBOX
Note:
See TracChangeset
for help on using the changeset viewer.