qemu-e2k/hw/openrisc
Jason A. Donenfeld 2db07d0506 openrisc: re-randomize rng-seed on reboot
When the system reboots, the rng-seed that the FDT has should be
re-randomized, so that the new boot gets a new seed. Since the FDT is in
the ROM region at this point, we add a hook right after the ROM has been
added, so that we have a pointer to that copy of the FDT.

Cc: Stafford Horne <shorne@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Message-id: 20221025004327.568476-11-Jason@zx2c4.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2022-10-27 11:34:31 +01:00
..
Kconfig hw/openrisc: Add PCI bus support to virt 2022-09-04 07:02:57 +01:00
boot.c openrisc: re-randomize rng-seed on reboot 2022-10-27 11:34:31 +01:00
cputimer.c hw/openrisc: Initialize timer time at startup 2022-09-04 07:02:57 +01:00
meson.build hw/openrisc: Add the OpenRISC virtual machine 2022-09-04 07:02:57 +01:00
openrisc_sim.c hw/openrisc: Split re-usable boot time apis out to boot.c 2022-09-04 07:02:56 +01:00
virt.c hw/openrisc: virt: pass random seed to fdt 2022-09-04 07:02:57 +01:00