pie_boot/lib.rs
1#![cfg_attr(target_os = "none", no_std)]
2#![cfg(target_os = "none")]
3
4#[cfg(target_arch = "aarch64")]
5#[path = "arch/aarch64/mod.rs"]
6mod arch;
7
8mod loader;
9
10pub use pie_boot_if::BootArgs;
11use pie_boot_if::EarlyBootArgs;
12pub use pie_boot_macros::entry;
13#[allow(unused)]
14use pie_boot_macros::start_code;
15
16#[allow(unused)]
17static mut BOOT_ARGS: EarlyBootArgs = EarlyBootArgs::new();
18
19unsafe extern "Rust" {
20 fn __pie_boot_main(args: &BootArgs);
21}