From: Philippe Mathieu-Daudé Date: Tue, 1 Apr 2025 08:09:14 +0000 (+0200) Subject: hw/core/cpu: Update CPUClass::mmu_index docstring X-Git-Tag: v10.1.0-rc0~117^2~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ca6310699f5a295115e090c489d411fd219dcf6;p=thirdparty%2Fqemu.git hw/core/cpu: Update CPUClass::mmu_index docstring Since commits 32a8ea12fab..90b7022e698 (target: "Split out TARGET_env_mmu_index"), target's memory_rw_debug() callbacks use the target's TARGET_env_mmu_index(), not the generic CPUClass::mmu_index() callback. Update the documentation. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Signed-off-by: Richard Henderson Message-ID: <20250401080938.32278-2-philmd@linaro.org> --- diff --git a/include/hw/core/cpu.h b/include/hw/core/cpu.h index 6dcee5d0bae..29f6419050c 100644 --- a/include/hw/core/cpu.h +++ b/include/hw/core/cpu.h @@ -104,8 +104,7 @@ struct SysemuCPUOps; * instantiatable CPU type. * @parse_features: Callback to parse command line arguments. * @reset_dump_flags: #CPUDumpFlags to use for reset logging. - * @mmu_index: Callback for choosing softmmu mmu index; - * may be used internally by memory_rw_debug without TCG. + * @mmu_index: Callback for choosing softmmu mmu index. * @memory_rw_debug: Callback for GDB memory access. * @dump_state: Callback for dumping state. * @query_cpu_fast: