VirtualBox

Changeset 36460 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Mar 29, 2011 12:52:21 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70843
Message:

PCI: fixed init-order issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/rawpci.h

    r36448 r36460  
    237237    /* in */
    238238    uint32_t             iState;
     239    /* in/out */
     240    uint64_t             u64Param;
    239241} PCIRAWREQPOWERSTATECHANGE;
    240242
     
    421423     *
    422424     * @param   pPort     Pointer to this structure.
    423      * @param   fFlags    Initialization flags.
     425     * @param   Register  PCI register.
     426     * @param   pValue    Read value (with desired read width).
    424427     */
    425428    DECLR0CALLBACKMEMBER(int,  pfnPciCfgRead,(PRAWPCIDEVPORT pPort,
    426                                               uint32_t          Register,
    427                                               PCIRAWMEMLOC      *pValue));
     429                                              uint32_t       Register,
     430                                              PCIRAWMEMLOC   *pValue));
    428431
    429432
     
    432435     *
    433436     * @param   pPort     Pointer to this structure.
    434      * @param   fFlags    Initialization flags.
    435      */
    436     DECLR0CALLBACKMEMBER(int,  pfnPciCfgWrite,(PRAWPCIDEVPORT pPort,
     437     * @param   Register  PCI register.
     438     * @param   pValue    Write value (with desired write width).
     439     */
     440    DECLR0CALLBACKMEMBER(int,  pfnPciCfgWrite,(PRAWPCIDEVPORT    pPort,
    437441                                               uint32_t          Register,
    438442                                               PCIRAWMEMLOC      *pValue));
     
    447451     */
    448452    DECLR0CALLBACKMEMBER(int,  pfnRegisterIrqHandler,(PRAWPCIDEVPORT pPort,
    449                                                       PFNRAWPCIISR pfnHandler,
    450                                                       void* pIrqContext,
    451                                                       int32_t *piHostIrq));
     453                                                      PFNRAWPCIISR   pfnHandler,
     454                                                      void*          pIrqContext,
     455                                                      int32_t        *piHostIrq));
    452456
    453457    /**
     
    458462     */
    459463    DECLR0CALLBACKMEMBER(int,  pfnUnregisterIrqHandler,(PRAWPCIDEVPORT pPort,
    460                                                         int32_t iHostIrq));
     464                                                        int32_t        iHostIrq));
    461465
    462466    /**
     
    465469     * @param   pPort       Pointer to this structure.
    466470     * @param   aState      New power state.
    467      */
    468     DECLR0CALLBACKMEMBER(int,  pfnPowerStateChange,(PRAWPCIDEVPORT pPort,
    469                                                     PCIRAWPOWERSTATE  aState));
     471     * @param   pu64Param   State-specific in/out parameter.
     472     */
     473    DECLR0CALLBACKMEMBER(int,  pfnPowerStateChange,(PRAWPCIDEVPORT    pPort,
     474                                                    PCIRAWPOWERSTATE  aState,
     475                                                    uint64_t          *pu64Param));
    470476
    471477    /** Structure version number. (RAWPCIDEVPORT_VERSION) */
Note: See TracChangeset for help on using the changeset viewer.

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