diff options
| author | Tianhao Wang <shrik3@mailbox.org> | 2024-05-29 01:18:02 +0200 |
|---|---|---|
| committer | Tianhao Wang <shrik3@mailbox.org> | 2024-06-11 15:17:10 +0200 |
| commit | 959a93e653684b1ed8db4bd21eaca9831e372fb0 (patch) | |
| tree | 152426d2f9eb39ff26941204aaa149840e59578a /src/machine/mod.rs | |
| parent | 590d29c3e44fc06bc79c2624fc94273434505b9d (diff) | |
multiboot: basic support for multiboot info
well, it's not trivial to use bios function because thanks to grub +
multiboot, we are already in protected mode when the startup code takes
control. Also the MB info is easier to play with than BIOS (or ACPI)
Signed-off-by: Tianhao Wang <shrik3@mailbox.org>
Diffstat (limited to 'src/machine/mod.rs')
| -rw-r--r-- | src/machine/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/machine/mod.rs b/src/machine/mod.rs index 46ca961..a2cf730 100644 --- a/src/machine/mod.rs +++ b/src/machine/mod.rs @@ -4,5 +4,6 @@ pub mod interrupt; pub mod key; pub mod keyctrl; pub mod mem; +pub mod multiboot; // TODO: this module *should* be arch independent. |
