1
0
Fork 0
forked from AbleOS/ableos
ableOS_v1Change/ableos/src/lib.rs

42 lines
628 B
Rust
Raw Normal View History

2021-11-21 02:13:50 -06:00
//! hi
2021-11-16 00:09:27 -06:00
#![no_std]
2021-11-22 10:30:49 -06:00
#![feature(
abi_x86_interrupt,
asm,
2021-11-27 09:19:08 -06:00
asm_sym,
2021-11-23 05:53:06 -06:00
alloc_error_handler,
2021-11-22 10:30:49 -06:00
core_intrinsics,
global_asm,
lang_items,
llvm_asm,
naked_functions
)]
2021-11-16 00:09:27 -06:00
#[cfg(target_arch = "aarch64")]
#[path = "arch/aarch64/mod.rs"]
2021-11-22 10:30:49 -06:00
pub mod arch;
2021-11-16 00:09:27 -06:00
#[cfg(target_arch = "x86_64")]
#[path = "arch/x86_64/mod.rs"]
2021-11-22 10:30:49 -06:00
pub mod arch;
#[cfg(target_arch = "riscv64")]
#[path = "arch/riscv/mod.rs"]
2021-11-22 10:30:49 -06:00
pub mod arch;
2021-11-16 00:09:27 -06:00
#[macro_use]
pub mod print;
2021-11-27 09:19:08 -06:00
pub mod allocator;
2021-11-22 10:30:49 -06:00
pub mod driver_traits;
pub mod experiments;
2021-11-16 00:09:27 -06:00
pub mod keyboard;
2021-11-22 10:30:49 -06:00
pub mod kmain;
2021-11-27 09:19:08 -06:00
pub mod log;
2021-11-22 10:30:49 -06:00
pub mod panic;
2021-11-16 00:09:27 -06:00
pub mod relib;
pub mod wasm;
2021-11-23 05:53:06 -06:00
extern crate alloc;