VirtualBox

Changeset 8040 in vbox


Ignore:
Timestamp:
Apr 16, 2008 1:33:20 PM (17 years ago)
Author:
vboxsync
Message:

Missing relocations

File:
1 edited

Legend:

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

    r7996 r8040  
    15861586    /** @todo move this into shadow and guest specific relocation functions. */
    15871587    AssertMsg(pVM->pgm.s.pGC32BitPD, ("Init order, no relocation before paging is initialized!\n"));
    1588     pVM->pgm.s.pGC32BitPD += offDelta;
    1589     pVM->pgm.s.pGuestPDGC += offDelta;
     1588    pVM->pgm.s.pGC32BitPD    += offDelta;
     1589    pVM->pgm.s.pGuestPDGC    += offDelta;
     1590    AssertCompile(ELEMENTS(pVM->pgm.s.apGCPaePDs) == ELEMENTS(pVM->pgm.s.apGstPaePDsGC));
    15901591    for (unsigned i = 0; i < ELEMENTS(pVM->pgm.s.apGCPaePDs); i++)
    1591         pVM->pgm.s.apGCPaePDs[i] += offDelta;
    1592     pVM->pgm.s.pGCPaePDPT += offDelta;
    1593     pVM->pgm.s.pGCPaePML4 += offDelta;
     1592    {
     1593        pVM->pgm.s.apGCPaePDs[i]    += offDelta;
     1594        pVM->pgm.s.apGstPaePDsGC[i] += offDelta;
     1595    }
     1596    pVM->pgm.s.pGstPaePDPTGC += offDelta;
     1597    pVM->pgm.s.pGCPaePDPT    += offDelta;
     1598    pVM->pgm.s.pGCPaePML4    += offDelta;
    15941599
    15951600    pgmR3ModeDataInit(pVM, true /* resolve GC/R0 symbols */);
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