summaryrefslogtreecommitdiffstats
path: root/src/include/usr/vmmconst.h
diff options
context:
space:
mode:
authorDoug Gilbert <dgilbert@us.ibm.com>2013-10-15 13:55:28 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-11-13 14:49:38 -0600
commitdd2a474b7fc3a8937f45d1278e887b370ad81192 (patch)
tree00595698a572529ddcd00fc3c975b588b4ea67dc /src/include/usr/vmmconst.h
parent1aa8f7551005dd48078b91be173e8bcc7e339061 (diff)
downloadtalos-hostboot-dd2a474b7fc3a8937f45d1278e887b370ad81192.tar.gz
talos-hostboot-dd2a474b7fc3a8937f45d1278e887b370ad81192.zip
Add VPD support to HBRT
RTC: 79419 Change-Id: I6d00e52026084a68925691b96d7a491faaffb4ef Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7004 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/vmmconst.h')
-rw-r--r--src/include/usr/vmmconst.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/usr/vmmconst.h b/src/include/usr/vmmconst.h
index d1d0d38a8..c93e62148 100644
--- a/src/include/usr/vmmconst.h
+++ b/src/include/usr/vmmconst.h
@@ -140,6 +140,24 @@ enum BlockPriority
(VMM_OCC_COMMON_SIZE+VMM_HOMER_REGION_SIZE)
+/** Reserved runtime VPD sizes in bytes */
+// must be page aligned
+#define VMM_MODULE_VPD_SIZE 0x80000
+#define VMM_CENTAUR_VPD_SIZE 0x40000
+#define VMM_DIMM_JEDEC_VPD_SIZE 0x40000
+
+/** Total VPD image size */
+#define VMM_RT_VPD_SIZE (VMM_MODULE_VPD_SIZE + \
+ VMM_CENTAUR_VPD_SIZE + \
+ VMM_DIMM_JEDEC_VPD_SIZE)
+
+/** Memory offset for runtime VPD image */
+// Given value is number of bytes BELOW the top of memory to store
+// the runtime image(s) Currently below the OCC HOMER IMAGE
+#define VMM_RT_VPD_OFFSET (VMM_RT_VPD_SIZE + \
+ VMM_ALL_HOMER_OCC_MEMORY_SIZE)
+
+
/**
* Test Constants
*/
OpenPOWER on IntegriCloud