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

27 lines
395 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-07 17:07:02 -06:00
pub mod logger;
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-12-06 18:43:26 -06:00
pub const VERSION: Version = Version {
2022-03-02 08:38:22 -06:00
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 {}
}