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
pub fn invalidate_tlb() {
    if crate::arch::detect_arch() == crate::arch::Architecture::X86_64 {
        core::sync::atomic::fence(core::sync::atomic::Ordering::SeqCst);
    }
}