We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b84fc8 commit c4b0b36Copy full SHA for c4b0b36
cortex-m/src/asm.rs
@@ -190,7 +190,7 @@ pub unsafe fn semihosting_syscall(nr: u32, arg: u32) -> u32 {
190
#[cfg(cortex_m)]
191
#[inline(always)]
192
pub unsafe fn enter_unprivileged(psp: *const u32, entry: fn() -> !) -> ! {
193
- asm!(
+ core::arch::asm!(
194
"mrs {tmp}, CONTROL",
195
"orr {tmp}, #3",
196
"msr PSP, {psp}",
0 commit comments