From dd2a474b7fc3a8937f45d1278e887b370ad81192 Mon Sep 17 00:00:00 2001 From: Doug Gilbert Date: Tue, 15 Oct 2013 13:55:28 -0500 Subject: 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 Reviewed-by: A. Patrick Williams III --- src/include/usr/vmmconst.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/include/usr/vmmconst.h') 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 */ -- cgit v1.2.1