Changeset 19995 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 25, 2009 12:31:34 PM (16 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PDMAll.cpp
r19785 r19995 147 147 148 148 /** 149 * Returns presence of an IO-APIC 150 * 151 * @returns VBox true if IO-APIC is present 152 * @param pVM VM handle. 153 */ 154 VMMDECL(bool) PDMHasIoApic(PVM pVM) 155 { 156 return pVM->pdm.s.IoApic.CTX_SUFF(pDevIns) != NULL; 157 } 158 159 160 /** 149 161 * Set the APIC base. 150 162 * -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r19993 r19995 2163 2163 * @todo reduce overhead 2164 2164 */ 2165 if ( CPUMIsGuestInLongModeEx(pCtx)2165 if ( PDMHasIoApic(pVM) 2166 2166 && pVM->hwaccm.s.vmx.pAPIC) 2167 2167 { … … 3424 3424 RTGCPHYS GCPhys; 3425 3425 PDMApicGetBase(pVM, &GCPhys); 3426 GCPhys &= PAGE_BASE_GC_MASK; 3426 3427 GCPhys += VMX_EXIT_QUALIFICATION_APIC_ACCESS_OFFSET(exitQualification); 3427 3428
Note:
See TracChangeset
for help on using the changeset viewer.