VirtualBox

Changeset 68691 in vbox for trunk


Ignore:
Timestamp:
Sep 7, 2017 10:36:50 AM (7 years ago)
Author:
vboxsync
Message:

Added 32-bit size hack to VMMDevSeamlessMode in VMMDevCoreTypes.h.

File:
1 edited

Legend:

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

    r68690 r68691  
    8888 *
    8989 * @ingroup grp_vmmdev_req
    90  *
    91  * @todo DARN! DARN! DARN! Who forgot to do the 32-bit hack here???
    92  *       FIXME! XXX!
    93  *
    94  *       We will now have to carefully check how our compilers have treated this
    95  *       flag. If any are compressing it into a byte type, we'll have to check
    96  *       how the request memory is initialized. If we are 104% sure it's ok to
    97  *       expand it, we'll expand it. If not, we must redefine the field to a
    98  *       uint8_t and a 3 byte padding.
    9990 */
    10091typedef enum
     
    10293    VMMDev_Seamless_Disabled         = 0,     /**< normal mode; entire guest desktop displayed. */
    10394    VMMDev_Seamless_Visible_Region   = 1,     /**< visible region mode; only top-level guest windows displayed. */
    104     VMMDev_Seamless_Host_Window      = 2      /**< windowed mode; each top-level guest window is represented in a host window. */
     95    VMMDev_Seamless_Host_Window      = 2,     /**< windowed mode; each top-level guest window is represented in a host window. */
     96    VMMDev_Seamless_SizeHack         = 0x7fffffff
    10597} VMMDevSeamlessMode;
     98AssertCompileSize(VMMDevSeamlessMode, 4);
    10699
    107100
     
    121114    VMMDevCpuEventType_SizeHack = 0x7fffffff
    122115} VMMDevCpuEventType;
     116AssertCompileSize(VMMDevCpuEventType, 4);
    123117
    124118
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