summaryrefslogtreecommitdiff
path: root/include/drivers/uart.h
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/drivers/uart.h
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/drivers/uart.h')
-rw-r--r--include/drivers/uart.h7
1 files changed, 7 insertions, 0 deletions
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