Definitions in utils.h
Preprocessor macro definitions for the utils.h header file
Definitions:
#include <qvm/utils.h>
#define QPNF_NONE ((qvm_parse_num_flags_t)0x00U)
No flags are specified.
#define QPNF_ALLOW_SUFFIXES ((qvm_parse_num_flags_t)0x01U)
Allow the number to be scaled by 'k', 'm', and 'g' suffixes.
#define QPNF_ALLOW_NEGATIVE ((qvm_parse_num_flags_t)0x02U)
Allow a negative sign on the number.
#define QPNF_ALLOW_TRAILING ((qvm_parse_num_flags_t)0x04U)
Allow trailing characters following the number.
#define QPNF_SIZE_CHECK ((qvm_parse_num_flags_t)0x08U)
A maximum value is specified in the return parameter.
#define QPNF_HEX ((qvm_parse_num_flags_t)0x10U)
Interpret the number as base 16.
#define QVM_UNIQUE_FAILED (~(uint64_t)0)
Return code for qvm_unique() indicating that no system-wide unique number was obtained.
#define QVM_SLICE_NO_DESCRIPTOR ((uint8_t)~0)
Used in the qvm_slice_result.descriptor_idx field to indicate that the slice has no matching descriptor.
#define QVM_SLICE_DESCRIPTOR_END {
.writable=0U,.offset=0U,.nbytes=0U,.store_offset=0U,.tag=0U}
Used to end a slice descriptor array.
#define ROUNDUP(val, round)
Round a value up to a given power of two.
#define ROUNDDOWN(val, round)
Round a value down to a given power of two.
#define QDO_NONE ((qvm_dcache_op_t)0x00U)
No operation is to be performed.
#define QDO_INVAL ((qvm_dcache_op_t)0x01U)
Invalidate the data cache.
#define QDO_FLUSH ((qvm_dcache_op_t)0x02U)
Flush the data cache.
#define QDO_QUERY_PRIV ((qvm_dcache_op_t)0x04U)
Query what privilege level is required for an operation.
