2022-04-11 17:23:11 -05:00
|
|
|
//! The ableOS kernel.
|
|
|
|
|
2022-11-07 13:29:42 -06:00
|
|
|
#![feature(alloc_error_handler, prelude_import)]
|
2022-05-07 07:08:34 -05:00
|
|
|
#![no_std]
|
|
|
|
|
|
|
|
extern crate alloc;
|
2022-03-11 13:51:47 -06:00
|
|
|
|
2022-05-07 07:08:34 -05:00
|
|
|
pub mod allocator;
|
2022-11-07 14:21:16 -06:00
|
|
|
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;
|
2022-08-07 16:42:23 -05:00
|
|
|
pub mod task;
|
2022-02-28 08:54:41 -06:00
|
|
|
|
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 {}
|
|
|
|
}
|