mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
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:
parent
a3e55834e9
commit
f657caa176
2 changed files with 3 additions and 3 deletions
|
|
@ -153,7 +153,7 @@ _prep_args:
|
||||||
|
|
||||||
# Prepare arguments for the kernel `init` function (entrypoint)
|
# Prepare arguments for the kernel `init` function (entrypoint)
|
||||||
mov r0, r3
|
mov r0, r3
|
||||||
pop {r2, r1}
|
pop {r3, r2, r1}
|
||||||
|
|
||||||
# Restore kernel stack pointer from the r4
|
# Restore kernel stack pointer from the r4
|
||||||
mov sp, r4
|
mov sp, r4
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ extern "C" {
|
||||||
args: usize, // r3
|
args: usize, // r3
|
||||||
ip: usize,
|
ip: usize,
|
||||||
rpt: usize,
|
rpt: usize,
|
||||||
debug: bool,
|
xpt: usize,
|
||||||
resume: bool,
|
debug_resume: usize,
|
||||||
) -> !;
|
) -> !;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue