From f6edec89babe16ef59fac55747908cb015efd280 Mon Sep 17 00:00:00 2001 From: Simon Renblad Date: Mon, 30 Dec 2024 15:57:53 +0800 Subject: [PATCH] change lateout to out --- libcortex_a9/src/asm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcortex_a9/src/asm.rs b/libcortex_a9/src/asm.rs index 5b3aa15..04272a8 100644 --- a/libcortex_a9/src/asm.rs +++ b/libcortex_a9/src/asm.rs @@ -54,7 +54,7 @@ pub unsafe fn enter_critical() -> bool { let mut cpsr: u32; asm!( "mrs {}, cpsr - cpsid i", lateout(reg) cpsr); + cpsid i", out(reg) cpsr); (cpsr & (1 << 7)) == 0 }