File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ pub mod nr;
194
194
195
195
#[ cfg( all( thumb, not( feature = "inline-asm" ) ) ) ]
196
196
extern "C" {
197
- fn __syscall ( nr : usize , arg : usize ) -> usize ;
197
+ fn __sh_syscall ( nr : usize , arg : usize ) -> usize ;
198
198
}
199
199
200
200
/// Performs a semihosting operation, takes a pointer to an argument block
@@ -208,7 +208,7 @@ pub unsafe fn syscall<T>(nr: usize, arg: &T) -> usize {
208
208
pub unsafe fn syscall1 ( _nr : usize , _arg : usize ) -> usize {
209
209
match ( ) {
210
210
#[ cfg( all( thumb, not( feature = "inline-asm" ) , not( feature = "no-semihosting" ) ) ) ]
211
- ( ) => __syscall ( _nr, _arg) ,
211
+ ( ) => __sh_syscall ( _nr, _arg) ,
212
212
213
213
#[ cfg( all( thumb, feature = "inline-asm" , not( feature = "no-semihosting" ) ) ) ]
214
214
( ) => {
You can’t perform that action at this time.
0 commit comments