summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/memory/p9_mss_throttle_mem.H
diff options
context:
space:
mode:
authorAndre Marin <aamarin@us.ibm.com>2016-03-15 18:32:40 -0500
committerChristian R. Geddes <crgeddes@us.ibm.com>2016-10-28 11:05:53 -0400
commita10ef71c06f7aa0623ef326d6f4e66d1b164925d (patch)
treef7fa6a8b5e17d05bea2677eb0461f96e12adfbce /src/import/chips/p9/procedures/hwp/memory/p9_mss_throttle_mem.H
parent5ec2936790d85cb574f4de5444bf3e1c5e373a19 (diff)
downloadtalos-hostboot-a10ef71c06f7aa0623ef326d6f4e66d1b164925d.tar.gz
talos-hostboot-a10ef71c06f7aa0623ef326d6f4e66d1b164925d.zip
Add mss throttle files L1
Change-Id: If916a66e8660c0c389e097495a1321f4358ea9af Original-Change-Id: I4a8a83151b3287a38235db11cd298900119aed35 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22149 Tested-by: Jenkins Server Tested-by: Hostboot CI Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31931 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/p9_mss_throttle_mem.H')
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/p9_mss_throttle_mem.H53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/p9_mss_throttle_mem.H b/src/import/chips/p9/procedures/hwp/memory/p9_mss_throttle_mem.H
new file mode 100644
index 000000000..858925b2d
--- /dev/null
+++ b/src/import/chips/p9/procedures/hwp/memory/p9_mss_throttle_mem.H
@@ -0,0 +1,53 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/import/chips/p9/procedures/hwp/memory/p9_mss_throttle_mem.H $ */
+/* */
+/* OpenPOWER HostBoot 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 p9_mss_throttle_mem.H
+/// @brief Write the runtime memory throttle settings from attributes to scom registers
+///
+// *HWP HWP Owner: Andre Marin <aamarin@us.ibm.com>
+// *HWP HWP Backup: Brian Silver <bsilver@us.ibm.com>
+// *HWP Team: Memory
+// *HWP Level: 1
+// *HWP Consumed by: FSP:HB
+
+#ifndef __P9_MSS_THROTTLE_MEM__
+#define __P9_MSS_THROTTLE_MEM__
+
+#include <fapi2.H>
+
+typedef fapi2::ReturnCode (*p9_mss_throttle_mem_FP_t) (const fapi2::Target<fapi2::TARGET_TYPE_MCS>&);
+
+extern "C"
+{
+///
+/// @brief Write the runtime memory throttle settings from attributes to scom registers
+/// @param[in] i_target the controller target
+/// @return FAPI2_RC_SUCCESS iff ok
+///
+ fapi2::ReturnCode p9_mss_throttle_mem( const fapi2::Target<fapi2::TARGET_TYPE_MCS>& i_target );
+}
+
+#endif
OpenPOWER on IntegriCloud