VirtualBox

Changeset 33314 in vbox for trunk/include


Ignore:
Timestamp:
Oct 21, 2010 3:51:17 PM (14 years ago)
Author:
vboxsync
Message:

PCI, PDM: MSI-X support (absolutely untested)

Location:
trunk/include/VBox
Files:
3 edited

Legend:

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

    r33236 r33314  
    115115#define VBOX_MSIX_TABLE_BIROFFSET             0x04
    116116#define VBOX_MSIX_PBA_BIROFFSET               0x08
     117/* Size of single MSI-X table entry */
     118#define VBOX_MSIX_ENTRY_SIZE                  16
     119
    117120
    118121#endif
  • trunk/include/VBox/pci.h

    r33236 r33314  
    518518        PCIDEVICEINT        s;
    519519#endif
    520         char                padding[256];
     520        char                padding[288];
    521521    } Int;
    522522
  • trunk/include/VBox/pdmdev.h

    r33236 r33314  
    437437    /** Offset of next capability to MSI-X */
    438438    uint8_t    iMsixNextOffset;
    439     /** Value to initialize MSI-X message control register */
    440     uint16_t   iMsixFlags;
     439    /** Value of PCI BAR (base addresss register) assigned by device for MSI-X page access */
     440    uint8_t    iMsixBar;
    441441} PDMMSIREG;
    442442typedef PDMMSIREG *PPDMMSIREG;
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