summaryrefslogtreecommitdiffstats
path: root/import/hwpf
diff options
context:
space:
mode:
authorStephen Cprek <smcprek@us.ibm.com>2015-12-14 14:19:48 -0600
committerGregory S. Still <stillgs@us.ibm.com>2016-01-07 08:59:00 -0600
commitd286a489f8d9f0f3a640063d1d78cf2f2a7213fe (patch)
tree320028e5329697fc82ba6e5f35dbba18525ea23b /import/hwpf
parentf0731fde6a682ed2e39031a4d9fc4371e6f2fd91 (diff)
downloadtalos-sbe-d286a489f8d9f0f3a640063d1d78cf2f2a7213fe.tar.gz
talos-sbe-d286a489f8d9f0f3a640063d1d78cf2f2a7213fe.zip
Fix all incorrect copyright prologs
Change-Id: I293e79b5a37bf4180f6dd19d259fac3434327fb3 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22759 Tested-by: Jenkins Server Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23028 Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Diffstat (limited to 'import/hwpf')
-rw-r--r--import/hwpf/fapi2/include/buffer_parameters.H50
-rw-r--r--import/hwpf/fapi2/include/error_scope.H22
-rw-r--r--import/hwpf/fapi2/include/fapi2_hwp_executor.H18
-rw-r--r--import/hwpf/fapi2/include/hw_access_def.H82
-rw-r--r--import/hwpf/fapi2/include/plat/plat_target.H2
-rw-r--r--import/hwpf/fapi2/include/return_code_defs.H98
-rw-r--r--import/hwpf/fapi2/include/target_states.H38
7 files changed, 152 insertions, 158 deletions
diff --git a/import/hwpf/fapi2/include/buffer_parameters.H b/import/hwpf/fapi2/include/buffer_parameters.H
index 2a6e6100..89ed223c 100644
--- a/import/hwpf/fapi2/include/buffer_parameters.H
+++ b/import/hwpf/fapi2/include/buffer_parameters.H
@@ -1,25 +1,19 @@
/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
-/* $Source: $ */
+/* $Source: hwpf/fapi2/include/buffer_parameters.H $ */
/* */
-/* OpenPOWER HostBoot Project */
-/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2014 */
-/* [+] International Business Machines Corp. */
+/* IBM CONFIDENTIAL */
/* */
+/* EKB Project */
/* */
-/* 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 */
+/* COPYRIGHT 2012,2015 */
+/* [+] International Business Machines Corp. */
/* */
-/* 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. */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
/* */
/* IBM_PROLOG_END_TAG */
/**
@@ -34,24 +28,30 @@
namespace fapi2
{
- /// @cond
- /// @brief Traits of buffer parameters - things passed in
- /// @tparam T is the type of i_value (typically an integral type)
- template<typename T>
- class parameterTraits
- {
+/// @cond
+/// @brief Traits of buffer parameters - things passed in
+/// @tparam T is the type of i_value (typically an integral type)
+template<typename T>
+class parameterTraits
+{
public:
// Why constexpr functions? Enums are hard to do math on, and
// static const doesn't work without -O1 (or greater.) That might
// be a bug in g++ but this works just the same.
constexpr static T mask(void)
- { return T(~0); }
+ {
+ return T(~0);
+ }
constexpr static uint32_t byte_length(void)
- { return sizeof(T); }
+ {
+ return sizeof(T);
+ }
constexpr static uint32_t bit_length(void)
- { return sizeof(T) * 8; }
+ {
+ return sizeof(T) * 8;
+ }
template<typename U>
inline static void write_element(void* i_data, T i_value, uint32_t i_offset)
@@ -63,8 +63,8 @@ namespace fapi2
#endif
*ptr = i_value;
}
- };
- /// @endcond
+};
+/// @endcond
}
#endif
diff --git a/import/hwpf/fapi2/include/error_scope.H b/import/hwpf/fapi2/include/error_scope.H
index d742dd0e..72ea36ac 100644
--- a/import/hwpf/fapi2/include/error_scope.H
+++ b/import/hwpf/fapi2/include/error_scope.H
@@ -1,25 +1,19 @@
/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
-/* $Source: $ */
+/* $Source: hwpf/fapi2/include/error_scope.H $ */
/* */
-/* OpenPOWER HostBoot Project */
-/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2014 */
-/* [+] International Business Machines Corp. */
+/* IBM CONFIDENTIAL */
/* */
+/* EKB Project */
/* */
-/* 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 */
+/* COPYRIGHT 2012,2015 */
+/* [+] International Business Machines Corp. */
/* */
-/* 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. */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
/* */
/* IBM_PROLOG_END_TAG */
/**
diff --git a/import/hwpf/fapi2/include/fapi2_hwp_executor.H b/import/hwpf/fapi2/include/fapi2_hwp_executor.H
index e92d1427..1243ff62 100644
--- a/import/hwpf/fapi2/include/fapi2_hwp_executor.H
+++ b/import/hwpf/fapi2/include/fapi2_hwp_executor.H
@@ -1,3 +1,21 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: hwpf/fapi2/include/fapi2_hwp_executor.H $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* EKB Project */
+/* */
+/* COPYRIGHT 2015 */
+/* [+] International Business Machines Corp. */
+/* */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* IBM_PROLOG_END_TAG */
///
/// @file fapi2_hwp_executor.H
///
diff --git a/import/hwpf/fapi2/include/hw_access_def.H b/import/hwpf/fapi2/include/hw_access_def.H
index 098efb8c..7a5fda57 100644
--- a/import/hwpf/fapi2/include/hw_access_def.H
+++ b/import/hwpf/fapi2/include/hw_access_def.H
@@ -1,25 +1,19 @@
/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
-/* $Source: $ */
+/* $Source: hwpf/fapi2/include/hw_access_def.H $ */
/* */
-/* OpenPOWER HostBoot Project */
-/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2014 */
-/* [+] International Business Machines Corp. */
+/* IBM CONFIDENTIAL */
/* */
+/* EKB Project */
/* */
-/* 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 */
+/* COPYRIGHT 2012,2015 */
+/* [+] International Business Machines Corp. */
/* */
-/* 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. */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
/* */
/* IBM_PROLOG_END_TAG */
///
@@ -39,38 +33,38 @@ typedef uint64_t scanRingId_t;
namespace fapi2
{
- ///
- /// @enum fapi2::ChipOpModifyMode
- /// @brief Enumeration of modify modes used in HW access modify operations
- ///
- enum ChipOpModifyMode
- {
- CHIP_OP_MODIFY_MODE_OR = 1, ///< Modify or mode
- CHIP_OP_MODIFY_MODE_AND = 2, ///< Modify and mode
- CHIP_OP_MODIFY_MODE_XOR = 3, ///< Modify xor mode
- };
+///
+/// @enum fapi2::ChipOpModifyMode
+/// @brief Enumeration of modify modes used in HW access modify operations
+///
+enum ChipOpModifyMode
+{
+ CHIP_OP_MODIFY_MODE_OR = 1, ///< Modify or mode
+ CHIP_OP_MODIFY_MODE_AND = 2, ///< Modify and mode
+ CHIP_OP_MODIFY_MODE_XOR = 3, ///< Modify xor mode
+};
- ///
- /// @enum fapi2::RingMode
- /// @brief Enumeration of Ring access operation modes
- /// This is a bitmap to allow the user to specify multiple modes.
- ///
- enum RingMode
- {
- RING_MODE_SET_PULSE = 0x00000001, ///< Set pulse
- RING_MODE_NO_HEADER_CHECK = 0x00000002, ///< Dont' check header
- // FUTURE_MODE = 0x00000004,
- // FUTURE_MODE = 0x00000008,
- };
+///
+/// @enum fapi2::RingMode
+/// @brief Enumeration of Ring access operation modes
+/// This is a bitmap to allow the user to specify multiple modes.
+///
+enum RingMode
+{
+ RING_MODE_SET_PULSE = 0x00000001, ///< Set pulse
+ RING_MODE_NO_HEADER_CHECK = 0x00000002, ///< Dont' check header
+ // FUTURE_MODE = 0x00000004,
+ // FUTURE_MODE = 0x00000008,
+};
- /// @enum OpModes operational Mode Error Functions
- enum OpModes
- {
- // These are bit-masks in case they need to be or'd together
- NORMAL = 0x00,
- IGNORE_HW_ERROR = 0x01,
- DO_NOT_DO_WAKEUP = 0x02,
- };
+/// @enum OpModes operational Mode Error Functions
+enum OpModes
+{
+ // These are bit-masks in case they need to be or'd together
+ NORMAL = 0x00,
+ IGNORE_HW_ERROR = 0x01,
+ DO_NOT_DO_WAKEUP = 0x02,
+};
}
diff --git a/import/hwpf/fapi2/include/plat/plat_target.H b/import/hwpf/fapi2/include/plat/plat_target.H
index 3e28c1da..7576e4f5 100644
--- a/import/hwpf/fapi2/include/plat/plat_target.H
+++ b/import/hwpf/fapi2/include/plat/plat_target.H
@@ -1,7 +1,7 @@
/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
-/* $Source: hwpf/fapi2/include/plat_target.H $ */
+/* $Source: hwpf/fapi2/include/plat/plat_target.H $ */
/* */
/* IBM CONFIDENTIAL */
/* */
diff --git a/import/hwpf/fapi2/include/return_code_defs.H b/import/hwpf/fapi2/include/return_code_defs.H
index 404bfafa..b2209733 100644
--- a/import/hwpf/fapi2/include/return_code_defs.H
+++ b/import/hwpf/fapi2/include/return_code_defs.H
@@ -1,25 +1,19 @@
/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
-/* $Source: $ */
+/* $Source: hwpf/fapi2/include/return_code_defs.H $ */
/* */
-/* OpenPOWER HostBoot Project */
-/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2014 */
-/* [+] International Business Machines Corp. */
+/* IBM CONFIDENTIAL */
/* */
+/* EKB Project */
/* */
-/* 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 */
+/* COPYRIGHT 2012,2015 */
+/* [+] International Business Machines Corp. */
/* */
-/* 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. */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
/* */
/* IBM_PROLOG_END_TAG */
/**
@@ -58,56 +52,56 @@
namespace fapi2
{
- ///
- /// @brief Enumeration of return codes
- ///
- enum ReturnCodes
- {
- ///< Success
- FAPI2_RC_SUCCESS = 0,
+///
+/// @brief Enumeration of return codes
+///
+enum ReturnCodes
+{
+ ///< Success
+ FAPI2_RC_SUCCESS = 0,
- // Flag bits indicating which code generated the error.
- FAPI2_RC_FAPI2_MASK = 0x04000000, ///< FAPI2 mask
- FAPI2_RC_PLAT_MASK = 0x02000000, ///< Platform mask
- FAPI2_RC_HWP_MASK = 0x00000000, ///< HWP mask
+ // Flag bits indicating which code generated the error.
+ FAPI2_RC_FAPI2_MASK = 0x04000000, ///< FAPI2 mask
+ FAPI2_RC_PLAT_MASK = 0x02000000, ///< Platform mask
+ FAPI2_RC_HWP_MASK = 0x00000000, ///< HWP mask
- //
- // FAPI generated return codes
- //
+ //
+ // FAPI generated return codes
+ //
- FAPI2_RC_INVALID_ATTR_GET = FAPI2_RC_FAPI2_MASK | 0x01,
- ///< Initfile requested an attribute with an invalid attribute ID
+ FAPI2_RC_INVALID_ATTR_GET = FAPI2_RC_FAPI2_MASK | 0x01,
+ ///< Initfile requested an attribute with an invalid attribute ID
- FAPI2_RC_INVALID_CHIP_EC_FEATURE_GET = FAPI2_RC_FAPI2_MASK | 0x02,
- ///< HWP requested a chip EC feature with an invalid attribute ID
+ FAPI2_RC_INVALID_CHIP_EC_FEATURE_GET = FAPI2_RC_FAPI2_MASK | 0x02,
+ ///< HWP requested a chip EC feature with an invalid attribute ID
- FAPI2_RC_INVALID_MULTISCOM_LENGTH = FAPI2_RC_FAPI2_MASK | 0x03,
- ///< Invalid multiscom parameters
+ FAPI2_RC_INVALID_MULTISCOM_LENGTH = FAPI2_RC_FAPI2_MASK | 0x03,
+ ///< Invalid multiscom parameters
- FAPI2_RC_INVALID_PARAMETER = FAPI2_RC_FAPI2_MASK | 0x04,
- ///< Invalid parameters to a FAPI2 function
+ FAPI2_RC_INVALID_PARAMETER = FAPI2_RC_FAPI2_MASK | 0x04,
+ ///< Invalid parameters to a FAPI2 function
- FAPI2_RC_OVERFLOW = FAPI2_RC_FAPI2_MASK | 0x05,
- ///< Overflow condition, typically a buffer operation
+ FAPI2_RC_OVERFLOW = FAPI2_RC_FAPI2_MASK | 0x05,
+ ///< Overflow condition, typically a buffer operation
- FAPI2_RC_FALSE = FAPI2_RC_FAPI2_MASK | 0x06,
- ///< The logical opposite of SUCCESS. Needed where procedures want
- ///< a multi-bool type of operation (e.g., true, false, scom error)
+ FAPI2_RC_FALSE = FAPI2_RC_FAPI2_MASK | 0x06,
+ ///< The logical opposite of SUCCESS. Needed where procedures want
+ ///< a multi-bool type of operation (e.g., true, false, scom error)
- //
- // PLAT generated return codes. Additional details may be contained in
- // ReturnCode platData (this can only be looked at by PLAT code)
- //
+ //
+ // PLAT generated return codes. Additional details may be contained in
+ // ReturnCode platData (this can only be looked at by PLAT code)
+ //
- FAPI2_RC_PLAT_ERR_SEE_DATA = FAPI2_RC_PLAT_MASK | 0x01,
- ///< Generic platform error
+ FAPI2_RC_PLAT_ERR_SEE_DATA = FAPI2_RC_PLAT_MASK | 0x01,
+ ///< Generic platform error
- FAPI2_RC_PLAT_ERR_ADU_LOCKED = FAPI2_RC_PLAT_MASK | 0x02,
- ///< Operation to AlterDisplay unit failed because it is locked
+ FAPI2_RC_PLAT_ERR_ADU_LOCKED = FAPI2_RC_PLAT_MASK | 0x02,
+ ///< Operation to AlterDisplay unit failed because it is locked
- FAPI2_RC_PLAT_NOT_SUPPORTED_AT_RUNTIME = FAPI2_RC_PLAT_MASK | 0x03,
- ///< Operation not supported by HB runtime
- };
+ FAPI2_RC_PLAT_NOT_SUPPORTED_AT_RUNTIME = FAPI2_RC_PLAT_MASK | 0x03,
+ ///< Operation not supported by HB runtime
+};
}
diff --git a/import/hwpf/fapi2/include/target_states.H b/import/hwpf/fapi2/include/target_states.H
index bebd43d0..7d810db0 100644
--- a/import/hwpf/fapi2/include/target_states.H
+++ b/import/hwpf/fapi2/include/target_states.H
@@ -1,25 +1,19 @@
/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
-/* $Source: $ */
+/* $Source: hwpf/fapi2/include/target_states.H $ */
/* */
-/* OpenPOWER HostBoot Project */
-/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2014 */
-/* [+] International Business Machines Corp. */
+/* IBM CONFIDENTIAL */
/* */
+/* EKB Project */
/* */
-/* 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 */
+/* COPYRIGHT 2012,2015 */
+/* [+] International Business Machines Corp. */
/* */
-/* 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. */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
/* */
/* IBM_PROLOG_END_TAG */
/**
@@ -32,14 +26,14 @@
namespace fapi2
{
- ///
- /// @brief Enumeration of target state values (bitmask values)
- ///
- enum TargetState
- {
- TARGET_STATE_PRESENT = 0x00000001,
- TARGET_STATE_FUNCTIONAL = 0x00000002,
- };
+///
+/// @brief Enumeration of target state values (bitmask values)
+///
+enum TargetState
+{
+ TARGET_STATE_PRESENT = 0x00000001,
+ TARGET_STATE_FUNCTIONAL = 0x00000002,
+};
}
#endif
OpenPOWER on IntegriCloud