ax-cpu 0.8.4

Privileged instruction and structure abstractions for various CPU architectures
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[macro_use]
mod macros;

mod context;
mod local_state;
mod trap;

pub mod asm;
pub mod init;

#[cfg(feature = "uspace")]
pub mod uspace;

pub(crate) use self::context::TrapFrame;
pub use self::{
    context::{FpState, GeneralRegisters, TaskContext, TrapFrame as UserRegisters},
    trap::KernelTrapFrame,
};