summaryrefslogtreecommitdiffstats
path: root/src/include/usr/hwpf/plat/fapiPlatHwpExecutor.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr/hwpf/plat/fapiPlatHwpExecutor.H')
-rw-r--r--src/include/usr/hwpf/plat/fapiPlatHwpExecutor.H16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/include/usr/hwpf/plat/fapiPlatHwpExecutor.H b/src/include/usr/hwpf/plat/fapiPlatHwpExecutor.H
index c2b7e5e10..2fa1ab4ee 100644
--- a/src/include/usr/hwpf/plat/fapiPlatHwpExecutor.H
+++ b/src/include/usr/hwpf/plat/fapiPlatHwpExecutor.H
@@ -1,22 +1,28 @@
/**
* @file fapiPlatHwpExecutor.H
*
- * @brief Defines the FAPI HWP Executor Macro.
+ * @brief Defines the FAPI PLAT HWP Executor Macro.
*
- * The HWP Executor macro is called when a PLAT invoker function or a HWP wants
- * to execute a HWP. Each platform can modify the macro to do any platform
- * specific work to execute the HWP (e.g. dlopening a shared library)
+ * The PLAT HWP Executor macro is called by the FAPI HWP Executor macro when a
+ * PLAT invoker function or a HWP wants to execute a HWP. Each platform can
+ * modify the macro to do any platform specific work to execute the HWP (e.g.
+ * dlopening a shared library)
*/
#ifndef FAPIPLATHWPEXECUTOR_H_
#define FAPIPLATHWPEXECUTOR_H_
+#include <fapiTestHwp.H>
+#include <fapiTestHwpError.H>
+#include <fapiTestHwpFfdc.H>
+
/**
* @brief HWP Executor macro
*
* By default, this macro just calls the HWP directly. If this cannot be done
* then the platform needs to modify
*/
-#define FAPI_EXEC_HWP(RC, FUNC, _args_...) RC = FUNC(_args_)
+#define FAPI_PLAT_EXEC_HWP(RC, FUNC, TARGET, _args_...) \
+ RC = FUNC(TARGET, ##_args_)
#endif // FAPIPLATHWPEXECUTOR_H_
OpenPOWER on IntegriCloud