forked from AbleOS/ableos
27 lines
394 B
Rust
27 lines
394 B
Rust
//! The ableOS kernel.
|
|
|
|
#![feature(alloc_error_handler, prelude_import)]
|
|
#![no_std]
|
|
|
|
extern crate alloc;
|
|
|
|
pub mod allocator;
|
|
pub mod arch;
|
|
pub mod debug;
|
|
pub mod kmain;
|
|
pub mod task;
|
|
|
|
use versioning::Version;
|
|
|
|
/// Kernel's version
|
|
pub const VERSION: Version = Version {
|
|
major: 0,
|
|
minor: 2,
|
|
patch: 0,
|
|
};
|
|
|
|
#[panic_handler]
|
|
fn panic(info: &core::panic::PanicInfo) -> ! {
|
|
loop {}
|
|
}
|