qemu/hw/mips
Philippe Mathieu-Daudé 3a8ff36671 hw/mips/malta: Add re-usable rng_seed_hex_new() method
sprintf() is deprecated on Darwin since macOS 13.0 / XCode 14.1.

Extract common code from reinitialize_rng_seed and load_kernel
to rng_seed_hex_new.  Using qemu_hexdump_line both fixes the
deprecation warning and simplifies the code base.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[rth: Use qemu_hexdump_line.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20240412073346.458116-7-richard.henderson@linaro.org>
2024-06-05 12:14:20 -07:00
..
bootloader.c hw/mips/bootloader: Implement nanoMIPS JALRc opcode generator 2023-01-13 09:32:32 +01:00
boston.c hw/ide/ahci: Pass AHCI context to ahci_ide_create_devs() 2024-02-15 16:58:46 +01:00
cps.c hw/misc/mips_itu: Remove MIPSITUState::cpu0 field 2024-02-15 15:53:12 +01:00
fuloong2e.c hw/mips/fuloong2e: use pci_init_nic_devices() 2024-02-02 16:23:47 +00:00
fw_cfg.c hw/mips: Implement fw_cfg_arch_key_name() 2021-01-04 23:32:27 +01:00
fw_cfg.h hw/mips: Implement fw_cfg_arch_key_name() 2021-01-04 23:32:27 +01:00
jazz.c hw/dma: Pass parent object to i8257_dma_init() 2024-02-15 16:58:46 +01:00
Kconfig kconfig: express dependency of individual boards on libfdt 2024-05-10 15:45:15 +02:00
loongson3_bootp.c hw/mips/loongson3_virt: Emulate suspend function 2024-05-09 00:07:21 +02:00
loongson3_bootp.h loongson3: correct typos 2024-02-20 22:21:21 +03:00
loongson3_virt.c hw/mips/loongson3_virt: Emulate suspend function 2024-05-09 00:07:21 +02:00
malta.c hw/mips/malta: Add re-usable rng_seed_hex_new() method 2024-06-05 12:14:20 -07:00
meson.build meson: pick libfdt from common_ss when building target-specific files 2024-05-10 15:45:15 +02:00
mips_int.c qemu/main-loop: rename QEMU_IOTHREAD_LOCK_GUARD to BQL_LOCK_GUARD 2024-01-08 10:45:43 -05:00
mipssim.c hw/sysbus: Inline and remove sysbus_add_io() 2024-02-22 12:47:40 +01:00
trace-events hw/mips/gt64xxx_pci: Move it to hw/pci-host/ 2023-01-13 09:32:32 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00