diff options
author | Santosh Puranik <santosh.puranik@in.ibm.com> | 2016-10-03 05:10:30 -0500 |
---|---|---|
committer | Santosh S. Puranik <santosh.puranik@in.ibm.com> | 2016-10-03 12:51:33 -0400 |
commit | 7fbd87eab8ce43108ef733e35c3b84137bf94c64 (patch) | |
tree | 6a631eabcf9016bb466ab2cc99e8bc87fb4348dc /src/hwpf | |
parent | 067fae0102047de80cdd9953b7d11fd4fa7939c4 (diff) | |
download | talos-sbe-7fbd87eab8ce43108ef733e35c3b84137bf94c64.tar.gz talos-sbe-7fbd87eab8ce43108ef733e35c3b84137bf94c64.zip |
Disable putScomUnderMask
-- Temporarily disabled until implementation is fixed.
Change-Id: I14bbb3e7dae6e5bbd6fb632fb04d76707c537a53
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30609
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com>
Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
Diffstat (limited to 'src/hwpf')
-rw-r--r-- | src/hwpf/include/plat/hw_access.H | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/hwpf/include/plat/hw_access.H b/src/hwpf/include/plat/hw_access.H index 24f826a3..3c6ffb09 100644 --- a/src/hwpf/include/plat/hw_access.H +++ b/src/hwpf/include/plat/hw_access.H @@ -6,6 +6,7 @@ /* OpenPOWER sbe Project */ /* */ /* Contributors Listed Below - COPYRIGHT 2012,2016 */ +/* [+] International Business Machines Corp. */ /* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ @@ -45,6 +46,11 @@ namespace fapi2 { + /// @brief Default template to disallow at compile time any operations the + // plat does not support on Targets + template<TargetType K, typename V> + struct does_plat_allow {static constexpr bool value = false;}; + //-------------------------------------------------------------------------- // PIB Error Functions //-------------------------------------------------------------------------- @@ -195,6 +201,8 @@ __fapi2exit__: buffer<uint64_t> i_data, buffer<uint64_t> i_mask) { + // TODO: via RTC: 160143: Fix the plat implementation + static_assert(does_plat_allow<K, V>::value, "putScomUnderMask not suppported"); fapi2::buffer<uint64_t> l_modifyDataBuffer = i_data; l_modifyDataBuffer &= i_mask; |