VirtualBox

Changeset 23783 in vbox for trunk/include


Ignore:
Timestamp:
Oct 14, 2009 11:21:29 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53521
Message:

SSM: Added _HCPTR_HACK_U32 to deal with two PATM fields.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r23764 r23783  
    611611/** The field contains an invalid padding size. */
    612612#define VERR_SSM_FIELD_INVALID_PADDING_SIZE     (-1869)
     613/** The field contains a value that is out of range. */
     614#define VERR_SSM_FIELD_INVALID_VALUE            (-1870)
    613615/** @} */
    614616
  • trunk/include/VBox/ssm.h

    r23780 r23783  
    147147    /** Array of SSMFIELDTRANS_HCPTR_NI. */
    148148    SSMFIELDTRANS_HCPTR_NI_ARRAY,
     149    /** Host context (HC) virtual address used to hold a unsigned 32-bit value. */
     150    SSMFIELDTRANS_HCPTR_HACK_U32,
    149151
    150152    /** Ignorable field. See SSMFIELD_ENTRY_IGNORE. */
     
    250252/** Same as SSMFIELD_ENTRY_HCPTR_NI, except it's an array of the buggers. */
    251253#define SSMFIELD_ENTRY_HCPTR_NI_ARRAY(Type, Field)  SSMFIELD_ENTRY_INT(Type, Field, SSMFIELDTRANS_HCPTR_NI_ARRAY)
     254/** Emit a SSMFIELD array entry for a ring-0 or ring-3 pointer type that has
     255 * been hacked such that it will never exceed 32-bit.  No sign extenending. */
     256#define SSMFIELD_ENTRY_HCPTR_HACK_U32(Type, Field)  SSMFIELD_ENTRY_INT(Type, Field, SSMFIELDTRANS_HCPTR_HACK_U32)
    252257
    253258/** Emit a SSMFIELD array entry for a field that can be ignored.
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette