- Timestamp:
- Sep 26, 2018 2:28:55 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/cpum.mac
r74421 r74479 280 280 alignb 8 281 281 .hwvirt.svm.HCPhysVmcb RTHCPHYS_RES 1 282 .hwvirt.enmHwvirt resd 1 282 283 .hwvirt.fLocalForcedActions resd 1 283 284 .hwvirt.fGif resb 1 -
trunk/include/VBox/vmm/cpumctx.h
r74421 r74479 320 320 AssertCompileSizeAlignment(SVMHOSTSTATE, 8); 321 321 AssertCompileSize(SVMHOSTSTATE, 184); 322 #endif 323 324 325 /** 326 * CPU hardware virtualization types. 327 */ 328 typedef enum 329 { 330 CPUMHWVIRT_NONE = 0, 331 CPUMHWVIRT_VMX, 332 CPUMHWVIRT_SVM, 333 CPUMHWVIRT_32BIT_HACK = 0x7fffffff 334 } CPUMHWVIRT; 335 #ifndef VBOX_FOR_DTRACE_LIB 336 AssertCompileSize(CPUMHWVIRT, 4); 322 337 #endif 323 338 … … 624 639 } CPUM_UNION_NM(s); 625 640 626 /** 0x3f0 - A subset of guest force flags that are saved while running the 641 /** 0x3f0 - Hardware virtualization type currently in use. */ 642 CPUMHWVIRT enmHwvirt; 643 /** 0x3f4 - A subset of guest force flags that are saved while running the 627 644 * nested-guest. */ 628 645 uint32_t fLocalForcedActions; 629 /** 0x3f 4- Global interrupt flag - AMD only (always true on Intel). */646 /** 0x3f8 - Global interrupt flag - AMD only (always true on Intel). */ 630 647 bool fGif; 631 /** 0x3f 8- Padding. */632 uint8_t abPadding1[ 11];648 /** 0x3fc - Padding. */ 649 uint8_t abPadding1[7]; 633 650 } hwvirt; 634 651 /** @} */ … … 724 741 AssertCompileMemberAlignment(CPUMCTX, hwvirt.CPUM_UNION_NM(s.) vmx.pvVmwriteBitmapR0, 8); 725 742 AssertCompileMemberAlignment(CPUMCTX, hwvirt.CPUM_UNION_NM(s.) vmx.pAutoMsrAreaR0, 8); 726 AssertCompileMemberOffset(CPUMCTX, hwvirt.fLocalForcedActions, 0x3f0); 727 AssertCompileMemberOffset(CPUMCTX, hwvirt.fGif, 0x3f4); 743 AssertCompileMemberOffset(CPUMCTX, hwvirt.enmHwvirt, 0x3f0); 744 AssertCompileMemberOffset(CPUMCTX, hwvirt.fLocalForcedActions, 0x3f4); 745 AssertCompileMemberOffset(CPUMCTX, hwvirt.fGif, 0x3f8); 728 746 AssertCompileMembersAtSameOffset(CPUMCTX, CPUM_UNION_STRUCT_NM(g,qw.) rax, CPUMCTX, CPUM_UNION_NM(g.) aGRegs); 729 747 AssertCompileMembersAtSameOffset(CPUMCTX, CPUM_UNION_STRUCT_NM(g,qw.) rax, CPUMCTX, CPUM_UNION_STRUCT_NM(g,qw2.) r0); -
trunk/src/VBox/VMM/include/CPUMInternal.mac
r74421 r74479 253 253 alignb 8 254 254 .Guest.hwvirt.svm.HCPhysVmcb RTHCPHYS_RES 1 255 .Guest.hwvirt.enmHwvirt resd 1 255 256 .Guest.hwvirt.fLocalForcedActions resd 1 256 257 .Guest.hwvirt.fGif resb 1 … … 540 541 alignb 8 541 542 .Hyper.hwvirt.svm.HCPhysVmcb RTHCPHYS_RES 1 543 .Hyper.hwvirt.enmHwvirt resd 1 542 544 .Hyper.hwvirt.fLocalForcedActions resd 1 543 545 .Hyper.hwvirt.fGif resb 1 -
trunk/src/VBox/VMM/testcase/tstVMStruct.h
r74421 r74479 166 166 GEN_CHECK_OFF(CPUMCTX, hwvirt.vmx.pAutoMsrAreaR0); 167 167 GEN_CHECK_OFF(CPUMCTX, hwvirt.vmx.pAutoMsrAreaR3); 168 GEN_CHECK_OFF(CPUMCTX, hwvirt.enmHwvirt); 168 169 GEN_CHECK_OFF(CPUMCTX, hwvirt.fLocalForcedActions); 169 170 GEN_CHECK_OFF(CPUMCTX, hwvirt.fGif);
Note:
See TracChangeset
for help on using the changeset viewer.