From 571a656a6bd9b4b9d5c595c578d15ba79bb19ef7 Mon Sep 17 00:00:00 2001 From: Samuel Johnson Date: Tue, 1 Jul 2025 10:33:05 -0400 Subject: Add serial logging --- kernel/io/font.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 kernel/io/font.h (limited to 'kernel/io/font.h') 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 + +namespace hos::io +{ + class font + { + public: + virtual void write (unsigned char character, void *fb_addr, std::uint16_t bpp) = 0; + }; +} + +#endif -- cgit v1.2.3