summaryrefslogtreecommitdiff
path: root/kernel/io/font.h
diff options
context:
space:
mode:
authorSamuel Johnson <[email protected]>2025-07-01 10:33:05 -0400
committerSamuel Johnson <[email protected]>2025-07-01 10:33:05 -0400
commit571a656a6bd9b4b9d5c595c578d15ba79bb19ef7 (patch)
tree46f75b47f4edab4281de14ffa1c4a91a5a84f8f1 /kernel/io/font.h
parent12fd3a91f138bf90520134682e38bf3b0341e660 (diff)
Add serial loggingHEADtrunkdev
Diffstat (limited to 'kernel/io/font.h')
-rw-r--r--kernel/io/font.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/kernel/io/font.h b/kernel/io/font.h
new file mode 100644
index 0000000..e4f72ca
--- /dev/null
+++ b/kernel/io/font.h
@@ -0,0 +1,15 @@
+#ifndef HOS_IO_FONT_H
+#define HOS_IO_FONT_H
+
+#include <cstdint>
+
+namespace hos::io
+{
+ class font
+ {
+ public:
+ virtual void write (unsigned char character, void *fb_addr, std::uint16_t bpp) = 0;
+ };
+}
+
+#endif