summaryrefslogtreecommitdiff
path: root/include/common
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2025-12-08 22:25:48 +0800
committerRichard Qin <richard.qin.x@gmail.com>2025-12-08 22:25:48 +0800
commit8cf8be522133548ee25fdcb0258ddf3950a68bcf (patch)
tree17d97abd848638d44de41e202d891dcaf4bb68c0 /include/common
downloadlume-8cf8be522133548ee25fdcb0258ddf3950a68bcf.tar.gz
lume-8cf8be522133548ee25fdcb0258ddf3950a68bcf.tar.xz
The start of the project -- A MicroDOS
feat: Initial bare-metal RISC-V boot with UART
Diffstat (limited to 'include/common')
-rw-r--r--include/common/types.h14
1 files changed, 14 insertions, 0 deletions
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