VirtualBox

Changeset 36138 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Mar 3, 2011 10:44:55 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70318
Message:

PCI: some of 64-bit BARs support (many real cards do that)

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r36079 r36138  
    523523        PCIDEVICEINT        s;
    524524#endif
    525         char                padding[288];
     525        char                padding[328];
    526526    } Int;
    527527
  • trunk/include/VBox/rawpci.h

    r36124 r36138  
    6565    uint64_t u64RegionSize;
    6666    bool     fPresent;
    67     bool     fMmio;
     67    uint32_t fFlags;
    6868} PCIRAWREQGETREGIONINFO;
    6969
     
    284284                                                 uint64_t       *pu64RegionSize,
    285285                                                 bool           *pfPresent,
    286                                                  bool           *pfMmio));
     286                                                 uint32_t       *pfFlags));
    287287
    288288
     
    387387} PCIRAWDRIVERFLAGS;
    388388
     389/**
     390 * Flags used to describe PCI region, matches to PCIADDRESSSPACE
     391 * in pci.h.
     392 */
     393typedef enum PCIRAWADDRESSSPACE
     394{
     395    /** Memory. */
     396    PCIRAW_ADDRESS_SPACE_MEM = 0x00,
     397    /** I/O space. */
     398    PCIRAW_ADDRESS_SPACE_IO = 0x01,
     399    /** 32-bit BAR. */
     400    PCIRAW_ADDRESS_SPACE_BAR32 = 0x00,
     401    /** 64-bit BAR. */
     402    PCIRAW_ADDRESS_SPACE_BAR64 = 0x04,
     403    /** Prefetch memory. */
     404    PCIRAW_ADDRESS_SPACE_MEM_PREFETCH = 0x08,
     405    /** The usual 32-bit type blow up. */
     406    PCIRAW_ADDRESS_SPACE_32BIT_HACK = 0x7fffffff
     407} PCIRAWADDRESSSPACE;
    389408
    390409RT_C_DECLS_END
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