diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2013-11-19 15:01:57 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-12-03 13:46:55 -0600 |
commit | 73f53442ca13fdfef1225fa0e761e066c3623454 (patch) | |
tree | f871b9b9349485375571c8be7cb7afbad4258c1a /src/include | |
parent | 80a4cd4e48d52cac3dc3a8a93bc4c243aec8777c (diff) | |
download | talos-hostboot-73f53442ca13fdfef1225fa0e761e066c3623454.tar.gz talos-hostboot-73f53442ca13fdfef1225fa0e761e066c3623454.zip |
Return actual size of MDRT in message to DUMP
Change-Id: I813b9853e765f91c777e265600d08be44c9aad52
CQ: SW235398
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7339
Tested-by: Jenkins Server
Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/usr/runtime/runtime.H | 31 |
1 files changed, 12 insertions, 19 deletions
diff --git a/src/include/usr/runtime/runtime.H b/src/include/usr/runtime/runtime.H index d98e1451e..8103b4fb5 100644 --- a/src/include/usr/runtime/runtime.H +++ b/src/include/usr/runtime/runtime.H @@ -64,7 +64,8 @@ errlHndl_t load_host_data( void ); */ enum SectionId { - HSVC_NODE_DATA, //< HostServices Node Attributes + FIRST_SECTION, //< Placeholder for arrays + HSVC_NODE_DATA = FIRST_SECTION, //< HostServices Node Attributes HSVC_SYSTEM_DATA, //< HostServices System Attributes IPLPARMS_SYSTEM, //< IPL Parms MS_DUMP_SRC_TBL, //< MDST: Memory Dump Source Table @@ -74,6 +75,7 @@ enum SectionId SPIRA_H, //< SPIRA-H SPIRA_L, //< Legacy SPIRA NACA, //< NACA + LAST_SECTION = NACA //< Placeholder for arrays }; /** @@ -97,32 +99,23 @@ errlHndl_t get_host_data_section( SectionId i_section, const size_t DATA_SIZE_UNKNOWN = 0xFFFFFFFFFFFFFFFF; /** - * @brief Update the actual count of section. Only supported for - * memory dump results table + * @brief Store the actual count of a section in local memory. * - * @param[in] i_section Chunk of data to find - * @param[out] i_count Actual countPhysical memory address of data + * @param[in] i_section Chunk of data to update + * @param[in] i_count Actual number of entries * - * @return errlHndl_t NULL on success */ -errlHndl_t update_host_data_section_actual( SectionId i_section, - uint16_t i_count ); +void saveActualCount( RUNTIME::SectionId i_id, + uint16_t i_count ); /** - * @brief This function updates the actual count for the MDRT - * May be called at anytime, but the actual value is updated - * to the SPIRA during populate_attributes + * @brief Write the stored actual count to SPIRA * - */ -void update_MDRT_Count(uint16_t i_count); - -/** - * @brief This function writes the stored count for the MDRT - * out to the SPIRA + * @param[in] i_section Chunk of data to update * - * @return errlHndl_t + * @return errlHndl_t NULL on success */ -errlHndl_t write_MDRT_Count(void); +errlHndl_t writeActualCount( RUNTIME::SectionId i_id ); /* * @brief Retrieve and log FFDC data relevant to a given section of |