better naming

This commit is contained in:
2025-02-23 16:14:12 +01:00
parent 05709ba8a1
commit 321d2ef77d
12 changed files with 30 additions and 73 deletions

View File

@ -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();
}