qemu/include/hw/misc
Mark Cave-Ayland d638fd5c96 mos6522: move timer frequency initialisation to mos6522_reset
The 6522 VIA timer frequency cannot be set by altering registers within the
device itself and hence it is a fixed property of the machine.

Move the initialisation of the timer frequency to the mos6522 reset function
and ensure that any subclasses always call the parent reset function so that
it isn't required to store the timer frequency within vmstate_mos6522_timer
itself.

By moving the frequency initialisation to the device reset function then we
find that the realize function for both mos6522 and mos6522_cuda becomes
obsolete and can simply be removed.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2018-06-12 10:44:36 +10:00
..
macio
a9scu.h
arm11scu.h
arm_integrator_debug.h
aspeed_scu.h
aspeed_sdmc.h
auxbus.h
bcm2835_mbox_defs.h
bcm2835_mbox.h
bcm2835_property.h
bcm2835_rng.h
imx2_wdt.h
imx6_ccm.h
imx6_src.h
imx7_ccm.h
imx7_gpr.h
imx7_snvs.h
imx25_ccm.h
imx31_ccm.h
imx_ccm.h
iotkit-secctl.h
ivshmem.h
mips_cmgcr.h
mips_cpc.h
mips_itu.h
mmio_interface.h
mos6522.h mos6522: move timer frequency initialisation to mos6522_reset 2018-06-12 10:44:36 +10:00
mps2-fpgaio.h
mps2-scc.h
msf2-sysreg.h
pca9552_regs.h
pca9552.h
pvpanic.h
stm32f2xx_syscfg.h
tmp105_regs.h
tz-ppc.h
unimp.h
vmcoreinfo.h
zynq-xadc.h