riscvarchive / riscv-qemu

QEMU with RISC-V (RV64G, RV32G) Emulation Support
387 stars 154 forks source link

Remove cmpxchg and cmpxchg64 syscalls #86

Closed michaeljclark closed 6 years ago

michaeljclark commented 6 years ago

cmpxchg and cmpxchg64 syscalls have been removed from the Linux ABI as the A extension is now mandatory for the Linux/UNIX platform. They can be removed from target-riscv/user_syscall.c. See https://github.com/riscv/riscv-qemu/blob/07146abe22e5ea5948fda5d511fd1fd228e196fa/target-riscv/user_syscall.c

michaeljclark commented 6 years ago

The https://github.com/riscv/riscv-qemu/tree/qemu-upstream-v1 branch removes the cmpxchg syscalls

We can keep this issue open until we rebase master against upstream or backport the change.

michaeljclark commented 6 years ago

The cmpxchg syscalls have been removed in the riscv-next branch