disas: Have disas_set_info() take a const CPUState
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | target/arm: Have arm_feature() take a const @env argumenttarget/ | +1 | 0 replies | |
| 2/7 | target/arm: Have cpu_isar_feature() use a const ARMCPU objecttarget/ | +1 | 0 replies | |
| 3/7 | target/arm: Have is_64() take a const @env argumenttarget/ | +1 | 0 replies | |
| 4/7 | target/arm: Have arm_sctlr_b() take a const @env argumenttarget/ | +1 | 0 replies | |
| 5/7 | disas/riscv: Make rv_decode::cfg constdisas/ disas/ | +4 | 0 replies | |
| 6/7 | disas: Make disassemble_info::target_info field constinclude/ | +1 | 0 replies | |
| 7/7 | disas: Have disas_set_info() take a const CPUStateinclude/ target/ target/ +16 more | +38 | 1 reply |
Reviews trailers per patch
1 of 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Richard Henderson | Thomas Huth |
|---|---|---|
| Series | R-b | |
| 1/7 | ||
| 2/7 | ||
| 3/7 | ||
| 4/7 | ||
| 5/7 | ||
| 6/7 | ||
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] disas: Have disas_set_info() take a const CPUState
Have the CPUClass::disas_set_info() handler take a const CPUState to be sure it is not modified. In order to do that, first constify few callees (ARM & RISCV).
Philippe Mathieu-Daudé (7):
target/arm: Have arm_feature() take a const @env argument target/arm: Have cpu_isar_feature() use a const ARMCPU object target/arm: Have is_64() take a const @env argument target/arm: Have arm_sctlr_b() take a const @env argument disas/riscv: Make rv_decode::cfg const
disas: Make disassemble_info::target_info field const
disas: Have disas_set_info() take a const CPUState
disas/riscv.h | 2 +- include/disas/dis-asm.h | 2 +- include/hw/core/cpu.h | 2 +- target/arm/cpu-features.h | 2 +- target/arm/cpu.h | 6 +++--- disas/riscv.c | 5 +++-- target/alpha/cpu.c | 3 ++- target/arm/cpu.c | 6 +++--- target/avr/cpu.c | 2 +- target/hexagon/cpu.c | 3 ++- target/hppa/cpu.c | 2 +- target/i386/cpu.c | 6 +++--- target/loongarch/cpu.c | 3 ++- target/m68k/cpu.c | 2 +- target/microblaze/cpu.c | 2 +- target/mips/cpu.c | 7 +++++-- target/openrisc/cpu.c | 2 +- target/ppc/cpu_init.c | 5 +++-- target/riscv/cpu.c | 7 ++++--- target/rx/cpu.c | 2 +- target/s390x/cpu.c | 2 +- target/sh4/cpu.c | 3 ++- target/sparc/cpu.c | 3 ++- target/xtensa/cpu.c | 3 ++- 24 files changed, 47 insertions(+), 35 deletions(-)
Signature · 1 line
2.52.0