PPC: Mac: Fix guest exported tbfreq values
authorAlexander Graf <agraf@suse.de>
Sat, 29 Jun 2013 15:34:58 +0000 (17:34 +0200)
committerAlexander Graf <agraf@suse.de>
Thu, 11 Jul 2013 16:51:23 +0000 (18:51 +0200)
commit536d8cda4adef3d202a800688ed5f63dae1f0f88
tree03f5c86bc8231d4ed97dc4343734cccbd5aa1906
parent8d43ea1c97d0d611f9cf868fe78b17f2a1031298
PPC: Mac: Fix guest exported tbfreq values

We can tell the guest the frequency of its time base through fwcfg.

However, we tell it a different value from the speed tb actually runs
at. Let's fix it and make the tbfreq initialization and the fwcfg exposure
use the same values.

Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/mac_newworld.c
hw/ppc/mac_oldworld.c