hardware 0.0.9

A no_std bare-metal hardware abstraction layer — all port I/O, memory and swap allocations are guarded at runtime. Do not consider this dependency stable before x.1.x
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[derive(Copy, Clone, Debug)]
pub struct Descriptor {
    pub phys: usize,
    pub len: usize,
    pub flags: u32,
}

impl Descriptor {
    pub fn new(phys: usize, len: usize, flags: u32) -> Self {
        Descriptor { phys, len, flags }
    }
}