summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Cave-Ayland2018-06-07 18:59:55 +0200
committerDavid Gibson2018-06-12 02:44:36 +0200
commit5b64db9754bde0b8e0329ce77d3647a0a2f6da56 (patch)
tree62bb90d988688cf1863df1e49e60b385e066f01b /include
parentppc: remove obsolete macio_init() definition from mac.h (diff)
downloadqemu-5b64db9754bde0b8e0329ce77d3647a0a2f6da56.tar.gz
qemu-5b64db9754bde0b8e0329ce77d3647a0a2f6da56.tar.xz
qemu-5b64db9754bde0b8e0329ce77d3647a0a2f6da56.zip
ppc: add missing FW_CFG_PPC_NVRAM_FLAT definition
This is used in OpenBIOS to define the memory layout of the NVRAM device. Whilst currently left at its default value, add the missing definition to ensure it is reserved. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
-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 ff0ac306be..b18ef3eefb 100644
--- a/include/hw/ppc/ppc.h
+++ b/include/hw/ppc/ppc.h
@@ -100,6 +100,7 @@ enum {
#define FW_CFG_PPC_KVM_PID (FW_CFG_ARCH_LOCAL + 0x07)
#define FW_CFG_PPC_NVRAM_ADDR (FW_CFG_ARCH_LOCAL + 0x08)
#define FW_CFG_PPC_BUSFREQ (FW_CFG_ARCH_LOCAL + 0x09)
+#define FW_CFG_PPC_NVRAM_FLAT (FW_CFG_ARCH_LOCAL + 0x0a)
#define PPC_SERIAL_MM_BAUDBASE 399193