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

26 lines
386 B
Rust
Raw Normal View History

2022-04-11 17:23:11 -05:00
//! The ableOS kernel.
#![feature(alloc_error_handler, prelude_import)]
2022-05-07 07:08:34 -05:00
#![no_std]
extern crate alloc;
2022-05-07 07:08:34 -05:00
pub mod allocator;
pub mod arch;
2022-12-06 18:10:38 -06:00
pub mod kmain;
pub mod task;
2022-03-02 08:38:22 -06:00
use versioning::Version;
2022-04-11 17:23:11 -05:00
/// Kernel's version
2022-03-02 08:38:22 -06:00
pub const KERNEL_VERSION: Version = Version {
major: 0,
2022-12-06 18:10:38 -06:00
minor: 2,
patch: 0,
2022-03-02 08:38:22 -06:00
};
2022-12-06 18:10:38 -06:00
#[panic_handler]
fn panic(info: &core::panic::PanicInfo) -> ! {
loop {}
}