VirtualBox

Changeset 73200 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Jul 18, 2018 12:20:09 PM (7 years ago)
Author:
vboxsync
Message:

PGM: Working on eliminating PGMMODEDATA and the corresponding PGMCPU section so we can do mode switching in ring-0. This first part deals with guest mode specific pointers. bugref:9044 [fix]

File:
1 edited

Legend:

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

    r73199 r73200  
    14901490{
    14911491    VMCPU_ASSERT_EMT(pVCpu);
    1492     intptr_t idx = pVCpu->pgm.s.idxGuestModeData;
     1492    uintptr_t idx = pVCpu->pgm.s.idxGuestModeData;
    14931493    AssertReturn(idx < RT_ELEMENTS(g_aPgmGuestModeData), VERR_PGM_MODE_IPE);
    14941494    AssertReturn(g_aPgmGuestModeData[idx].pfnGetPage, VERR_PGM_MODE_IPE);
     
    17431743     * Call worker.
    17441744     */
    1745     intptr_t idx = pVCpu->pgm.s.idxGuestModeData;
     1745    uintptr_t idx = pVCpu->pgm.s.idxGuestModeData;
    17461746    AssertReturn(idx < RT_ELEMENTS(g_aPgmGuestModeData), VERR_PGM_MODE_IPE);
    17471747    AssertReturn(g_aPgmGuestModeData[idx].pfnModifyPage, VERR_PGM_MODE_IPE);
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