kmem-region 0.1.0

Some hal for os
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#![no_std]

mod align;
pub mod region;
pub use align::*;
mod addr;
pub mod allocator;

pub use addr::*;

pub const KB: usize = 1024;
pub const MB: usize = 1024 * KB;
pub const GB: usize = 1024 * MB;