VirtualBox

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


Ignore:
Timestamp:
Feb 1, 2021 3:12:21 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142528
Message:

VMM/HMSVM: Moving more stuff to HMR0PERVCPU. bugref:9217

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

Legend:

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

    r87503 r87504  
    10181018    struct HMCPUSVM
    10191019    {
    1020         /** Whether VTPR with V_INTR_MASKING set is in effect, indicating
    1021          *  we should check if the VTPR changed on every VM-exit. */
    1022         bool                        fSyncVTpr;
    10231020        /** Whether to emulate long mode support for sysenter/sysexit like intel CPUs
    10241021         *  does.   This means intercepting \#UD to emulate the instructions in
     
    10261023         *  preserve the upper 32 bits written to them (AMD will ignore and discard). */
    10271024        bool                        fEmulateLongModeSysEnterExit;
    1028         uint8_t                     au8Alignment0[6];
    1029 
    1030         /** Host's TSC_AUX MSR (used when RDTSCP doesn't cause VM-exits). */
    1031         uint64_t                    u64HostTscAux;
     1025        uint8_t                     au8Alignment0[7];
    10321026
    10331027        /** Cache of the nested-guest's VMCB fields that we modify in order to run the
     
    13171311        R0PTRTYPE(void *)           pvMsrBitmap;
    13181312
     1313        /** Whether VTPR with V_INTR_MASKING set is in effect, indicating
     1314         *  we should check if the VTPR changed on every VM-exit. */
     1315        bool                        fSyncVTpr;
     1316        bool                        afAlignment[7];
     1317
     1318        /** Host's TSC_AUX MSR (used when RDTSCP doesn't cause VM-exits). */
     1319        uint64_t                    u64HostTscAux;
     1320
    13191321        /** For saving stack space, the disassembler state is allocated here
    13201322         * instead of on the stack. */
  • trunk/src/VBox/VMM/include/HMInternal.mac

    r87503 r87504  
    137137
    138138struc HMCPUSVM
    139     .fSyncVTpr                      resb    1
    140139    .fEmulateLongModeSysEnterExit   resb    1
    141140
    142141    alignb 8
    143     .u64HostTscAux                  resq    1
    144 
    145142    .NstGstVmcbCache                resb    40
    146143endstruc
     
    222219    .pvMsrBitmap                    RTR0PTR_RES  1
    223220
     221    .fSyncVTpr                      resb    1
     222
     223    alignb 8
     224    .u64HostTscAux                  resq    1
     225
     226    alignb 8
    224227    .DisState                       resb    0d8h
    225228endstruc
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