VirtualBox

Changeset 45965 in vbox for trunk/include/VBox


Ignore:
Timestamp:
May 9, 2013 3:32:14 PM (12 years ago)
Author:
vboxsync
Message:

VMM: Facility for getting the highest-priority pending interrupt from the APIC device.

Location:
trunk/include/VBox/vmm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmapi.h

    r45024 r45965  
    5050VMMDECL(int)            PDMApicGetBase(PVMCPU pVCpu, uint64_t *pu64Base);
    5151VMMDECL(int)            PDMApicSetTPR(PVMCPU pVCpu, uint8_t u8TPR);
    52 VMMDECL(int)            PDMApicGetTPR(PVMCPU pVCpu, uint8_t *pu8TPR, bool *pfPending);
     52VMMDECL(int)            PDMApicGetTPR(PVMCPU pVCpu, uint8_t *pu8TPR, bool *pfPending, uint8_t *pu8PendingIrq);
    5353VMM_INT_DECL(int)       PDMApicWriteMSR(PVM pVM, VMCPUID iCpu, uint32_t u32Reg, uint64_t u64Value);
    5454VMM_INT_DECL(int)       PDMApicReadMSR(PVM pVM, VMCPUID iCpu, uint32_t u32Reg, uint64_t *pu64Value);
  • trunk/include/VBox/vmm/pdmdev.h

    r45702 r45965  
    10771077     * @param   pDevIns         Device instance of the APIC.
    10781078     * @param   idCpu           The VCPU Id.
     1079     * @param   pu8PendingIrq   Where to store the highest priority pending IRQ
     1080     *                          (optional, can be NULL).
    10791081     * @remarks Unlike the other callbacks, the PDM lock may not always be entered
    10801082     *          prior to calling this method.
    10811083     */
    1082     DECLR3CALLBACKMEMBER(bool, pfnHasPendingIrqR3,(PPDMDEVINS pDevIns, VMCPUID idCpu));
     1084    DECLR3CALLBACKMEMBER(bool, pfnHasPendingIrqR3,(PPDMDEVINS pDevIns, VMCPUID idCpu, uint8_t *pu8PendingIrq));
    10831085
    10841086    /**
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette