-
Enhancement
-
Resolution: Fixed
-
P4
-
11, 17, 18, 19
On behalf of Junfeng Xie (xiejunfeng3@huawei.com)
This patch adds Zero support for the 32-bit RISC-V architecture.
RV32 only has no `SYS_futex` syscall, so we add SYS_futex -> SYS_futex_time64 aliasing to make it work. [1]
It has been successfully cross-compiled and java -version looks good:
$ qemu-riscv32 -L /path/to/riscv32/sysroot /path/to/riscv-port/openjdk-19-internal/bin/java --version
openjdk 19-internal 2022-09-20
OpenJDK Runtime Environment (build 19-internal-adhoc.xiejunfeng.riscv-port)
OpenJDK Zero VM (build 19-internal-adhoc.xiejunfeng.riscv-port, interpreted mode)
[1] https://patchwork.sourceware.org/patch/37316/
This patch adds Zero support for the 32-bit RISC-V architecture.
RV32 only has no `SYS_futex` syscall, so we add SYS_futex -> SYS_futex_time64 aliasing to make it work. [1]
It has been successfully cross-compiled and java -version looks good:
$ qemu-riscv32 -L /path/to/riscv32/sysroot /path/to/riscv-port/openjdk-19-internal/bin/java --version
openjdk 19-internal 2022-09-20
OpenJDK Runtime Environment (build 19-internal-adhoc.xiejunfeng.riscv-port)
OpenJDK Zero VM (build 19-internal-adhoc.xiejunfeng.riscv-port, interpreted mode)
[1] https://patchwork.sourceware.org/patch/37316/