aboutsummaryrefslogtreecommitdiff
path: root/qemu-keymap.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-04-12 00:33:25 -0700
committerRichard Henderson <richard.henderson@linaro.org>2024-06-05 12:14:20 -0700
commit3a8ff3667187459427eef5c6b1cdb950c563e094 (patch)
treee42dc07bd4ea46cb31894bad9e09c41651e92efa /qemu-keymap.c
parent10e4927bc4c5ad673e12c0731e6150050cf327de (diff)
downloadqemu-3a8ff3667187459427eef5c6b1cdb950c563e094.zip
qemu-3a8ff3667187459427eef5c6b1cdb950c563e094.tar.gz
qemu-3a8ff3667187459427eef5c6b1cdb950c563e094.tar.bz2
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 'qemu-keymap.c')
0 files changed, 0 insertions, 0 deletions