unicorn/qemu/target
Richard Henderson 47b797f1bb
target/riscv: Use env_cpu, env_archcpu
Cleanup in the boilerplate that each target must define.
Replace riscv_env_get_cpu with env_archcpu. The combination
CPU(riscv_env_get_cpu) should have used ENV_GET_CPU to begin;
use env_cpu now.

Backports commit 3109cd98a6c0c618189b38a83a8aa29cb20acbce from qemu
2019-06-12 12:06:19 -04:00
..
arm target/arm: Use env_cpu, env_archcpu 2019-06-12 11:34:08 -04:00
i386 target/i386: Use env_cpu, env_archcpu 2019-06-12 11:46:35 -04:00
m68k target/m68k: Use env_cpu 2019-06-12 11:51:23 -04:00
mips target/mips: Use env_cpu, env_archcpu 2019-06-12 11:55:43 -04:00
riscv target/riscv: Use env_cpu, env_archcpu 2019-06-12 12:06:19 -04:00
sparc cpu: Replace ENV_GET_CPU with env_cpu 2019-06-12 11:16:16 -04:00