target/xtensa: Finalize config in xtensa_register_core()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 9 Feb 2025 21:11:46 +0000 (22:11 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 6 Mar 2025 14:46:18 +0000 (15:46 +0100)
commit05769aae6288a69ba04b0162ed0a15b08b2b7878
tree06af96214089f9131ae2d78e9d5ba38f3abbe4fa
parent1e6fbd637bbbfdd8ff13ed665b5294fab4771862
target/xtensa: Finalize config in xtensa_register_core()

Make XtensaConfigList::config not const. Only modify
XtensaConfig within xtensa_register_core(), when the
class is registered, not when it is initialized.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Message-Id: <20250210133134.90879-4-philmd@linaro.org>
target/xtensa/cpu.h
target/xtensa/helper.c