VirtualBox

Ignore:
Timestamp:
Nov 21, 2021 2:40:17 AM (3 years ago)
Author:
vboxsync
Message:

VMMDev: Added a command for querying configuration values, with 10 generic 32-bit values define and 3 NEM related boolean values. The latter is for selectively skipping tests which doesn't work correctly in NEM. bugref:9044

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VMMDev/VMMDevState.h

    r90639 r92528  
    292292    /** Set if testing the MMIO testing range is enabled. */
    293293    bool                fTestingMMIO;
     294#if defined(VBOX_WITHOUT_TESTING_FEATURES) && !defined(DOXYGEN_RUNNING)
    294295    /** Alignment padding. */
    295296    bool                afPadding9[2];
    296 #if !defined(VBOX_WITHOUT_TESTING_FEATURES) || defined(DOXYGEN_RUNNING)
     297#else
     298    /** The amount of readable testing data (for query response). */
     299    uint16_t            cbReadableTestingData;
    297300    /** The high timestamp value. */
    298301    uint32_t            u32TestingHighTimestamp;
     
    304307    union
    305308    {
    306         char            padding[1024];
     309        /** Plain byte view. */
     310        uint8_t         ab[1024];
    307311
    308312        /** VMMDEV_TESTING_CMD_INIT, VMMDEV_TESTING_CMD_SUB_NEW,
     
    326330            char        szName[1024 - 8 - 4];
    327331        } Value;
     332
     333        /** A 8-bit VMMDEV_TESTING_QUERY_CFG response. */
     334        uint8_t         b;
     335        /** A 32-bit VMMDEV_TESTING_QUERY_CFG response. */
     336        uint32_t        u32;
    328337
    329338        /** The read back register (VMMDEV_TESTING_MMIO_OFF_READBACK,
     
    371380    /** Handle for the MMIO region used by the testing component. */
    372381    IOMMMIOHANDLE       hMmioTesting;
     382    /** User defined configuration dwords. */
     383    uint32_t            au32TestingCfgDwords[10];
    373384#endif /* !VBOX_WITHOUT_TESTING_FEATURES || DOXYGEN_RUNNING */
    374385    /** @} */
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