pub fn init() {
    let _ = crate::KCONFIG;
    crate::KHANDLER.init_once_by(&crate::kernel_handler::DummyKernelHandler);

    drivers::init();

    #[cfg(target_os = "macos")]
    unsafe {
        macos::register_sigsegv_handler();
    }
}
/// Initialize the HAL.
///
/// This function must be called at the beginning.
Initialize the HAL.
This function must be called at the beginning.
Initialize the HAL . This function must be called at the beginning .
pub fn init() {
    let _ = crate::KCONFIG;
    crate::KHANDLER.init_once_by(&crate::kernel_handler::DummyKernelHandler);
    drivers::init();
    #[cfg(target_os = "macos")]
    unsafe {
        macos::register_sigsegv_handler();
    }
}
pub fn init ( ) { let _ = crate :: KCONFIG ; crate :: KHANDLER . init_once_by ( & crate :: kernel_handler :: DummyKernelHandler ) ; drivers :: init ( ) ; # [ cfg ( target_os " " ) ] unsafe { macos :: register_sigsegv_handler ( ) ; } }
Initialize the HAL.
Initialize the HAL .