VirtualBox

Changeset 80701 in vbox for trunk/include


Ignore:
Timestamp:
Sep 10, 2019 2:42:31 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133241
Message:

PDM,Devices: Redefined uReserved1 to cMaxPciDevices in the PDMDEVREG structures and added PDM_DEVREG_FLAGS_MSI_X for indicating possible need for MSI-X. bugref:9218

File:
1 edited

Legend:

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

    r80679 r80701  
    331331    /** Size of the raw-mode instance data. */
    332332    uint32_t            cbInstanceRC;
    333     /** Reserved, must be zero. */
    334     uint32_t            uReserved1;
     333    /** Max number of PCI devices. */
     334    uint32_t            cMaxPciDevices;
    335335    /** The description of the device. The UTF-8 string pointed to shall, like this structure,
    336336     * remain unchanged from registration till VM destruction. */
     
    411411typedef PDMDEVREGR3 const *PCPDMDEVREGR3;
    412412/** Current DEVREGR3 version number. */
    413 #define PDM_DEVREGR3_VERSION                    PDM_VERSION_MAKE(0xffff, 3, 0)
     413#define PDM_DEVREGR3_VERSION                    PDM_VERSION_MAKE(0xffff, 4, 0)
    414414
    415415
     
    470470/** Indicates that the device needs to be notified before the drivers when resetting. */
    471471#define PDM_DEVREG_FLAGS_FIRST_RESET_NOTIFICATION       UINT32_C(0x00040000)
     472
     473/** MSI-X support (affects PCI device allocation size). */
     474#define PDM_DEVREG_FLAGS_MSI_X                          UINT32_C(0x00100000)
    472475
    473476/** This flag is used to indicate that the device has been converted to the
     
    552555    /** Size of the raw-mode instance data. */
    553556    uint32_t            cbInstanceRC;
    554     /** Reserved, must be zero. */
    555     uint32_t            uReserved1;
     557    /** Max number of PCI devices. */
     558    uint32_t            cMaxPciDevices;
    556559    /** The description of the device. The UTF-8 string pointed to shall, like this structure,
    557560     * remain unchanged from registration till VM destruction. */
     
    660663    /** Size of the raw-mode instance data. */
    661664    uint32_t            cbInstanceRC;
    662     /** Reserved, must be zero. */
    663     uint32_t            uReserved1;
     665    /** Max number of PCI devices. */
     666    uint32_t            cMaxPciDevices;
    664667    /** The description of the device. The UTF-8 string pointed to shall, like this structure,
    665668     * remain unchanged from registration till VM destruction. */
     
    62166219}
    62176220
    6218 /*
     6221/**
    62196222 * Registers the device with the default PCI bus.
    62206223 *
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