1
0
Fork 0
forked from AbleOS/ableos
ableOS_v1Change/ableos/src/lib.rs
2021-11-23 05:53:06 -06:00

43 lines
642 B
Rust

//! hi
#![no_std]
#![feature(
abi_x86_interrupt,
asm,
alloc_error_handler,
core_intrinsics,
global_asm,
lang_items,
llvm_asm,
naked_functions
)]
#[cfg(target_arch = "aarch64")]
#[path = "arch/aarch64/mod.rs"]
pub mod arch;
#[cfg(target_arch = "x86_64")]
#[path = "arch/x86_64/mod.rs"]
pub mod arch;
#[cfg(target_arch = "riscv64")]
#[path = "arch/riscv/mod.rs"]
pub mod arch;
#[macro_use]
pub mod print;
use arch::drivers::serial;
pub mod driver_traits;
pub mod experiments;
pub mod keyboard;
pub mod kmain;
pub mod panic;
pub mod relib;
use experiments::server;
extern crate alloc;
pub mod allocator;