Changeset 74479 in vbox for trunk/include/VBox
- Timestamp:
- Sep 26, 2018 2:28:55 PM (6 years ago)
- Location:
- trunk/include/VBox/vmm
- Files:
-
- 2 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);
Note:
See TracChangeset
for help on using the changeset viewer.