VirtualBox

Changeset 104070 in vbox for trunk/include


Ignore:
Timestamp:
Mar 26, 2024 8:17:49 PM (10 months ago)
Author:
vboxsync
Message:

VMMDev: Add a magic tail dword following the data made available by VMMDEV_TESTING_CMD_QUERY_CFG. This can be used to verify that the query was successful. bugref:9898

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r104065 r104070  
    211211#define VMMDEV_TESTING_NOP_RET                  UINT32_C(0x64726962) /* bird */
    212212
     213/** What follows the data provided by a VMMDEV_TESTING_CMD_QUERY_CFG.
     214 * This can be used to verify that a config query was successful.  The value
     215 * will not be split up if the read is 16-bit or 8-bit, subsequent reads (of
     216 * any size) will return zero. */
     217#define VMMDEV_TESTING_QUERY_CFG_OKAY_TAIL      UINT32_C(0x79616b4f) /* Okay */
     218
    213219/** @name Low and High Locking Control Dwords
    214220 * @{ */
  • trunk/include/VBox/VMMDevTesting.mac

    r103930 r104070  
    124124%define VMMDEV_TESTING_UNIT_PS_PER_PAGE         0x2d
    125125%define VMMDEV_TESTING_NOP_RET                  0x64726962
     126%define VMMDEV_TESTING_QUERY_CFG_OKAY_TAIL      0x79616b4f
    126127%define VMMDEV_TESTING_LOCKED_LO_HOLD_MASK      0x0000ffff
    127128%define VMMDEV_TESTING_LOCKED_LO_WAIT_MASK      0xffff0000
     
    148149%define VMMDEV_TESTING_CFG_IS_NEM_WINDOWS    0x0101
    149150%define VMMDEV_TESTING_CFG_IS_NEM_DARWIN     0x0102
     151%define VMMDEV_TESTING_CFG_THRESHOLD_NATIVE_RECOMPILER  0x0103
    150152%endif
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