Fix building on aarch64
This commit is contained in:
@@ -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)
|
||||
);
|
||||
|
||||
@@ -434,8 +434,7 @@ pub struct SignalHandlerStack {
|
||||
unsafe extern fn signal_handler_wrapper() {
|
||||
core::arch::asm!(
|
||||
"
|
||||
1:
|
||||
b 1f
|
||||
udf #0
|
||||
",
|
||||
options(noreturn)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user