diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-04-12 00:33:25 -0700 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-06-05 12:14:20 -0700 |
| commit | 3a8ff3667187459427eef5c6b1cdb950c563e094 (patch) | |
| tree | e42dc07bd4ea46cb31894bad9e09c41651e92efa /hw/ide/atapi.c | |
| parent | 10e4927bc4c5ad673e12c0731e6150050cf327de (diff) | |
| download | focaccia-qemu-3a8ff3667187459427eef5c6b1cdb950c563e094.tar.gz focaccia-qemu-3a8ff3667187459427eef5c6b1cdb950c563e094.zip | |
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>
Diffstat (limited to 'hw/ide/atapi.c')
0 files changed, 0 insertions, 0 deletions