blob: 842609f3906d760947d7dc5f7c2055dfed8747ff (
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!()
}
|