better naming
This commit is contained in:
@ -3,11 +3,14 @@
|
||||
|
||||
use core::panic::PanicInfo;
|
||||
use cortex_r_a::asm::nop;
|
||||
use zynq_rt as _;
|
||||
use zynq7000_rt as _;
|
||||
|
||||
/// Entry point (not called like a normal main function)
|
||||
#[no_mangle]
|
||||
pub extern "C" fn kmain() -> ! {
|
||||
pub extern "C" fn boot_core(cpu_id: u32) -> ! {
|
||||
if cpu_id != 0 {
|
||||
panic!("unexpected CPU ID {}", cpu_id);
|
||||
}
|
||||
main();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user