Definitions in vio.h

Preprocessor macro definitions for the vio.h header file

Definitions:

#include <qvm/vio.h>
#define VIO_MAX_FEATURE_WORDS 4

Maximum number of feature words the QNX Hypervisor supports.

#define VIOREF_CLASS_NOP 0x00000u

Return values from the vio_read() and vio_write() functions.

There is nothing to do.

#define VIOREF_CLASS_NOTIFY 0x10000u

The driver has notified device about a queue update; the index is in the low bits.

#define VIOREF_CLASS_ENABLED 0x20000u

The driver has enabled a queue; the index is in the low bits.

#define VIOREF_CLASS_RESET 0x30000u

The driver has requested a device reset.

#define VIOREF_CLASS_STATUS 0x40000u

The driver has turned on new device status bits:; the new flags are in the low bits.

#define VIOREF_CLASS_DEVCFG 0x50000u

The driver is reading or writing device-specific configuration; the configuration offset is in the low bits.

#define VIOREF_CLASS_BUS_ERROR 0x60000u

An exception needs to be sent to the guest.

#define VIOREF_CLASS_ERRNO 0x70000u

Error. Code is in the low bits.

#define VIOREF_CLASS_MASK 0xf0000u

A mask to isolate the return class type.

Library:

Provided by qvm; no external library is required.