Changeset 73436 in vbox for trunk/include
- Timestamp:
- Aug 1, 2018 4:25:13 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 124060
- Location:
- trunk/include/VBox/vmm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/cpum.h
r73389 r73436 1552 1552 1553 1553 /** 1554 * Tests i s if the guest has AMD SVM enabled or not.1554 * Tests if the guest has AMD SVM enabled or not. 1555 1555 * 1556 1556 * @returns true if SMV is enabled, otherwise false. … … 1562 1562 } 1563 1563 1564 /** 1565 * Tests if the guest has Intel VT-x enabled or not. 1566 * 1567 * @returns true if VMX is enabled, otherwise false. 1568 * @param pCtx Current CPU context. 1569 */ 1570 DECLINLINE(bool) CPUMIsGuestVmxEnabled(PCCPUMCTX pCtx) 1571 { 1572 return RT_BOOL(pCtx->cr4 & X86_CR4_VMXE); 1573 } 1564 1574 #ifndef IN_RC 1565 1575 -
trunk/include/VBox/vmm/cpumctx.h
r72880 r73436 536 536 RTHCPHYS HCPhysVmcb; 537 537 } svm; 538 #if 0 538 539 539 struct 540 540 { 541 /** 0x2e0 - Whether the guest is in VMX root mode. */ 542 uint32_t fInVmxRootMode : 1; 543 uint32_t afPadding : 31; 544 /** 0x2e4 - Guest physical address of the VMXON region. */ 545 RTGCPHYS GCPhysVmxon; 546 /** 0x2ec - Padding. */ 547 uint8_t abPadding[0x3f0 - 0x2ec]; 541 548 } vmx; 542 #endif543 549 } CPUM_UNION_NM(s); 544 550
Note:
See TracChangeset
for help on using the changeset viewer.