- Timestamp:
- Apr 13, 2016 2:51:05 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/APICAll.cpp
r60476 r60477 749 749 return RT_BOOL(u8Ldr & fDest & XAPIC_LDR_FLAT_LOGICAL_ID); 750 750 } 751 else 752 { 753 /* 754 * In clustered logical mode, the 8-bit logical ID in the LDR is interpreted as follows: 755 * - High 4 bits is the cluster ID. 756 * - Low 4 bits: each bit represents a unique APIC within the cluster. 757 */ 758 Assert(enmDestFormat == XAPICDESTFORMAT_CLUSTER); 759 uint8_t const u8Ldr = pXApicPage->ldr.u.u8LogicalApicId; 760 if (XAPIC_LDR_CLUSTERED_GET_CLUSTER_ID(u8Ldr) == (fDest & XAPIC_LDR_CLUSTERED_CLUSTER_ID)) 761 return RT_BOOL(u8Ldr & fDest & XAPIC_LDR_CLUSTERED_LOGICAL_ID); 762 return false; 763 } 751 752 /* 753 * In clustered logical mode, the 8-bit logical ID in the LDR is interpreted as follows: 754 * - High 4 bits is the cluster ID. 755 * - Low 4 bits: each bit represents a unique APIC within the cluster. 756 */ 757 Assert(enmDestFormat == XAPICDESTFORMAT_CLUSTER); 758 uint8_t const u8Ldr = pXApicPage->ldr.u.u8LogicalApicId; 759 if (XAPIC_LDR_CLUSTERED_GET_CLUSTER_ID(u8Ldr) == (fDest & XAPIC_LDR_CLUSTERED_CLUSTER_ID)) 760 return RT_BOOL(u8Ldr & fDest & XAPIC_LDR_CLUSTERED_LOGICAL_ID); 761 return false; 764 762 #else 765 763 # error "Implement Pentium and P6 family APIC architectures"
Note:
See TracChangeset
for help on using the changeset viewer.