]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/mips/loongson3: Propagate cpu_count to init_loongson_params()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 12 Jan 2025 20:15:30 +0000 (21:15 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 31 Jan 2025 18:36:43 +0000 (19:36 +0100)
commit61f6e494e3ee060c92491d8df9315e4fdf590864
treeb491d1817d9dc08942903ef423f08c4ab3122ed0
parentce6768965b5713c353097d362f712e2bca1ef354
hw/mips/loongson3: Propagate cpu_count to init_loongson_params()

Propagate the %cpu_count from the machine file, allowing
to remove the "hw/boards.h" dependency (which is machine
specific) from loongson3_bootp.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250115232952.31166-7-philmd@linaro.org>
hw/mips/loongson3_bootp.c
hw/mips/loongson3_bootp.h
hw/mips/loongson3_virt.c