summary refs log tree commit diff stats
path: root/hw/mips/loongson3_bootp.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-01-12 21:09:50 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-01-31 19:36:43 +0100
commit7eb372cc8bed1639e43529632a4fbb8b3f645194 (patch)
tree1626a401918c6b28505a5f546b5cd3123171d291 /hw/mips/loongson3_bootp.h
parent18271b5357a288c915d86f8f997085668e9d0b47 (diff)
downloadfocaccia-qemu-7eb372cc8bed1639e43529632a4fbb8b3f645194.tar.gz
focaccia-qemu-7eb372cc8bed1639e43529632a4fbb8b3f645194.zip
hw/mips/loongson3_virt: Propagate processor_id to init_loongson_params()
Remove one &first_cpu use in hw/mips/loongson3_bootp.c.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250115232952.31166-10-philmd@linaro.org>
Diffstat (limited to 'hw/mips/loongson3_bootp.h')
-rw-r--r--hw/mips/loongson3_bootp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mips/loongson3_bootp.h b/hw/mips/loongson3_bootp.h
index ee6340e42c..9dc325a855 100644
--- a/hw/mips/loongson3_bootp.h
+++ b/hw/mips/loongson3_bootp.h
@@ -233,7 +233,7 @@ enum {
 
 extern const MemMapEntry virt_memmap[];
 void init_loongson_params(struct loongson_params *lp, void *p,
-                          uint32_t cpu_count,
+                          uint32_t cpu_count, uint32_t processor_id,
                           uint64_t cpu_freq, uint64_t ram_size);
 void init_reset_system(struct efi_reset_system_t *reset);