aboutsummaryrefslogtreecommitdiff
path: root/ffi/multiarch/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ffi/multiarch/src/lib.rs')
-rw-r--r--ffi/multiarch/src/lib.rs21
1 files changed, 21 insertions, 0 deletions
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::*;