#![cfg_attr(not(test), no_std)]
#![feature(asm_const)]
#![feature(abi_x86_interrupt)]
#![feature(doc_cfg, doc_auto_cfg)]
#![feature(extern_types)]
#![feature(const_mut_refs)]
#![allow(clippy::trivially_copy_pass_by_ref)]
pub(crate) use hal_core::{PAddr, VAddr};
#[cfg(feature = "alloc")]
extern crate alloc;
pub mod control_regs;
pub mod cpu;
pub mod framebuffer;
pub mod interrupt;
pub mod mm;
pub mod segment;
pub mod serial;
pub mod task;
pub mod time;
pub mod vga;
pub const NAME: &str = "x86_64";