Changeset 10492 in vbox for trunk/src/VBox/VMM/VMMAll/PDMAll.cpp
- Timestamp:
- Jul 11, 2008 8:14:13 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 33170
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PDMAll.cpp
r10202 r10492 188 188 189 189 /** 190 * Check if the APIC has a pending interrupt/if a TPR change would active one 191 * 192 * @returns Pending interrupt yes/no 193 * @param pDevIns Device instance of the APIC. 194 * @param pfPending Pending state (out) 195 */ 196 PDMDECL(int) PDMApicHasPendingIrq(PVM pVM, bool *pfPending) 197 { 198 if (pVM->pdm.s.Apic.CTXALLSUFF(pDevIns)) 199 { 200 Assert(pVM->pdm.s.Apic.CTXALLSUFF(pfnSetTPR)); 201 pdmLock(pVM); 202 *pfPending = pVM->pdm.s.Apic.CTXALLSUFF(pfnHasPendingIrq)(pVM->pdm.s.Apic.CTXALLSUFF(pDevIns)); 203 pdmUnlock(pVM); 204 return VINF_SUCCESS; 205 } 206 return VERR_PDM_NO_APIC_INSTANCE; 207 } 208 209 /** 190 210 * Set the TPR (task priority register?). 191 211 *
Note:
See TracChangeset
for help on using the changeset viewer.