Fix building on aarch64

This commit is contained in:
Jeremy Soller
2022-08-19 16:12:42 -06:00
parent 38361661e6
commit 49fcafac45
2 changed files with 2 additions and 4 deletions

View File

@@ -202,8 +202,7 @@ pub unsafe extern fn kstart_ap(args_ptr: *const KernelArgsAp) -> ! {
pub unsafe fn usermode(ip: usize, sp: usize, arg: usize, _singlestep: usize) -> ! {
core::arch::asm!(
"
1:
b 1f
udf #0
",
options(noreturn)
);

View File

@@ -434,8 +434,7 @@ pub struct SignalHandlerStack {
unsafe extern fn signal_handler_wrapper() {
core::arch::asm!(
"
1:
b 1f
udf #0
",
options(noreturn)
);