VirtualBox

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


Ignore:
Timestamp:
Feb 1, 2021 2:38:38 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142527
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

    r87502 r87503  
    10181018    struct HMCPUSVM
    10191019    {
    1020         /** Physical address of the host VMCB which holds additional host-state. */
    1021         RTHCPHYS                    HCPhysVmcbHost;
    1022         /** R0 memory object for the host VMCB which holds additional host-state. */
    1023         RTR0MEMOBJ                  hMemObjVmcbHost;
    1024         /** Padding.
    1025          * @todo remove, pointless now  */
    1026         R0PTRTYPE(void *)           pvPadding;
    1027 
    1028         /** Physical address of the guest VMCB. */
    1029         RTHCPHYS                    HCPhysVmcb;
    1030         /** R0 memory object for the guest VMCB. */
    1031         RTR0MEMOBJ                  hMemObjVmcb;
    1032         /** Pointer to the guest VMCB. */
    1033         R0PTRTYPE(PSVMVMCB)         pVmcb;
    1034 
    1035         /** Physical address of the MSR bitmap (8 KB). */
    1036         RTHCPHYS                    HCPhysMsrBitmap;
    1037         /** R0 memory object for the MSR bitmap (8 KB). */
    1038         RTR0MEMOBJ                  hMemObjMsrBitmap;
    1039         /** Pointer to the MSR bitmap. */
    1040         R0PTRTYPE(void *)           pvMsrBitmap;
    1041 
    10421020        /** Whether VTPR with V_INTR_MASKING set is in effect, indicating
    10431021         *  we should check if the VTPR changed on every VM-exit. */
     
    13201298        PFNHMSVMVMRUN               pfnVMRun;
    13211299
     1300        /** Physical address of the host VMCB which holds additional host-state. */
     1301        RTHCPHYS                    HCPhysVmcbHost;
     1302        /** R0 memory object for the host VMCB which holds additional host-state. */
     1303        RTR0MEMOBJ                  hMemObjVmcbHost;
     1304
     1305        /** Physical address of the guest VMCB. */
     1306        RTHCPHYS                    HCPhysVmcb;
     1307        /** R0 memory object for the guest VMCB. */
     1308        RTR0MEMOBJ                  hMemObjVmcb;
     1309        /** Pointer to the guest VMCB. */
     1310        R0PTRTYPE(PSVMVMCB)         pVmcb;
     1311
     1312        /** Physical address of the MSR bitmap (8 KB). */
     1313        RTHCPHYS                    HCPhysMsrBitmap;
     1314        /** R0 memory object for the MSR bitmap (8 KB). */
     1315        RTR0MEMOBJ                  hMemObjMsrBitmap;
     1316        /** Pointer to the MSR bitmap. */
     1317        R0PTRTYPE(void *)           pvMsrBitmap;
     1318
    13221319        /** For saving stack space, the disassembler state is allocated here
    13231320         * instead of on the stack. */
  • trunk/src/VBox/VMM/include/HMInternal.mac

    r87502 r87503  
    137137
    138138struc HMCPUSVM
    139     .HCPhysVmcbHost                 RTHCPHYS_RES 1
    140 
    141     .hMemObjVmcbHost                RTR0PTR_RES  1
    142     .pvPadding                      RTR0PTR_RES  1 ; pointless padding
    143 
    144     .HCPhysVmcb                     RTHCPHYS_RES 1
    145     .hMemObjVmcb                    RTR0PTR_RES  1
    146     .pVmcb                          RTR0PTR_RES  1
    147 
    148     .HCPhysMsrBitmap                RTHCPHYS_RES 1
    149     .hMemObjMsrBitmap               RTR0PTR_RES  1
    150     .pvMsrBitmap                    RTR0PTR_RES  1
    151 
    152139    .fSyncVTpr                      resb    1
    153140    .fEmulateLongModeSysEnterExit   resb    1
     
    219206    .pfnVMRun                       RTR0PTR_RES  1
    220207
     208    alignb 8
     209    .HCPhysVmcbHost                 RTHCPHYS_RES 1
     210
     211    alignb 8
     212    .hMemObjVmcbHost                RTR0PTR_RES  1
     213
     214    alignb 8
     215    .HCPhysVmcb                     RTHCPHYS_RES 1
     216    .hMemObjVmcb                    RTR0PTR_RES  1
     217    .pVmcb                          RTR0PTR_RES  1
     218
     219    alignb 8
     220    .HCPhysMsrBitmap                RTHCPHYS_RES 1
     221    .hMemObjMsrBitmap               RTR0PTR_RES  1
     222    .pvMsrBitmap                    RTR0PTR_RES  1
     223
    221224    .DisState                       resb    0d8h
    222225endstruc
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