VirtualBox

Changeset 8126 in vbox for trunk


Ignore:
Timestamp:
Apr 18, 2008 8:55:12 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
29829
Message:

fix relocation for 32-bit (host) to PAE mode (guest)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMM.cpp

    r7927 r8126  
    10021002                uint32_t offTrg = *u.pu32++;
    10031003                Assert(offTrg - pSwitcher->offIDCode0 < pSwitcher->cbIDCode0 || offTrg - pSwitcher->offIDCode1 < pSwitcher->cbIDCode1);
    1004                 *uSrc.pu32 = (uint32_t)((u32IDCode + offTrg) - (uSrc.u + 4));
     1004                *uSrc.pu32 = (uint32_t)((u32IDCode + offTrg) - ((uintptr_t)pu8CodeR0 + offSrc + 4));
    10051005                break;
    10061006            }
Note: See TracChangeset for help on using the changeset viewer.

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