summaryrefslogtreecommitdiffstats
path: root/src/usr/htmgt/genPstate.H
diff options
context:
space:
mode:
authorDoug Gilbert <dgilbert@us.ibm.com>2014-10-23 15:04:03 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-12-13 10:16:59 -0600
commit611d91a0295e17ea202f01e0143fc040820eadb8 (patch)
tree3c07fecbbdf0008f041a905733c43f32ca4df854 /src/usr/htmgt/genPstate.H
parent61c9acc8fd01eab34b942a284ac851bbd990d9f7 (diff)
downloadblackbird-hostboot-611d91a0295e17ea202f01e0143fc040820eadb8.tar.gz
blackbird-hostboot-611d91a0295e17ea202f01e0143fc040820eadb8.zip
HTMGT Pstate support
Change-Id: I68388d448afa027439c78f654c00ca2f9904d65e RTC: 114284 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14191 Reviewed-by: Christopher Cain <cjcain@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/htmgt/genPstate.H')
-rw-r--r--src/usr/htmgt/genPstate.H44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/usr/htmgt/genPstate.H b/src/usr/htmgt/genPstate.H
new file mode 100644
index 000000000..71106de27
--- /dev/null
+++ b/src/usr/htmgt/genPstate.H
@@ -0,0 +1,44 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/usr/htmgt/genPstate.H $ */
+/* */
+/* OpenPOWER HostBoot Project */
+/* */
+/* Contributors Listed Below - COPYRIGHT 2014 */
+/* [+] 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 */
+#ifndef GENPSTATE_H
+#define GENPSTATE_H
+
+#include<errl/errlentry.H>
+
+namespace HTMGT
+{
+
+/**
+ * @brief Build the pstate tables
+ * @post Sets pstate table data into PSTATE_TABLE attribute for each OCC.
+ * @note Attributes will not be written if the corresponding pstate table
+ * could not be generated.
+ * @note this function is only available at IPL time
+ * @return error log handle on error, otherwise NULL
+ */
+errlHndl_t genPstateTables();
+
+};
+#endif
OpenPOWER on IntegriCloud