Changeset 61045 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 19, 2016 12:44:39 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 107310
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/APICInternal.h
r61041 r61045 46 46 47 47 /** Whether the APIC is in X2APIC mode or not. */ 48 #define XAPIC_IN_X2APIC_MODE(a_pVCpu) RT_BOOL((((a_pVCpu)->apic.s.uApicBaseMsr) & (MSR_APICBASE_XAPIC_ENABLE_BIT | MSR_APICBASE_X2APIC_ENABLE_BIT)) \ 49 == (MSR_APICBASE_XAPIC_ENABLE_BIT | MSR_APICBASE_X2APIC_ENABLE_BIT)) 48 #define XAPIC_IN_X2APIC_MODE(a_pVCpu) ( ( ((a_pVCpu)->apic.s.uApicBaseMsr) \ 49 & (MSR_APICBASE_XAPIC_ENABLE_BIT | MSR_APICBASE_X2APIC_ENABLE_BIT)) \ 50 == (MSR_APICBASE_XAPIC_ENABLE_BIT | MSR_APICBASE_X2APIC_ENABLE_BIT) ) 50 51 /** Get an xAPIC page offset for an x2APIC MSR value. */ 51 52 #define X2APIC_GET_XAPIC_OFF(a_uMsr) ((((a_uMsr) - MSR_IA32_X2APIC_START) << 4) & UINT32_C(0xff0))
Note:
See TracChangeset
for help on using the changeset viewer.