Skip to content

Commit

Permalink
Update riscv-semihosting/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Taiki Endo <te316e89@gmail.com>
  • Loading branch information
romancardenas and taiki-e authored Jan 2, 2024
1 parent 29bc6c5 commit f98f303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion riscv-semihosting/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ pub unsafe fn syscall1(_nr: usize, _arg: usize) -> usize {
.option pop
",
inout("a0") nr,
inout("a1") arg,
inout("a1") arg => _,
options(nostack, preserves_flags),
);
nr
Expand Down

0 comments on commit f98f303

Please sign in to comment.