qemu-e2k/hw/misc
Joel Stanley acd9575e59 aspeed_scu: Implement RNG register
The ASPEED SoCs contain a single register that returns random data when
read. This models that register so that guests can use it.

The random number data register has a corresponding control register,
however it returns data regardless of the state of the enabled bit, so
the model follows this behaviour.

When the qcrypto call fails we exit as the guest uses the random number
device to feed it's entropy pool, which is used for cryptographic
purposes.

Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Message-id: 20180613114836.9265-1-joel@jms.id.au
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2018-06-15 15:23:34 +01:00
..
macio mos6522: move timer frequency initialisation to mos6522_reset 2018-06-12 10:44:36 +10:00
a9scu.c
applesmc.c
arm11scu.c
arm_integrator_debug.c hw: Do not include "exec/address-spaces.h" if it is not necessary 2018-06-01 14:15:10 +02:00
arm_l2x0.c
arm_sysctl.c
aspeed_scu.c aspeed_scu: Implement RNG register 2018-06-15 15:23:34 +01:00
aspeed_sdmc.c Fix ast2500 protection register emulation 2018-02-22 15:12:51 +00:00
auxbus.c
bcm2835_mbox.c
bcm2835_property.c
bcm2835_rng.c
cbus.c
debugexit.c
eccmemctl.c
edu.c
exynos4210_clk.c
exynos4210_pmu.c
exynos4210_rng.c Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
hyperv_testdev.c
imx2_wdt.c i.MX: Add code to emulate i.MX2 watchdog IP block 2018-02-09 10:40:29 +00:00
imx6_ccm.c
imx6_src.c
imx7_ccm.c i.MX: Add code to emulate i.MX7 CCM, PMU and ANALOG IP blocks 2018-02-09 10:40:29 +00:00
imx7_gpr.c i.MX: Add implementation of i.MX7 GPR IP block 2018-02-09 10:40:30 +00:00
imx7_snvs.c i.MX: Add code to emulate i.MX7 SNVS IP-block 2018-02-09 10:40:30 +00:00
imx25_ccm.c
imx31_ccm.c
imx_ccm.c
iotkit-secctl.c hw/misc/iotkit-secctl: Add remaining simple registers 2018-03-02 11:03:45 +00:00
ivshmem.c ivshmem: Disable irqfd on device reset 2018-02-07 14:09:24 +01:00
Makefile.objs misc: add pca9552 LED blinker model 2018-06-08 13:15:32 +01:00
max111x.c
milkymist-hpdmc.c
milkymist-pfpu.c
mips_cmgcr.c Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
mips_cpc.c
mips_itu.c hw/misc/mips_itu: Cleanup includes 2018-06-01 14:15:10 +02:00
mmio_interface.c
mos6522.c mos6522: convert VMSTATE_TIMER_PTR_TEST to VMSTATE_TIMER_PTR 2018-06-12 10:44:36 +10:00
mps2-fpgaio.c hw/misc/mps2-fpgaio: FPGA control block for MPS2 AN505 2018-03-02 11:03:45 +00:00
mps2-scc.c Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
msf2-sysreg.c
mst_fpga.c
omap_clk.c
omap_gpmc.c
omap_l4.c
omap_sdrc.c
omap_tap.c
pc-testdev.c
pca9552.c misc: add pca9552 LED blinker model 2018-06-08 13:15:32 +01:00
pci-testdev.c
puv3_pm.c
pvpanic.c
sga.c hw/misc/sga: Use the correct ISA include 2018-06-01 14:15:10 +02:00
slavio_misc.c
stm32f2xx_syscfg.c
tmp105.c hw/i2c: Use DeviceClass::realize instead of I2CSlaveClass::init 2018-06-01 15:14:31 +02:00
tmp105.h
tmp421.c hw/i2c: Use DeviceClass::realize instead of I2CSlaveClass::init 2018-06-01 15:14:31 +02:00
trace-events misc, ide: remove use of HWADDR_PRIx in trace events 2018-05-20 08:25:23 +03:00
tz-ppc.c hw/misc/tz-ppc: Model TrustZone peripheral protection controller 2018-03-02 11:03:45 +00:00
unimp.c hw/misc/unimp: Move struct to header file 2018-03-02 11:03:45 +00:00
vmcoreinfo.c
zynq_slcr.c
zynq-xadc.c