diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/common/types.h | 4 | ||||
| -rw-r--r-- | include/kernel/config.h | 7 |
2 files changed, 10 insertions, 1 deletions
diff --git a/include/common/types.h b/include/common/types.h index 4a22791..f9f01ca 100644 --- a/include/common/types.h +++ b/include/common/types.h @@ -13,4 +13,6 @@ typedef signed long long int64_t; typedef uint64_t size_t; typedef uint64_t uintptr_t; -typedef uint64_t uint64;
\ No newline at end of file +typedef uint64_t uint64; +typedef uint32_t uint32; +typedef uint8_t uint8;
\ No newline at end of file diff --git a/include/kernel/config.h b/include/kernel/config.h new file mode 100644 index 0000000..56a1aa6 --- /dev/null +++ b/include/kernel/config.h @@ -0,0 +1,7 @@ +#pragma once +#include "common/types.h" + +extern uint64 g_uart_base; +extern uint64 g_clint_base; +extern uint64 g_plic_base; +extern uint64 g_dtb_addr;
\ No newline at end of file |
