From bb2870e56d6c9a0a7b96be8287193a753e3a4391 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 4 Jul 2021 15:21:01 -0700 Subject: add ffi wrappers for real mode, protected mode, and a multiarch build --- ffi/multiarch/src/lib.rs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'ffi/multiarch/src') diff --git a/ffi/multiarch/src/lib.rs b/ffi/multiarch/src/lib.rs index e69de29..61553fc 100644 --- a/ffi/multiarch/src/lib.rs +++ b/ffi/multiarch/src/lib.rs @@ -0,0 +1,21 @@ +#![no_std] + +#[panic_handler] +fn panic(_info: &core::panic::PanicInfo) -> ! { + loop {} +} + +#[path = "../../src/long_mode.rs"] +mod long_mode; + +pub use long_mode::*; + +#[path = "../../src/protected_mode.rs"] +mod protected_mode; + +pub use protected_mode::*; + +#[path = "../../src/real_mode.rs"] +mod real_mode; + +pub use real_mode::*; -- cgit v1.1