pie_boot/lib.rs
1#![cfg_attr(target_os = "none", no_std)]
2
3#[cfg(target_arch = "aarch64")]
4#[path = "arch/aarch64/mod.rs"]
5mod arch;
6
7#[cfg(target_os = "none")]
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}