blob: 4a2483ac0a3e6c3ad09d86409a4aa8daae0b9673 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#![no_std]
pub mod console;
pub mod util;
#[cfg(not(test))]
mod panic;
/// The entrypoint to the kernel. This should be executed by hart0 alone. It performs some early
/// boot tasks, then wakes up any other harts.
#[no_mangle]
pub extern "C" fn hart0_boot(device_tree: *const u32) {
console::init();
log::info!("device_tree = {device_tree:?}");
dbg!(42);
todo!()
}
|