VirtualBox

Changeset 91271 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Sep 16, 2021 7:42:37 AM (3 years ago)
Author:
vboxsync
Message:

VMM: bugref:10092 Moved the PAE PDPTEs out of PGM into CPUMCTX.

Location:
trunk/src/VBox/VMM/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/CPUMInternal.h

    r91266 r91271  
    115115 * @{ */
    116116/** The current saved state version. */
    117 #define CPUM_SAVED_STATE_VERSION                CPUM_SAVED_STATE_VERSION_HWVIRT_VMX_2
     117#define CPUM_SAVED_STATE_VERSION                CPUM_SAVED_STATE_VERSION_PAE_PDPES
     118/** The saved state version with PAE PDPEs added. */
     119#define CPUM_SAVED_STATE_VERSION_PAE_PDPES      21
    118120/** The saved state version with more virtual VMCS fields and CPUMCTX VMX fields. */
    119121#define CPUM_SAVED_STATE_VERSION_HWVIRT_VMX_2   20
  • trunk/src/VBox/VMM/include/CPUMInternal.mac

    r91266 r91271  
    224224    alignb 8
    225225    .Guest.fExtrn             resq    1
     226    .Guest.aPaePdpes          resq    4
    226227    alignb 8
    227228    .Guest.hwvirt.svm.uMsrHSavePa            resq         1
  • trunk/src/VBox/VMM/include/PGMInternal.h

    r91250 r91271  
    35543554    /** The physical addresses of the guest page directories (PAE) pointed to by apGstPagePDsHC/GC. */
    35553555    RTGCPHYS                        aGCPhysGstPaePDs[4];
    3556     /** The values of the 4 PDPE CPU registers (PAE).
    3557      * @todo Not really maintained by PGM atm, only by VT-x in EPT mode. Should
    3558      *       load on cr3 load and use instead of guest memory version like real
    3559      *       HW.  We probably should move these to the CPUMCTX and treat them
    3560      *       like the rest of the register wrt exporting to VT-x and import back. */
    3561     X86PDPE                         aGstPaePdpeRegs[4];
    35623556    /** The physical addresses of the monitored guest page directories (PAE). */
    35633557    RTGCPHYS                        aGCPhysGstPaePDsMonitored[4];
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