OSDN Git Service

PPC: Mac: Move tbfreq into local variable
authorAlexander Graf <agraf@suse.de>
Sun, 13 Jul 2014 20:29:02 +0000 (22:29 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 8 Sep 2014 10:50:52 +0000 (12:50 +0200)
commitcaae6c961107c4c55731a86572f9a1f53837636b
tree8bb4b61ea92dad1111774543b7612307ee79482c
parent2d9907a3332888e43bc73fe9b98a32f8de662526
PPC: Mac: Move tbfreq into local variable

We already expose the real CPU's tb frequency to the guest via fw_cfg. Soon
we will need to also expose it to the MacIO, so let's move it to a variable
that we can leverage every time we need the frequency.

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