aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/include/sys/types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/include/sys/types.h b/sys/include/sys/types.h
index c77663c..2078e78 100644
--- a/sys/include/sys/types.h
+++ b/sys/include/sys/types.h
@@ -59,4 +59,9 @@ typedef size_t uintptr_t;
typedef _Bool bool;
typedef int pid_t;
+#if defined(_KERNEL)
+typedef uintptr_t paddr_t;
+typedef uintptr_t vaddr_t;
+#endif /* _KERNEL */
+
#endif /* _SYS_TYPES_H_ */