From 05011a452c0ba6a6b2ae2c815cadc2714e4ddb5c Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 9 Jun 2024 22:02:32 -0400 Subject: kernel: types: Add paddr_t and vaddr_t Signed-off-by: Ian Moffett --- sys/include/sys/types.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sys') 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_ */ -- cgit v1.2.3