VirtualBox

Changeset 82039 in vbox for trunk/include


Ignore:
Timestamp:
Nov 20, 2019 5:22:21 PM (5 years ago)
Author:
vboxsync
Message:

APIC,PDM: Split up APIC 'registration'. bugref:9218

File:
1 edited

Legend:

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

    r81961 r82039  
    37423742     * @param   pDevIns             The device instance.
    37433743     */
    3744     DECLR3CALLBACKMEMBER(int, pfnAPICRegister,(PPDMDEVINS pDevIns));
     3744    DECLR3CALLBACKMEMBER(int, pfnApicRegister,(PPDMDEVINS pDevIns));
    37453745
    37463746    /**
     
    51755175
    51765176    /**
     5177     * Sets up the APIC for the ring-0 context.
     5178     *
     5179     * This must be called after ring-3 has registered the APIC using
     5180     * PDMDevHlpApicRegister().
     5181     *
     5182     * @returns VBox status code.
     5183     * @param   pDevIns     The device instance.
     5184     */
     5185    DECLR0CALLBACKMEMBER(int, pfnApicSetUpContext,(PPDMDEVINS pDevIns));
     5186
     5187    /**
    51775188     * Sets up the IOAPIC for the ring-0 context.
    51785189     *
     
    52255236
    52265237/** Current PDMDEVHLP version number. */
    5227 #define PDM_DEVHLPR0_VERSION                    PDM_VERSION_MAKE(0xffe5, 14, 0)
     5238#define PDM_DEVHLPR0_VERSION                    PDM_VERSION_MAKE(0xffe5, 15, 0)
    52285239
    52295240
     
    77047715
    77057716/**
    7706  * @copydoc PDMDEVHLPR3::pfnAPICRegister
    7707  */
    7708 DECLINLINE(int) PDMDevHlpAPICRegister(PPDMDEVINS pDevIns)
    7709 {
    7710     return pDevIns->pHlpR3->pfnAPICRegister(pDevIns);
     7717 * @copydoc PDMDEVHLPR3::pfnApicRegister
     7718 */
     7719DECLINLINE(int) PDMDevHlpApicRegister(PPDMDEVINS pDevIns)
     7720{
     7721    return pDevIns->pHlpR3->pfnApicRegister(pDevIns);
    77117722}
    77127723
     
    78577868{
    78587869    return pDevIns->CTX_SUFF(pHlp)->pfnPICSetUpContext(pDevIns, pPicReg, ppPicHlp);
     7870}
     7871
     7872/**
     7873 * @copydoc PDMDEVHLPR0::pfnApicSetUpContext
     7874 */
     7875DECLINLINE(int) PDMDevHlpApicSetUpContext(PPDMDEVINS pDevIns)
     7876{
     7877    return pDevIns->CTX_SUFF(pHlp)->pfnApicSetUpContext(pDevIns);
    78597878}
    78607879
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