summaryrefslogtreecommitdiffstats
path: root/src/include/runtime/interface.h
diff options
context:
space:
mode:
authorChris Cain <cjcain@us.ibm.com>2015-06-18 12:46:05 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-08-18 19:35:23 -0500
commit275ea30364bf2d831f213f9a73b5f8fa8ef851af (patch)
tree448949765c96bd8c4c83a109cb6ee8f7ca729c39 /src/include/runtime/interface.h
parent6ff3e00062b894a880937ce41f748e26105b579a (diff)
downloadtalos-hostboot-275ea30364bf2d831f213f9a73b5f8fa8ef851af.tar.gz
talos-hostboot-275ea30364bf2d831f213f9a73b5f8fa8ef851af.zip
HTMGT support for Pstate Table Biasing
Change-Id: I96aff34fb9b588d8546575b77655a6cf167469fb RTC: 128436 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18789 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/runtime/interface.h')
-rw-r--r--src/include/runtime/interface.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/include/runtime/interface.h b/src/include/runtime/interface.h
index a7177a000..055f751a5 100644
--- a/src/include/runtime/interface.h
+++ b/src/include/runtime/interface.h
@@ -466,6 +466,32 @@ typedef struct runtimeInterfaces
int (*apply_attr_override)(uint8_t* i_data,
size_t i_size );
+ /**
+ * @brief Send a pass-through command to HTMGT
+ *
+ * @details  This is a blocking call that will send a command
+ *           to HTMGT.
+ *
+ * @note     If o_rspLength is returned with a non-zero value,
+ *           the data at the o_rspData should be dumped to
+ *           stdout in a hex dump format.
+ * @note The maximum response data returned will be 4096 bytes
+ *
+ * @param[in] i_cmdLength number of bytes in pass-thru command data
+ * @param[in]     *i_cmdData   pointer to pass-thru command data
+ * @param[out] *o_rspLength pointer to number of bytes returned
+ * in o_rspData
+ * @param[out] *o_rspData   pointer to a 4096 byte buffer that will
+ * contain the response data from the command
+ *
+ * @returns  0 on success, or return code if the command failed
+ * @platform OpenPower
+ */
+ int (*mfg_htmgt_pass_thru)(uint16_t i_cmdLength,
+ uint8_t * i_cmdData,
+ uint16_t * o_rspLength,
+ uint8_t * o_rspData);
+
// Reserve some space for future growth.
void (*reserved[32])(void);
OpenPOWER on IntegriCloud