diff options
author | Matt K. Light <mklight@us.ibm.com> | 2016-03-25 10:29:27 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2016-06-23 04:51:45 -0400 |
commit | 62a947b3f67e6171bb6c97a0b4dd1db44b45cb78 (patch) | |
tree | c7174466384b145c02a9d42c4db332a3bea2dde6 /import/hwpf | |
parent | 316b8fe26a87f879f53d493a78d09bab05c3fa8c (diff) | |
download | talos-sbe-62a947b3f67e6171bb6c97a0b4dd1db44b45cb78.tar.gz talos-sbe-62a947b3f67e6171bb6c97a0b4dd1db44b45cb78.zip |
add fapi2::getSpy with ring mode option to enable fastarray code
Change-Id: Ibb5c3e55e0904c8272b9279c5f5dcc5ff1ea7ef2
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22475
Tested-by: Jenkins Server
Tested-by: Hostboot CI
Tested-by: PPE CI
Reviewed-by: Richard J. Knight <rjknight@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22476
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'import/hwpf')
-rw-r--r-- | import/hwpf/fapi2/include/fapi2_hw_access.H | 12 | ||||
-rw-r--r-- | import/hwpf/fapi2/include/plat/hw_access.H | 20 |
2 files changed, 32 insertions, 0 deletions
diff --git a/import/hwpf/fapi2/include/fapi2_hw_access.H b/import/hwpf/fapi2/include/fapi2_hw_access.H index 7e3a073e..2bc28a26 100644 --- a/import/hwpf/fapi2/include/fapi2_hw_access.H +++ b/import/hwpf/fapi2/include/fapi2_hw_access.H @@ -241,6 +241,12 @@ template< TargetType K > inline ReturnCode getSpy(const Target<K>& i_target, const spyId_t i_spyId, variable_buffer& o_data); + +template< TargetType K > +inline ReturnCode getSpy(const Target<K>& i_target, + const spyId_t i_spyId, + variable_buffer& o_data, + const RingMode i_ringMode); #endif #if defined(FAPI_SUPPORT_SPY_AS_STRING) || defined(DOXYGEN) @@ -251,6 +257,12 @@ template< TargetType K > inline ReturnCode getSpy(const Target<K>& i_target, const char* const i_spyId, variable_buffer& o_data); + +template< TargetType K > +inline ReturnCode getSpy(const Target<K>& i_target, + const char* const i_spyId, + variable_buffer& o_data, + const RingMode i_ringMode); #endif /// @brief Writes a spy on a chip. diff --git a/import/hwpf/fapi2/include/plat/hw_access.H b/import/hwpf/fapi2/include/plat/hw_access.H index 8bba359b..f970becd 100644 --- a/import/hwpf/fapi2/include/plat/hw_access.H +++ b/import/hwpf/fapi2/include/plat/hw_access.H @@ -366,6 +366,16 @@ inline ReturnCode getSpy(const Target<K>& i_target, static_assert(K == 0, "implement getSpy (enum)"); return ~FAPI2_RC_SUCCESS; } + +template< TargetType K > +inline ReturnCode getSpy(const Target<K>& i_target, + const spyId_t i_spyId, + variable_buffer& o_data, + const RingMode i_ringMode) +{ + static_assert(K == 0, "implement getSpy (enum)"); + return ~FAPI2_RC_SUCCESS; +} #endif #ifdef FAPI_SUPPORT_SPY_AS_STRING template< TargetType K > @@ -376,6 +386,16 @@ inline ReturnCode getSpy(const Target<K>& i_target, static_assert(K == 0, "implement getSpy (string)"); return ~FAPI2_RC_SUCCESS; } + +template< TargetType K > +inline ReturnCode getSpy(const Target<K>& i_target, + const char* const i_spyId, + variable_buffer& o_data, + const RingMode i_ringMode) +{ + static_assert(K == 0, "implement getSpy (string)"); + return ~FAPI2_RC_SUCCESS; +} #endif /// @brief Writes a spy on a chip. /// @tparam K template parameter, passed in target. |