hw/core/generic-loader: Do not open-code cpu_set_pc()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 21 Jan 2025 11:12:21 +0000 (12:12 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 6 Mar 2025 14:46:18 +0000 (15:46 +0100)
commit2beb871dc20b57fc4b1ec2285dfc2145baf9df80
tree43a078b6476a04928cc347deb01bb9238d9d9c48
parentf821d894de2025611f2b19598fc4191ac4167ed9
hw/core/generic-loader: Do not open-code cpu_set_pc()

Directly call cpu_set_pc() instead of open-coding it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250122093028.52416-2-philmd@linaro.org>
hw/core/generic-loader.c