diff options
author | 2020-12-02 14:45:56 +0000 | |
---|---|---|
committer | 2020-12-02 14:45:56 +0000 | |
commit | 155dd567d875fe8a911e694a3297988ce343fc70 (patch) | |
tree | 48e4495bf504ce0e44fce8f74d8d2a8802a48aab /src/asm.rs | |
parent | 3b184eaa0abf147d607f918985bdffd6abe31a51 (diff) | |
download | cortex-m-155dd567d875fe8a911e694a3297988ce343fc70.tar.gz cortex-m-155dd567d875fe8a911e694a3297988ce343fc70.tar.zst cortex-m-155dd567d875fe8a911e694a3297988ce343fc70.zip |
Update src/asm.rs
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | src/asm.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -169,7 +169,7 @@ pub unsafe fn bx_ns(addr: u32) { /// /// This method is used by cortex-m-semihosting to provide semihosting syscalls. #[inline] -pub unsafe fn sh_syscall(nr: u32, arg: u32) -> u32 { +pub unsafe fn semihosting_syscall(nr: u32, arg: u32) -> u32 { call_asm!(__sh_syscall(nr: u32, arg: u32) -> u32) } |