aboutsummaryrefslogtreecommitdiff
path: root/docs/devel
diff options
context:
space:
mode:
authorChristoph Müllner <christoph.muellner@vrull.eu>2023-06-12 13:10:28 +0200
committerAlistair Francis <alistair.francis@wdc.com>2023-07-10 22:29:14 +1000
commit2e8c1e0215449eb0a88bbb3fae2f6277777611c3 (patch)
treea10fe4b5b1f7618f0e91e82ea2607323778b20bd /docs/devel
parent94692c3a34d9e2e149bd9db188425e9da6e578c6 (diff)
downloadqemu-2e8c1e0215449eb0a88bbb3fae2f6277777611c3.zip
qemu-2e8c1e0215449eb0a88bbb3fae2f6277777611c3.tar.gz
qemu-2e8c1e0215449eb0a88bbb3fae2f6277777611c3.tar.bz2
target/riscv: Factor out extension tests to cpu_cfg.h
This patch moves the extension test functions that are used to gate vendor extension decoders, into cpu_cfg.h. This allows to reuse them in the disassembler. This patch does not introduce new functionality. However, the patch includes a small change: The parameter for the extension test functions has been changed from 'DisasContext*' to 'const RISCVCPUConfig*' to keep the code in cpu_cfg.h self-contained. Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu> Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com> Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn> Message-Id: <20230612111034.3955227-3-christoph.muellner@vrull.eu> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'docs/devel')
0 files changed, 0 insertions, 0 deletions