]> git.proxmox.com Git - mirror_qemu.git/commit
target/riscv: Allow setting ISA extensions via CPU props
authorAlistair Francis <Alistair.Francis@wdc.com>
Mon, 6 May 2019 22:49:53 +0000 (22:49 +0000)
committerPalmer Dabbelt <palmer@sifive.com>
Mon, 24 Jun 2019 06:44:41 +0000 (23:44 -0700)
commitb55d7d34f6adf7bd246ae2eabf2d66eb5e024a68
tree110aa673d0c0ad9ae4af2606a507c4c170eb73ab
parent474f3938d79ab36b9231c9ad3b5a9314c2aeacde
target/riscv: Allow setting ISA extensions via CPU props

This patch allows us to enable/disable the RISC-V ISA extensions from
the QEMU command line. This works with the rv32 and rv64 machines. The
idea is that in the future we can now add extensions and leave them
disabled by default until enabled by the user.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
target/riscv/cpu.c
target/riscv/cpu.h