diff options
Diffstat (limited to 'tools/scripts/src/fapi2PlatAttributeService.H')
-rw-r--r-- | tools/scripts/src/fapi2PlatAttributeService.H | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/tools/scripts/src/fapi2PlatAttributeService.H b/tools/scripts/src/fapi2PlatAttributeService.H index ada3681c..739db1f8 100644 --- a/tools/scripts/src/fapi2PlatAttributeService.H +++ b/tools/scripts/src/fapi2PlatAttributeService.H @@ -1,3 +1,27 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: tools/scripts/src/fapi2PlatAttributeService.H $ */ +/* */ +/* OpenPOWER sbe Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2015,2016 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ /** * @file fapiPlatAttributeService.H * @@ -12,7 +36,9 @@ #include <stdint.h> #include <stddef.h> +#include <type_traits> #include <fapi2AttributeIds.H> +#include <fapi2ChipEcFeature.H> #include <plat_includes.H> #include "proc_sbe_fixed.H" #include "plat_target_parms.H" @@ -462,7 +488,7 @@ ReturnCode _getOverride(const AttributeId i_id, //****************************************************************************** // Get override EC Feature (uint8_t) //****************************************************************************** -template<typename T, TargetType K, AttributeId A> +template<typename T, TargetType K> ReturnCode _getEcFeatureOverride(const AttributeId i_id, const Target<K> & i_pTarget, uint8_t& o_value) |