1
0
Fork 0
forked from AbleOS/ableos
ableos/kernel/src/arch/aarch64/mod.rs

22 lines
356 B
Rust
Raw Normal View History

2023-07-13 22:41:09 -05:00
//!
2023-07-14 23:13:29 -05:00
// #[allow(deprecated)]
// use limine::{TerminalRequest, TerminalResponse};
2023-07-14 20:00:50 -05:00
2023-07-13 22:41:09 -05:00
#[no_mangle]
unsafe extern "C" fn _kernel_start() -> ! {
loop {}
}
pub fn log(_args: core::fmt::Arguments<'_>) -> core::fmt::Result {
panic!()
}
2023-07-15 08:04:53 -05:00
pub fn spin_loop() -> ! {
loop {}
}
pub fn hardware_random_u64() -> u64 {
0
}
pub const PAGE_SIZE: usize = 10;