Skip to contentSkip to conversation

accel/tcg: Constify various helpers

PATCH Richard Henderson 1 participant 1 message Jan 21, 2025 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Richard Henderson

author Reviewed-by
#1 lore raw
Quoted 12 lines · Philippe Mathieu-Daudé

Constify argument in preparation of constifying CPUClass helpers.

Philippe Mathieu-Daudé (8):
accel/tcg: Constify curr_cflags() accel/tcg: Constify tcg_cflags_has() accel/tcg: Constify cpu_in_serial_context() accel/tcg: Consfity tlb_index() and tlb_entry() accel/tcg: Constify tlb_hit_page_anyprot() accel/tcg: Constify sizeof_tlb() and tlb_n_entries() accel/tcg: Constify translator_use_goto_tb() accel/tcg: Constify tb encode_search()

Quoted 9 lines
  accel/tcg/internal-common.h      |  4 ++--
  include/exec/translation-block.h |  2 +-
  include/exec/translator.h        |  2 +-
  accel/tcg/cpu-exec.c             |  4 ++--
  accel/tcg/cputlb.c               | 13 +++++++------
  accel/tcg/translate-all.c        |  4 ++--
  accel/tcg/translator.c           |  2 +-
  7 files changed, 16 insertions(+), 15 deletions(-)

r~