aboutsummaryrefslogtreecommitdiff
path: root/include/u.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/u.h')
-rw-r--r--include/u.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/u.h b/include/u.h
index 87d5080..333d6b2 100644
--- a/include/u.h
+++ b/include/u.h
@@ -41,12 +41,19 @@ typedef uint32 rune;
/* pointer address */
typedef ADDR intptr;
typedef unsigned ADDR uintptr;
+typedef ADDR address_t;
+typedef REG register_t;
+typedef unsigned REG uregister_t;
+
+/* variable length list */
+typedef __builtin_va_list va_list;
#undef INT8
#undef INT16
#undef INT32
#undef INT64
#undef ADDR
+#undef REG
// ------------------------------------------------------------------
// global constants