From 7fbd87eab8ce43108ef733e35c3b84137bf94c64 Mon Sep 17 00:00:00 2001 From: Santosh Puranik Date: Mon, 3 Oct 2016 05:10:30 -0500 Subject: Disable putScomUnderMask -- Temporarily disabled until implementation is fixed. Change-Id: I14bbb3e7dae6e5bbd6fb632fb04d76707c537a53 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30609 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta Tested-by: FSP CI Jenkins Reviewed-by: RAJA DAS Reviewed-by: Shakeeb A. Pasha B K Reviewed-by: Santosh S. Puranik --- src/hwpf/include/plat/hw_access.H | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/hwpf/include/plat') 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 + struct does_plat_allow {static constexpr bool value = false;}; + //-------------------------------------------------------------------------- // PIB Error Functions //-------------------------------------------------------------------------- @@ -195,6 +201,8 @@ __fapi2exit__: buffer i_data, buffer i_mask) { + // TODO: via RTC: 160143: Fix the plat implementation + static_assert(does_plat_allow::value, "putScomUnderMask not suppported"); fapi2::buffer l_modifyDataBuffer = i_data; l_modifyDataBuffer &= i_mask; -- cgit v1.2.1