/** Marks a register value as valid, implemented, and tested. */ #define V(x) (((x) & 0x7f) | 0x80)
#ifndef NI_ROUTE_VALUE_EXTERNAL_CONVERSION /** Marks a register value as implemented but needing testing. */ #define I(x) V(x) /** Marks a register value as not implemented. */ #define U(x) 0x0
typedef u8 register_type; #else /** Marks a register value as implemented but needing testing. */ #define I(x) (((x) & 0x7f) | 0x100) /** Marks a register value as not implemented. */ #define U(x) (((x) & 0x7f) | 0x200)
/** Tests whether a register is marked as valid/implemented/tested */ #define MARKED_V(x) (((x) & 0x80) != 0) /** Tests whether a register is implemented but not tested */ #define MARKED_I(x) (((x) & 0x100) != 0) /** Tests whether a register is not implemented */ #define MARKED_U(x) (((x) & 0x200) != 0)
/* need more space to store extra marks */ typedef u16 register_type; #endif
/* Mask out the marking bit(s). */ #define UNMARK(x) ((x) & 0x7f)
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.