VirtualBox

Changeset 35959 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Feb 14, 2011 2:30:03 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70020
Message:

PCI: further R0/driver work

File:
1 edited

Legend:

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

    r35946 r35959  
    4848{
    4949    /* in */
    50     RTHCPHYS             StartAddress;
     50    RTGCPHYS             StartAddress;
    5151    uint64_t             iRegionSize;
    5252    uint32_t             fFlags;
     
    130130} PCIRAWREQPCICFGREAD;
    131131
     132
     133/**
     134 * Handle for the raw PCI device.
     135 */
     136typedef RTR0PTR PCIRAWDEVHANDLE;
     137
    132138/**
    133139 * Request buffer use for communication with the driver.
     
    144150    int32_t         iRequest;
    145151    /** Host device request targetted to. */
    146     uint32_t        TargetDevice;
     152    PCIRAWDEVHANDLE TargetDevice;
    147153    /** Call parameters. */
    148154    union
     
    160166} PCIRAWSENDREQ;
    161167typedef PCIRAWSENDREQ *PPCIRAWSENDREQ;
    162 
    163168
    164169/**
     
    222227     */
    223228    DECLR0CALLBACKMEMBER(void, pfnRelease,(PRAWPCIDEVPORT pPort));
     229
     230    /**
     231     * Init device.
     232     *
     233     * @param   pPort     Pointer to this structure.
     234     * @param   fFlags    Initialization flags.
     235     */
     236    DECLR0CALLBACKMEMBER(int,  pfnInit,(PRAWPCIDEVPORT pPort,
     237                                        uint32_t       fFlags));
    224238   
     239   
     240
    225241    /** Structure version number. (RAWPCIDEVPORT_VERSION) */
    226242    uint32_t u32VersionEnd;
     
    267283} RAWPCIFACTORY;
    268284
    269 
    270285#define RAWPCIFACTORY_UUID_STR "c0268f49-e1e4-402b-b7e0-eb8d09659a9b"
    271286
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