From dbefd9336cc808e76f8e9d8d238f5a348d14604a Mon Sep 17 00:00:00 2001 From: Tianhao Wang Date: Sun, 25 Feb 2024 04:55:09 +0100 Subject: add mm and ds modules (yet empty) --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index b66afb5..d982d51 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3,9 +3,11 @@ #![no_std] #![no_main] mod arch; +mod defs; +mod ds; mod io; mod machine; -mod defs; +mod mm; use arch::x86_64::interrupt::pic_8259; use arch::x86_64::interrupt::pic_8259::PicDeviceInt; use core::panic::PanicInfo; @@ -28,8 +30,6 @@ pub extern "C" fn _entry() -> ! { println!(" (,-.`._,'( |\\`-/|"); println!(" `-.-' \\ )-`( , o o)"); println!(" `- \\`_`\"'-"); - println!("it works!"); - // testing interrupt/PIC // pic_8259::allow(PicDeviceInt::KEYBOARD); // interrupt::interrupt_enable(); -- cgit v1.2.3-70-g09d2