summaryrefslogtreecommitdiffstats
path: root/src/include/usr/runtime
diff options
context:
space:
mode:
authorCorey Swenson <cswenson@us.ibm.com>2017-02-07 22:20:56 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-03-08 17:27:25 -0500
commit8c15e0972e877d13fe79432e7ee7c97f550b2889 (patch)
tree9a0346a8af6c10f12c1719746725ae191f4ba8f9 /src/include/usr/runtime
parentea41fffce4f08b98d0197bbdaa7877d36f6d8f79 (diff)
downloadtalos-hostboot-8c15e0972e877d13fe79432e7ee7c97f550b2889.tar.gz
talos-hostboot-8c15e0972e877d13fe79432e7ee7c97f550b2889.zip
Set up HDAT HB Reserved Memory and load reserved memory data
Change-Id: Ie8460ecdf67cd99ab422fe52c4ec936f4c0aa8f1 RTC:165514 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36117 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')
-rw-r--r--src/include/usr/runtime/runtime.H13
-rw-r--r--src/include/usr/runtime/runtime_reasoncodes.H2
2 files changed, 12 insertions, 3 deletions
diff --git a/src/include/usr/runtime/runtime.H b/src/include/usr/runtime/runtime.H
index 3b9dfefe1..0ece1744a 100644
--- a/src/include/usr/runtime/runtime.H
+++ b/src/include/usr/runtime/runtime.H
@@ -98,6 +98,13 @@ errlHndl_t populate_RtDataByNode(uint64_t iNodeId);
// HOMER*8/OCC_Common/VPD/ATTR/HBRT_Image/Res/Res/Res
#define HB_RSV_MEM_NUM_PTRS 15
+// Range types for HB reserved memory
+#define RANGE_TYPE_PRIMARY 0
+#define RANGE_TYPE_HBRT 1
+#define RANGE_TYPE_VERIFIED_LIDS 2
+#define RANGE_TYPE_TPM_LOG 3
+#define RANGE_TYPE_HOMER_OCC 4
+
//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
@@ -163,7 +170,7 @@ void saveActualCount( RUNTIME::SectionId i_id,
*/
errlHndl_t writeActualCount( RUNTIME::SectionId i_id );
-/*
+/**
* @brief Retrieve and log FFDC data relevant to a given section of
* host data memory
*
@@ -175,13 +182,13 @@ errlHndl_t writeActualCount( RUNTIME::SectionId i_id );
void add_host_data_ffdc( SectionId i_section,
errlHndl_t& io_errlog );
-/*
+/**
* @brief Set the PAYLOAD_BASE attribute
* @param[in] i_payloadAddress in MEGABYTES
*/
void setPayloadBaseAddress(uint64_t i_payloadAddress);
-/*
+/**
* @brief Clear out any cached data and rediscover the location
* of the HDAT memory
*/
diff --git a/src/include/usr/runtime/runtime_reasoncodes.H b/src/include/usr/runtime/runtime_reasoncodes.H
index 311851680..2678c28a0 100644
--- a/src/include/usr/runtime/runtime_reasoncodes.H
+++ b/src/include/usr/runtime/runtime_reasoncodes.H
@@ -50,6 +50,8 @@ namespace RUNTIME
MOD_POPULATE_RTDATABYNODE = 0x14, /**< populate_hbruntime.C */
MOD_PM_RT_LOAD_PM_COMPLEX = 0x15, /**< rt_pm.C */
MOD_PM_RT_HCODE_UPDATE = 0x16, /**< rt_pm.C */
+ MOD_MAP_PHYS_ADDR = 0x17, /**< populate_hbruntime.C */
+ MOD_UNMAP_VIRT_ADDR = 0x18, /**< populate_hbruntime.C */
};
enum RuntimeReasonCode
OpenPOWER on IntegriCloud