VirtualBox

Ignore:
Timestamp:
May 24, 2012 2:47:09 PM (13 years ago)
Author:
vboxsync
Message:

REM,EM: A20 fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/target-i386/helper.c

    r37689 r41436  
    829829    }
    830830 do_mapping:
     831#ifndef VBOX
    831832    pte = pte & env->a20_mask;
     833#endif
    832834
    833835    /* Even if 4MB pages, we map only one 4KB page in the cache to
     
    835837    page_offset = (addr & TARGET_PAGE_MASK) & (page_size - 1);
    836838    paddr = (pte & TARGET_PAGE_MASK) + page_offset;
     839#ifdef VBOX
     840    paddr &= env->a20_mask;
     841#endif
    837842    vaddr = virt_addr + page_offset;
    838843
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