summary refs log tree commit diff stats
path: root/hw/mem/sparse-mem.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2021-03-11 10:05:04 +0000
committerLaurent Vivier <laurent@vivier.eu>2021-03-16 21:41:37 +0100
commit82ff856fe7f6bc6dfba2c60ba6ec24e045696562 (patch)
treeea34bc8c6c58cf4d2c44bb85a54e35bc349464af /hw/mem/sparse-mem.c
parent4c8f4ab41c3a057430c789cc7bf3f6dfaa00dc18 (diff)
downloadfocaccia-qemu-82ff856fe7f6bc6dfba2c60ba6ec24e045696562.tar.gz
focaccia-qemu-82ff856fe7f6bc6dfba2c60ba6ec24e045696562.zip
mac_via: fix 60Hz VIA1 timer interval
The 60Hz timer is initialised using timer_new_ns() meaning that the timer
interval should be measured in ns, and therefore its period is a thousand
times too short.

Use a define for the 60Hz timer period taking the more precise value as
documented in the Guide To The Macintosh Family Hardware.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <20210311100505.22596-7-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/mem/sparse-mem.c')
0 files changed, 0 insertions, 0 deletions