VirtualBox

Changeset 41900 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Jun 23, 2012 8:30:00 PM (13 years ago)
Author:
vboxsync
Message:

SSM: Added SSMFIELD_ENTRY_U32_ZX_U64.

File:
1 edited

Legend:

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

    r39368 r41900  
    145145    /** Host context (HC) virtual address used to hold a unsigned 32-bit value. */
    146146    SSMFIELDTRANS_HCPTR_HACK_U32,
     147    /** Load a 32-bit unsigned filed from the state and zero extend it into a 64-bit
     148     * structure member. */
     149    SSMFIELDTRANS_U32_ZX_U64,
    147150
    148151    /** Ignorable field. See SSMFIELD_ENTRY_IGNORE. */
     
    271274#define SSMFIELD_ENTRY_HCPTR_NI_ARRAY(Type, Field)  SSMFIELD_ENTRY_TF_INT(Type, Field, SSMFIELDTRANS_HCPTR_NI_ARRAY)
    272275/** Emit a SSMFIELD array entry for a ring-0 or ring-3 pointer type that has
    273  * been hacked such that it will never exceed 32-bit.  No sign extenending. */
     276 * been hacked such that it will never exceed 32-bit.  No sign extending. */
    274277#define SSMFIELD_ENTRY_HCPTR_HACK_U32(Type, Field)  SSMFIELD_ENTRY_TF_INT(Type, Field, SSMFIELDTRANS_HCPTR_HACK_U32)
     278/** Emit a SSMFIELD array entry for loading a 32-bit field into a 64-bit
     279 * structure member, zero extending the value. */
     280#define SSMFIELD_ENTRY_U32_ZX_U64(Type, Field)      SSMFIELD_ENTRY_TF_INT(Type, Field, SSMFIELDTRANS_U32_ZX_U64)
    275281
    276282/** Emit a SSMFIELD array entry for a field that can be ignored.
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