1
0
Fork 0

fix interrupt handler

This commit is contained in:
Simon Renblad 2024-10-08 16:11:21 +08:00
parent e0d1dd4ba4
commit d76f6fee0e
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ macro_rules! interrupt_handler {
#[link_section = ".text.boot"]
#[no_mangle]
#[naked]
pub unsafe extern "C" fn $name() -> ! {
pub unsafe extern "C" fn $name() {
asm!(
// setup SP, depending on CPU 0 or 1
// and preserve registers