#define XSEGLOG(...) (xseg_snprintf(__xseg_errbuf, 4096, FMTARG("%s: ", __func__, ## __VA_ARGS__, "")), \
__xseg_errbuf[4095] = 0, __xseg_log(__xseg_errbuf))
+/* general purpose xflags */
+#define X_ALLOC ((uint32_t) (1 << 0))
+#define X_LOCAL ((uint32_t) (1 << 1))
+
+
typedef uint64_t xpointer;
/* type to be used as absolute pointer
* this should be the same as xqindex
- * and must fit into a ptr type
+ * and must fit into a pointer type
*/
typedef uint64_t xptr;