VirtualBox

Changeset 90467 in vbox for trunk/include


Ignore:
Timestamp:
Aug 2, 2021 10:57:30 AM (3 years ago)
Author:
vboxsync
Message:

VMMDev/Testing: Added VMMDEV_TESTING_LOCKED_BUSY_SUCCESS flag so we can test both regular return-to-ring-3 on contention and must-get-the-lock-no-matter-wath code paths. bugref:6695

File:
1 edited

Legend:

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

    r90461 r90467  
    172172#define VMMDEV_TESTING_LOCKED_WAIT_SHIFT        14
    173173/** Locked Control: Must be zero. */
    174 #define VMMDEV_TESTING_LOCKED_MBZ_MASK          UINT32_C(0x70000000)
     174#define VMMDEV_TESTING_LOCKED_MBZ_MASK          UINT32_C(0x30000000)
     175/** Locked Control: Take lock with rcBusy set to VINF_SUCCESS.   */
     176#define VMMDEV_TESTING_LOCKED_BUSY_SUCCESS      UINT32_C(0x40000000)
    175177/** Locked Control: Poke EMT(s) flag.   */
    176178#define VMMDEV_TESTING_LOCKED_POKE              UINT32_C(0x80000000)
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