Changeset 19995 in vbox
- Timestamp:
- May 25, 2009 12:31:34 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
include/VBox/pdmapi.h (modified) (1 diff)
-
src/VBox/VMM/VMMAll/PDMAll.cpp (modified) (1 diff)
-
src/VBox/VMM/VMMR0/HWVMXR0.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pdmapi.h
r19682 r19995 46 46 VMMDECL(int) PDMIsaSetIrq(PVM pVM, uint8_t u8Irq, uint8_t u8Level); 47 47 VMMDECL(int) PDMIoApicSetIrq(PVM pVM, uint8_t u8Irq, uint8_t u8Level); 48 VMMDECL(bool) PDMHasIoApic(PVM pVM); 48 49 VMMDECL(int) PDMApicHasPendingIrq(PVM pVM, bool *pfPending); 49 50 VMMDECL(int) PDMApicSetBase(PVM pVM, uint64_t u64Base); -
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.

