Skip to content

Commit

Permalink
riscv64: use ecall instruction in syscalls
Browse files Browse the repository at this point in the history
scall instruction was renamed to ecall in riscv spec v2.1.
Encoding and functionality were unchanged.

JIRA: RTOS-539
  • Loading branch information
lukileczo committed Aug 17, 2023
1 parent bc3d5f8 commit 629ad45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/riscv64/syscalls.S
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ sym: \
.cfi_rel_offset a6, 48; \
.cfi_rel_offset a7, 56; \
li a7, sn; \
scall; \
ecall; \
add sp, sp, 64; \
.cfi_adjust_cfa_offset -64; \
ret; \
Expand Down

0 comments on commit 629ad45

Please sign in to comment.