VirtualBox

Changeset 23816 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Oct 16, 2009 11:47:32 AM (15 years ago)
Author:
vboxsync
Message:

SSM: Added flag for indicating that we're not using SSMR3PutStructEx and therefor shouldn't be too uptight about some things (HCPTR_HACK_U32).

File:
1 edited

Legend:

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

    r23801 r23816  
    373373/** Do not ignore any ignorable fields. */
    374374#define SSMSTRUCT_FLAGS_DONT_IGNORE         RT_BIT_32(2)
     375/** Saved using SSMR3PutMem, don't be too strict. */
     376#define SSMSTRUCT_FLAGS_SAVED_AS_MEM        RT_BIT_32(3)
    375377/** Band-aid for old SSMR3PutMem/SSMR3GetMem of structurs with host pointers. */
    376 #define SSMSTRUCT_FLAGS_MEM_BAND_AID        (SSMSTRUCT_FLAGS_DONT_IGNORE | SSMSTRUCT_FLAGS_FULL_STRUCT | SSMSTRUCT_FLAGS_NO_MARKERS)
     378#define SSMSTRUCT_FLAGS_MEM_BAND_AID        (  SSMSTRUCT_FLAGS_DONT_IGNORE | SSMSTRUCT_FLAGS_FULL_STRUCT \
     379                                             | SSMSTRUCT_FLAGS_NO_MARKERS  | SSMSTRUCT_FLAGS_SAVED_AS_MEM)
    377380/** Mask of the valid bits. */
    378 #define SSMSTRUCT_FLAGS_VALID_MASK          UINT32_C(0x00000007)
     381#define SSMSTRUCT_FLAGS_VALID_MASK          UINT32_C(0x0000000f)
    379382/** @} */
    380383
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