From 8cf8be522133548ee25fdcb0258ddf3950a68bcf Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Mon, 8 Dec 2025 22:25:48 +0800 Subject: The start of the project -- A MicroDOS feat: Initial bare-metal RISC-V boot with UART --- include/common/types.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 include/common/types.h (limited to 'include/common') diff --git a/include/common/types.h b/include/common/types.h new file mode 100644 index 0000000..56500c5 --- /dev/null +++ b/include/common/types.h @@ -0,0 +1,14 @@ +#pragma once + +typedef unsigned char uint8_t; +typedef unsigned short uint16_t; +typedef unsigned int uint32_t; +typedef unsigned long long uint64_t; + +typedef signed char int8_t; +typedef signed short int16_t; +typedef signed int int32_t; +typedef signed long long int64_t; + +typedef uint64_t size_t; +typedef uint64_t uintptr_t; \ No newline at end of file -- cgit v1.2.3