PPC: Add timer handler for newworld mac-io
commita0f9fdfd98cc0571f9921a7eadd7316532e3e289
authorAlexander Graf <agraf@suse.de>
Sun, 30 Jun 2013 03:15:14 +0000 (30 05:15 +0200)
committerAlexander Graf <agraf@suse.de>
Thu, 11 Jul 2013 16:51:25 +0000 (11 18:51 +0200)
treec72a0bf79b976d84011bc8f8e2450691b8a9532f
parent80fc95d8bdaf3392106b131a97ca701fd374489a
PPC: Add timer handler for newworld mac-io

Mac OS X accesses fancy timer registers inside of the mac-io on bootup.

These really should be ticking at the mac-io bus frequency, but I don't
see anyone upset when we just make them as fast as we want to.

With this patch on top of my previous patch queue and latest OpenBIOS
I am able to boot Mac OS X 10.4 with -M mac99.

Signed-off-by: Alexander Graf <agraf@suse.de>
hw/misc/macio/macio.c