ableos/ableos/src/lib.rs

49 lines
773 B
Rust
Raw Normal View History

2021-11-21 08:13:50 +00:00
//! hi
2021-11-16 06:09:27 +00:00
#![no_std]
2021-11-22 16:30:49 +00:00
#![feature(
abi_x86_interrupt,
asm,
2021-11-27 15:19:08 +00:00
asm_sym,
2021-11-23 11:53:06 +00:00
alloc_error_handler,
2021-11-22 16:30:49 +00:00
core_intrinsics,
global_asm,
lang_items,
llvm_asm,
naked_functions
)]
2021-11-16 06:09:27 +00:00
#[cfg(target_arch = "aarch64")]
#[path = "arch/aarch64/mod.rs"]
2021-11-22 16:30:49 +00:00
pub mod arch;
2021-11-16 06:09:27 +00:00
#[cfg(target_arch = "x86_64")]
#[path = "arch/x86_64/mod.rs"]
2021-11-22 16:30:49 +00:00
pub mod arch;
#[cfg(target_arch = "riscv64")]
#[path = "arch/riscv/mod.rs"]
2021-11-22 16:30:49 +00:00
pub mod arch;
2021-11-16 06:09:27 +00:00
#[macro_use]
pub mod print;
2021-12-24 10:05:23 +00:00
#[macro_use]
pub mod log;
2021-11-27 15:19:08 +00:00
pub mod allocator;
2021-11-22 16:30:49 +00:00
pub mod driver_traits;
pub mod experiments;
2021-11-16 06:09:27 +00:00
pub mod keyboard;
2021-11-22 16:30:49 +00:00
pub mod kmain;
pub mod panic;
2021-11-16 06:09:27 +00:00
pub mod relib;
2021-12-24 09:30:27 +00:00
pub mod scheduler;
pub mod wasm;
2021-12-28 08:56:29 +00:00
pub extern crate alloc;
2021-12-24 14:04:07 +00:00
pub extern crate externc_libm as libm;
2022-01-07 16:31:47 +00:00
///////////////////////////////
2022-01-13 14:54:33 +00:00
pub mod kernel_state;
2022-01-07 16:31:47 +00:00
pub mod vga_e;