VirtualBox

Changeset 36490 in vbox for trunk/src/recompiler/exec.c


Ignore:
Timestamp:
Apr 1, 2011 12:16:47 PM (14 years ago)
Author:
vboxsync
Message:

rem: Use cpu_register_physical_memory_offset instead of cpu_register_physical_memory so we can specify region_offset to be the same the memory address. This avoids having to hack region_offset usage in exec.c.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/exec.c

    r36250 r36490  
    23312331           IO_MEM_ROMD uses these as a ram address.  */
    23322332        iotlb = (pd & ~TARGET_PAGE_MASK);
    2333 #ifndef VBOX
    23342333        if (p) {
    2335 #else
    2336         if (   p
    2337             && p->phys_offset
    2338             && (pd & ~TARGET_PAGE_MASK) != env->pVM->rem.s.iMMIOMemType
    2339             && (pd & ~TARGET_PAGE_MASK) != env->pVM->rem.s.iHandlerMemType) {
    2340 #endif
    23412334            iotlb += p->region_offset;
    23422335        } else {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette