aboutsummaryrefslogtreecommitdiff
path: root/include/u.h
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2021-11-18 16:40:51 -0800
committerNicholas Noll <nbnoll@eml.cc>2021-11-18 16:40:51 -0800
commit5bcc08d92ae9345d6863f555a3dd9ec960e0860f (patch)
treec0fc5dba61ee770d5757ffb9702d61d277d122a1 /include/u.h
parent4bf477d5ed372fd44697d2f0df245b61b4f3f7b3 (diff)
feat: filling out system layer's interface
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