changes to atsama5d27 target for new kernel boot args

@eupn this could use a review, I have no way to test this
This commit is contained in:
bunnie 2024-05-12 20:22:07 +08:00
parent a3e55834e9
commit f657caa176
2 changed files with 3 additions and 3 deletions

View file

@ -153,7 +153,7 @@ _prep_args:
# Prepare arguments for the kernel `init` function (entrypoint)
mov r0, r3
pop {r2, r1}
pop {r3, r2, r1}
# Restore kernel stack pointer from the r4
mov sp, r4

View file

@ -12,7 +12,7 @@ extern "C" {
args: usize, // r3
ip: usize,
rpt: usize,
debug: bool,
resume: bool,
xpt: usize,
debug_resume: usize,
) -> !;
}