aboutsummaryrefslogtreecommitdiff
path: root/include/hw/ppc
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2013-06-23 00:22:50 +0200
committerAlexander Graf <agraf@suse.de>2013-07-01 01:11:17 +0200
commita1014f25ef54bbbdaf571873a1254f85d6dcf132 (patch)
treee942930ffabd3b5fd84363773687cb252cfb592f /include/hw/ppc
parent9761ad757182be663fa31af99abad959ac63b17f (diff)
downloadqemu-a1014f25ef54bbbdaf571873a1254f85d6dcf132.zip
qemu-a1014f25ef54bbbdaf571873a1254f85d6dcf132.tar.gz
qemu-a1014f25ef54bbbdaf571873a1254f85d6dcf132.tar.bz2
PPC: Add clock-frequency export for Mac machines
Support in fwcfg has been around for exposure of the clock-frequency CPU property. OpenBIOS reads it, we just never exposed it. Since Mac OS X is very picky about its clock frequency values, let's just take a known good value and always expose that. Reported-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/hw/ppc')
-rw-r--r--include/hw/ppc/ppc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/ppc.h b/include/hw/ppc/ppc.h
index acaf0d6..dfcad25 100644
--- a/include/hw/ppc/ppc.h
+++ b/include/hw/ppc/ppc.h
@@ -87,6 +87,7 @@ enum {
#define FW_CFG_PPC_HEIGHT (FW_CFG_ARCH_LOCAL + 0x01)
#define FW_CFG_PPC_DEPTH (FW_CFG_ARCH_LOCAL + 0x02)
#define FW_CFG_PPC_TBFREQ (FW_CFG_ARCH_LOCAL + 0x03)
+#define FW_CFG_PPC_CLOCKFREQ (FW_CFG_ARCH_LOCAL + 0x04)
#define FW_CFG_PPC_IS_KVM (FW_CFG_ARCH_LOCAL + 0x05)
#define FW_CFG_PPC_KVM_HC (FW_CFG_ARCH_LOCAL + 0x06)
#define FW_CFG_PPC_KVM_PID (FW_CFG_ARCH_LOCAL + 0x07)