From a86f59b32eb86a1ccb94bf1e627c1115c3b6b217 Mon Sep 17 00:00:00 2001 From: Tianhao Wang Date: Thu, 6 Jun 2024 00:02:53 +0200 Subject: io: add serial output through port 0x3f8 (qemu) not yet wrapped with fmt macros because I want some thing stateless. (i.e. I don't want to pass `&mut self` to write_str...). --- src/machine/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/machine/mod.rs') diff --git a/src/machine/mod.rs b/src/machine/mod.rs index a2cf730..b2b026f 100644 --- a/src/machine/mod.rs +++ b/src/machine/mod.rs @@ -5,5 +5,6 @@ pub mod key; pub mod keyctrl; pub mod mem; pub mod multiboot; +pub mod serial; // TODO: this module *should* be arch independent. -- cgit v1.2.3-70-g09d2