summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBALATON Zoltan2014-04-17 19:04:44 +0200
committerAlexander Graf2014-06-16 13:24:28 +0200
commit9d1c128341df7a303571f172d986291b4f3ed9ee (patch)
treeb7d1ff5d10eb7d1ad999be296c7a2c0e1ae73923 /include
parenttarget-ppc: Remove PVR check from migration (diff)
downloadqemu-9d1c128341df7a303571f172d986291b4f3ed9ee.tar.gz
qemu-9d1c128341df7a303571f172d986291b4f3ed9ee.tar.xz
qemu-9d1c128341df7a303571f172d986291b4f3ed9ee.zip
mac99: Added FW_CFG_PPC_BUSFREQ to match CLOCKFREQ and TBFREQ already there
While there, also moved the hard coded value for CLOCKFREQ to a #define. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/hw/ppc/ppc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/ppc/ppc.h b/include/hw/ppc/ppc.h
index d71bd07497..7e16e2e06c 100644
--- a/include/hw/ppc/ppc.h
+++ b/include/hw/ppc/ppc.h
@@ -92,6 +92,8 @@ enum {
#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)
+/* OpenBIOS has FW_CFG_PPC_NVRAM_ADDR as +0x08 */
+#define FW_CFG_PPC_BUSFREQ (FW_CFG_ARCH_LOCAL + 0x09)
#define PPC_SERIAL_MM_BAUDBASE 399193