summaryrefslogtreecommitdiffstats
path: root/src/include/usr/runtime/runtime.H
diff options
context:
space:
mode:
authorcrgeddes <crgeddes@us.ibm.com>2016-12-05 17:15:29 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-12-20 11:54:41 -0500
commitc2dd21c843eaa6b136388ec3ec910944e88ce681 (patch)
tree2fb854639b1d62da88afef8b6cfe0cd7ba1d5fde /src/include/usr/runtime/runtime.H
parent7c8bb50ef4e2f3e75bb5fb7d8c32f929599f4ca0 (diff)
downloadblackbird-hostboot-c2dd21c843eaa6b136388ec3ec910944e88ce681.tar.gz
blackbird-hostboot-c2dd21c843eaa6b136388ec3ec910944e88ce681.zip
Add option to get reserved mem section from hdat service
In the future, attribute/targeting hdat data will be stored in main store memory and hdat will just have a pointer to the memory location. This is setting up the ability for hdat service to provide the memory locations. Change-Id: I3d6748cb496c79465602d89e3c4f6d4508a68b35 RTC:165369 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33436 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/runtime/runtime.H')
-rw-r--r--src/include/usr/runtime/runtime.H7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/usr/runtime/runtime.H b/src/include/usr/runtime/runtime.H
index 286e649e5..dc24175cb 100644
--- a/src/include/usr/runtime/runtime.H
+++ b/src/include/usr/runtime/runtime.H
@@ -83,6 +83,10 @@ errlHndl_t populate_RtDataByNode(uint64_t iNodeId);
#define HBRT_VPD_SECTION 0
#define HBRT_ATTRIB_SECTION 1
+//Note this means the Reserved Mem sub-section is the 6th
+//(0 based) of the MDT section (See HDAT spec)
+#define MDT_RESERVED_HB_MEM_SECTION 5
+
/**
* HDAT Sections
*/
@@ -101,7 +105,8 @@ enum SectionId
NACA, //< NACA
HBRT, //< Hostboot Runtime
HBRT_DATA, //< Hostboot Runtime Data
- LAST_SECTION = HBRT_DATA //< Placeholder for arrays
+ RESERVED_MEM, //< Hostboot's Reserved Mainstore Memory
+ LAST_SECTION = RESERVED_MEM //< Placeholder for arrays
};
/**
OpenPOWER on IntegriCloud