diff options
author | Kahn Evans <kahnevan@us.ibm.com> | 2017-03-21 10:43:26 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2017-04-06 11:02:00 -0400 |
commit | 7c4577857b756a6812921014eb7d9bf3f3d61b92 (patch) | |
tree | fed93f565f5e91692ccf7033619479b9280b5b2a | |
parent | bf390fb845e8b725db86a44f7f79d33234c8ef7b (diff) | |
download | talos-sbe-7c4577857b756a6812921014eb7d9bf3f3d61b92.tar.gz talos-sbe-7c4577857b756a6812921014eb7d9bf3f3d61b92.zip |
Change RingID to RingId_t in putRing
Change-Id: If809a8ec82ff90a6ed9dc2763f7e609524fc75fb
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38351
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38353
Reviewed-by: Hostboot Team <hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
-rw-r--r-- | src/hwpf/include/plat/hw_access.H | 10 | ||||
-rw-r--r-- | src/import/hwpf/fapi2/include/fapi2_hw_access.H | 5 | ||||
-rw-r--r-- | src/import/hwpf/fapi2/include/plat/hw_access.H | 4 |
3 files changed, 9 insertions, 10 deletions
diff --git a/src/hwpf/include/plat/hw_access.H b/src/hwpf/include/plat/hw_access.H index 3c6ffb09..fdbca56a 100644 --- a/src/hwpf/include/plat/hw_access.H +++ b/src/hwpf/include/plat/hw_access.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER sbe Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2016 */ +/* Contributors Listed Below - COPYRIGHT 2012,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -39,8 +39,8 @@ #endif #include <utils.H> +#include <p9_ringId.H> #include <plat_hw_access.H> -#include <fapi2_hw_access.H> #include "plat_ring_traverse.H" // for findRS4InImageAndApply namespace fapi2 @@ -57,14 +57,14 @@ namespace fapi2 /// @brief Sets the PIB error mask - platform dependant /// @param[in] i_mask The new error mask - void setPIBErrorMask(uint8_t i_mask) + inline void setPIBErrorMask(uint8_t i_mask) { PLAT_SET_PIB_ERROR_MASK(i_mask); } /// @brief Gets the PIB error mask - platform dependant /// @return uint8_t The current PIB error mask - uint8_t getPIBErrorMask(void) + inline uint8_t getPIBErrorMask(void) { PLAT_GET_PIB_ERROR_MASK(o_pib_mask); return o_pib_mask; @@ -288,7 +288,7 @@ __fapi2exit__: template< TargetType K, typename V > inline ReturnCode putRing(const Target<K, V>& i_target, const RingID i_ringID, - const RingMode i_ringMode) + const RingMode i_ringMode = RING_MODE_HEADER_CHECK) { ReturnCode l_rc = FAPI2_RC_SUCCESS; diff --git a/src/import/hwpf/fapi2/include/fapi2_hw_access.H b/src/import/hwpf/fapi2/include/fapi2_hw_access.H index 07bcd5d0..ca9d70ac 100644 --- a/src/import/hwpf/fapi2/include/fapi2_hw_access.H +++ b/src/import/hwpf/fapi2/include/fapi2_hw_access.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER sbe Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2016 */ +/* Contributors Listed Below - COPYRIGHT 2015,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -48,7 +48,6 @@ #include <target.H> #include <hw_access_def.H> #include <plat_hw_access.H> -#include <p9_ringId.H> namespace fapi2 { @@ -159,7 +158,7 @@ inline ReturnCode modifyCfamRegister(const Target<K, V>& i_target, /// @return fapi2::ReturnCode. FAPI2_RC_SUCCESS if success, else error code. template< TargetType K, typename V > ReturnCode putRing(const Target<K, V>& i_target, - const RingID i_ringID, + const RingId_t i_ringID, const RingMode i_ringMode = RING_MODE_HEADER_CHECK); // variable_buffer isn't supported on PPE diff --git a/src/import/hwpf/fapi2/include/plat/hw_access.H b/src/import/hwpf/fapi2/include/plat/hw_access.H index 3a4b87b1..bd202809 100644 --- a/src/import/hwpf/fapi2/include/plat/hw_access.H +++ b/src/import/hwpf/fapi2/include/plat/hw_access.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER sbe Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2016 */ +/* Contributors Listed Below - COPYRIGHT 2015,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -244,7 +244,7 @@ inline ReturnCode modifyCfamRegister(const Target<K, V>& i_target, /// @return fapi::ReturnCode. FAPI2_RC_SUCCESS if success, else error code. template< TargetType K, typename V > ReturnCode putRing(const Target<K, V>& i_target, - const RingID i_ringID, + const RingId_t i_ringID, const RingMode i_ringMode) { std::cout << std::hex << " putRing " |