Changeset 23786 in vbox for trunk/include/VBox
- Timestamp:
- Oct 15, 2009 12:04:30 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/ssm.h
r23785 r23786 289 289 * It is stored as zeros if SSMSTRUCT_FLAGS_DONT_IGNORE is specified to 290 290 * SSMR3PutStructEx. The member is never touched upon restore. */ 291 #define SSMFIELD_ENTRY_IGNORE(Type, Field) SSMFIELD_ENTRY_INT(Type, Field, SSMFIELDTRANS_ OLD)291 #define SSMFIELD_ENTRY_IGNORE(Type, Field) SSMFIELD_ENTRY_INT(Type, Field, SSMFIELDTRANS_IGNORE) 292 292 /** Emit a SSMFIELD array entry for an ignorable RTGCPHYS type. */ 293 #define SSMFIELD_ENTRY_IGN_GCPHYS(Type, Field) SSMFIELD_ENTRY_INT(Type, Field, SSMFIELDTRANS_ OLD_GCPHYS)293 #define SSMFIELD_ENTRY_IGN_GCPHYS(Type, Field) SSMFIELD_ENTRY_INT(Type, Field, SSMFIELDTRANS_IGN_GCPHYS) 294 294 /** Emit a SSMFIELD array entry for an ignorable RTGCPHYS type. */ 295 #define SSMFIELD_ENTRY_IGN_GCPTR(Type, Field) SSMFIELD_ENTRY_INT(Type, Field, SSMFIELDTRANS_ OLD_GCPTR)295 #define SSMFIELD_ENTRY_IGN_GCPTR(Type, Field) SSMFIELD_ENTRY_INT(Type, Field, SSMFIELDTRANS_IGN_GCPTR) 296 296 /** Emit a SSMFIELD array entry for an ignorable raw-mode context pointer. */ 297 #define SSMFIELD_ENTRY_IGN_RCPTR(Type, Field) SSMFIELD_ENTRY_INT(Type, Field, SSMFIELDTRANS_ OLD_RCPTR)297 #define SSMFIELD_ENTRY_IGN_RCPTR(Type, Field) SSMFIELD_ENTRY_INT(Type, Field, SSMFIELDTRANS_IGN_RCPTR) 298 298 /** Emit a SSMFIELD array entry for an ignorable ring-3 or/and ring-0 pointer. */ 299 #define SSMFIELD_ENTRY_IGN_HCPTR(Type, Field) SSMFIELD_ENTRY_INT(Type, Field, SSMFIELDTRANS_ OLD_HCPTR)299 #define SSMFIELD_ENTRY_IGN_HCPTR(Type, Field) SSMFIELD_ENTRY_INT(Type, Field, SSMFIELDTRANS_IGN_HCPTR) 300 300 301 301 /** Emit a SSMFIELD array entry for an old field that should be ignored now. 302 302 * It is stored as zeros and skipped on load. */ 303 #define SSMFIELD_ENTRY_OLD(cb) SSMFIELD_ENTRY_OLD_INT(cb, SSMFIELDTRANS_IGNORE)303 #define SSMFIELD_ENTRY_OLD(cb) SSMFIELD_ENTRY_OLD_INT(cb, SSMFIELDTRANS_OLD) 304 304 /** Same as SSMFIELD_ENTRY_IGN_GCPHYS, except there is no structure field. */ 305 #define SSMFIELD_ENTRY_OLD_GCPHYS() SSMFIELD_ENTRY_OLD_INT(sizeof(RTGCPHYS), SSMFIELDTRANS_ IGN_GCPHYS)305 #define SSMFIELD_ENTRY_OLD_GCPHYS() SSMFIELD_ENTRY_OLD_INT(sizeof(RTGCPHYS), SSMFIELDTRANS_OLD_GCPHYS) 306 306 /** Same as SSMFIELD_ENTRY_IGN_GCPTR, except there is no structure field. */ 307 #define SSMFIELD_ENTRY_OLD_GCPTR() SSMFIELD_ENTRY_OLD_INT(sizeof(RTGCPTR), SSMFIELDTRANS_IGN_GCPTR)307 #define SSMFIELD_ENTRY_OLD_GCPTR() SSMFIELD_ENTRY_OLD_INT(sizeof(RTGCPTR), SSMFIELDTRANS_OLD_GCPTR) 308 308 /** Same as SSMFIELD_ENTRY_IGN_RCPTR, except there is no structure field. */ 309 #define SSMFIELD_ENTRY_OLD_RCPTR() SSMFIELD_ENTRY_OLD_INT(sizeof(RTRCPTR), SSMFIELDTRANS_IGN_RCPTR)309 #define SSMFIELD_ENTRY_OLD_RCPTR() SSMFIELD_ENTRY_OLD_INT(sizeof(RTRCPTR), SSMFIELDTRANS_OLD_RCPTR) 310 310 /** Same as SSMFIELD_ENTRY_IGN_HCPTR, except there is no structure field. */ 311 #define SSMFIELD_ENTRY_OLD_HCPTR() SSMFIELD_ENTRY_OLD_INT(sizeof(RTHCPTR), SSMFIELDTRANS_IGN_HCPTR)311 #define SSMFIELD_ENTRY_OLD_HCPTR() SSMFIELD_ENTRY_OLD_INT(sizeof(RTHCPTR), SSMFIELDTRANS_OLD_HCPTR) 312 312 313 313 /** Emit a SSMFIELD array entry for a padding that differs in size between
Note:
See TracChangeset
for help on using the changeset viewer.