summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/common/types.h14
-rw-r--r--include/drivers/uart.h7
2 files changed, 21 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
diff --git a/include/drivers/uart.h b/include/drivers/uart.h
new file mode 100644
index 0000000..8bf4560
--- /dev/null
+++ b/include/drivers/uart.h
@@ -0,0 +1,7 @@
+#pragma once
+
+namespace Drivers {
+ void uart_init();
+ void uart_putc(char c);
+ void uart_puts(const char* s);
+} \ No newline at end of file