VirtualBox

Changeset 81948 in vbox for trunk/include


Ignore:
Timestamp:
Nov 18, 2019 4:28:43 PM (5 years ago)
Author:
vboxsync
Message:

IOAPIC,VMM: Made the pfnSetEoi and PDMIoApicBroadcastEoi functions return VBOXSTRICTRC. bugref:9218

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

Legend:

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

    r81519 r81948  
    5454VMM_INT_DECL(bool)      PDMHasApic(PVM pVM);
    5555VMM_INT_DECL(int)       PDMIoApicSetIrq(PVM pVM, uint8_t u8Irq, uint8_t u8Level, uint32_t uTagSrc);
    56 VMM_INT_DECL(int)      PDMIoApicBroadcastEoi(PVM pVM, uint8_t uVector);
     56VMM_INT_DECL(VBOXSTRICTRC) PDMIoApicBroadcastEoi(PVM pVM, uint8_t uVector);
    5757VMM_INT_DECL(int)       PDMIoApicSendMsi(PVM pVM, RTGCPHYS GCAddr, uint32_t uValue, uint32_t uTagSrc);
    5858VMM_INT_DECL(int)       PDMVmmDevHeapR3ToGCPhys(PVM pVM, RTR3PTR pv, RTGCPHYS *pGCPhys);
  • trunk/include/VBox/vmm/pdmdev.h

    r81938 r81948  
    14731473     *
    14741474     * @returns Strict VBox status code - only the following informational status codes:
    1475      * @retval  VINF_IOM_R3_MMIO_WRITE if the I/O APIC lock is contenteded and we're in R0 or RC.2
     1475     * @retval  VINF_IOM_R3_MMIO_WRITE if the I/O APIC lock is contenteded and we're in R0 or RC.
    14761476     * @retval  VINF_SUCCESS
    14771477     *
     
    14821482     *          Actually, as per 2018-07-21 this isn't true (bird).
    14831483     */
    1484     DECLCALLBACKMEMBER(int, pfnSetEoi)(PPDMDEVINS pDevIns, uint8_t u8Vector);
     1484    DECLCALLBACKMEMBER(VBOXSTRICTRC, pfnSetEoi)(PPDMDEVINS pDevIns, uint8_t u8Vector);
    14851485
    14861486    /** Just a safety precaution. */
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