Changeset 10661 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Jul 15, 2008 2:21:04 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 33371
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/EMAll.cpp
r10473 r10661 1726 1726 { 1727 1727 val64 = 0; 1728 rc = PDMApicGetTPR(pVM, (uint8_t *)&val64 );1728 rc = PDMApicGetTPR(pVM, (uint8_t *)&val64, NULL); 1729 1729 AssertMsgRCReturn(rc, ("PDMApicGetTPR failed\n"), VERR_EM_INTERPRETER); 1730 1730 } -
trunk/src/VBox/VMM/VMMAll/PDMAll.cpp
r10520 r10661 230 230 231 231 /** 232 * Get the TPR (task priority register ?).232 * Get the TPR (task priority register). 233 233 * 234 234 * @returns The current TPR. 235 235 * @param pVM VM handle. 236 236 * @param pu8TPR Where to store the TRP. 237 */ 238 PDMDECL(int) PDMApicGetTPR(PVM pVM, uint8_t *pu8TPR) 237 * @param pfPending Pending interrupt state (out). 238 */ 239 PDMDECL(int) PDMApicGetTPR(PVM pVM, uint8_t *pu8TPR, bool *pfPending) 239 240 { 240 241 if (pVM->pdm.s.Apic.CTXALLSUFF(pDevIns)) … … 243 244 pdmLock(pVM); 244 245 *pu8TPR = pVM->pdm.s.Apic.CTXALLSUFF(pfnGetTPR)(pVM->pdm.s.Apic.CTXALLSUFF(pDevIns)); 246 if (pfPending) 247 *pfPending = pVM->pdm.s.Apic.CTXALLSUFF(pfnHasPendingIrq)(pVM->pdm.s.Apic.CTXALLSUFF(pDevIns)); 245 248 pdmUnlock(pVM); 246 249 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.