VirtualBox

Changeset 68423 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Aug 15, 2017 11:28:57 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
117565
Message:

Devices/Bus/PCI,MSI-X: Fix static initialization of the MSI-X memory/PCI region to allow up to 2048 vectors as defined by the specification instead of only allowing up to 128 vectors previously when allocating a static 4KB page for the structures.

File:
1 edited

Legend:

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

    r66645 r68423  
    203203     * @todo fix non-standard naming.  */
    204204    uint8_t                         u8MsixCapSize;
    205 #if HC_ARCH_BITS == 64
    206     /** Explicit alignment padding.   */
    207     uint8_t                         abPadding1[HC_ARCH_BITS == 32 ? 0 : 4];
    208 #endif
     205    /** Size of the MSI-X region. */
     206    uint16_t                        cbMsixRegion;
     207    /** Offset to the PBA for MSI-X.   */
     208    uint16_t                        offMsixPba;
    209209
    210210    /** Pointer to bus specific data. (R3 ptr) */
     
    216216} PDMPCIDEVINT;
    217217AssertCompileMemberAlignment(PDMPCIDEVINT, aIORegions, 8);
    218 AssertCompileSize(PDMPCIDEVINT, HC_ARCH_BITS == 32 ? 264 : 384);
     218AssertCompileSize(PDMPCIDEVINT, HC_ARCH_BITS == 32 ? 268 : 384);
    219219
    220220/** Indicate that PDMPCIDEV::Int.s can be declared. */
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