diff options
| author | Atish Patra <atishp@rivosinc.com> | 2022-08-24 15:16:58 -0700 |
|---|---|---|
| committer | Alistair Francis <alistair.francis@wdc.com> | 2022-09-07 09:19:15 +0200 |
| commit | ade445ef85aa0cf711a311132cb458f11f6a6d12 (patch) | |
| tree | a30b72aaefc423cc480e7fb95927fce528631e30 /hw/core/sysbus-fdt.c | |
| parent | 14664483457b21235be42fbfb534e5ea881508b8 (diff) | |
| download | focaccia-qemu-ade445ef85aa0cf711a311132cb458f11f6a6d12.tar.gz focaccia-qemu-ade445ef85aa0cf711a311132cb458f11f6a6d12.zip | |
target/riscv: Simplify counter predicate function
All the hpmcounters and the fixed counters (CY, IR, TM) can be represented as a unified counter. Thus, the predicate function doesn't need handle each case separately. Simplify the predicate function so that we just handle things differently between RV32/RV64 and S/HS mode. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Atish Patra <atishp@rivosinc.com> Message-Id: <20220824221701.41932-3-atishp@rivosinc.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/core/sysbus-fdt.c')
0 files changed, 0 insertions, 0 deletions