cuda.c: fix T2 timer and enable its interrupt
commita53cfdcca2834ec7e61fd955c4f24ac233c4ec16
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 11 Nov 2015 22:49:50 +0000 (11 22:49 +0000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 12 Nov 2015 02:15:55 +0000 (12 13:15 +1100)
treed386862957975383ca0afe5d860abc398e0a011c
parent0174adb611a22bcfeeb123851cf4874e6d922d06
cuda.c: fix T2 timer and enable its interrupt

Fix the counter loading logic and enable the T2 interrupt when the timer
expires. Otherwise MacOS 9 hangs on boot.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/misc/macio/cuda.c