qvm_state_flags

Possible values for flags in the structure describing a data element (typically in the guest)

Synopsis:

#include <qvm/types.h>
enum qvm_state_flags {
    QSF_NONE = 0x0000,
    QSF_SEXT_SHIFT = 0,
    QSF_ZEXT_SHIFT = 4,
    QSF_EXT_MASK = 0xf,
    QSF_REPORT_EXCEPTION = 0x8000
};

Data:

QSF_NONE

No block flags specified.

QSF_SEXT_SHIFT

Bits 0-3 indicate the number of bytes to sign-extend.

QSF_ZEXT_SHIFT

Bits 4-7 indicate the number of bytes to zero-extend (after doing sign extension).

QSF_EXT_MASK

Mask irrelevant bits

QSF_REPORT_EXCEPTION

If there's a problem accessing the region, report an exception to the guest.

Library:

Provided by qvm; no external library is required.

Description:

These values are used in the qvm_state_block data structure's flags member.