summaryrefslogtreecommitdiffstats
path: root/src/include/usr/hwpf/plat/fapiPlatHwpInvoker.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr/hwpf/plat/fapiPlatHwpInvoker.H')
-rw-r--r--src/include/usr/hwpf/plat/fapiPlatHwpInvoker.H32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/include/usr/hwpf/plat/fapiPlatHwpInvoker.H b/src/include/usr/hwpf/plat/fapiPlatHwpInvoker.H
new file mode 100644
index 000000000..232cb981c
--- /dev/null
+++ b/src/include/usr/hwpf/plat/fapiPlatHwpInvoker.H
@@ -0,0 +1,32 @@
+/**
+ * @file fapiPlatHwpInvoker.H
+ *
+ * @brief Defines the platform specific HW Procedure invoker functions.
+ *
+ * Note that each platform needs to provide an invoker function for each HW
+ * procedure. Prototypes cannot be provided because each platform will have
+ * functions that take platform specific targets and return platform specific
+ * return codes.
+ */
+
+#ifndef FAPIPLATHWPINVOKER_H_
+#define FAPIPLATHWPINVOKER_H_
+
+#include <targeting/targetservice.H>
+#include <errl/errlentry.H>
+
+namespace fapi
+{
+
+/**
+ * @brief Invokes hwpIsP7EM0ChipletClockOn procedure
+ *
+ * @param[in] i_target Pointer to Chip
+ * @param[out] o_clocksOn True if EM0 clocks are on, else false
+ */
+errlHndl_t invokeHwpIsP7EM0ChipletClockOn(TARGETING::Target* i_target,
+ bool & o_clocksOn);
+
+}
+
+#endif // FAPIPLATHWPINVOKER_H_
OpenPOWER on IntegriCloud