summaryrefslogtreecommitdiffstats
path: root/src/import/hwpf/fapi2/include
diff options
context:
space:
mode:
authorRichard J. Knight <rjknight@us.ibm.com>2016-11-08 11:39:22 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-08-28 18:08:24 -0400
commitb6a15c6a20d9ac35221338f4d3fb3a48f6073f50 (patch)
treea99b243a97c1c6ed0646b38aa2f289e8073a9f70 /src/import/hwpf/fapi2/include
parentf51ece528ea60265d6dcbda75cdc2aec574fa06d (diff)
downloadtalos-hostboot-b6a15c6a20d9ac35221338f4d3fb3a48f6073f50.tar.gz
talos-hostboot-b6a15c6a20d9ac35221338f4d3fb3a48f6073f50.zip
Remove CHIPOP parameter from FAPI_CALL_SUBROUTINE
Change-Id: I83924791c30d29852b2866954a5f4c15022f1ddc RTC:164311 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32383 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45228 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/hwpf/fapi2/include')
-rw-r--r--src/import/hwpf/fapi2/include/plat/subroutine_executor.H7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/import/hwpf/fapi2/include/plat/subroutine_executor.H b/src/import/hwpf/fapi2/include/plat/subroutine_executor.H
index 45e7978de..6a9f2e002 100644
--- a/src/import/hwpf/fapi2/include/plat/subroutine_executor.H
+++ b/src/import/hwpf/fapi2/include/plat/subroutine_executor.H
@@ -36,20 +36,21 @@
#ifndef SUBROUTINEEXECUTOR_H_
#define SUBROUTINEEXECUTOR_H_
-#include <plat_subroutine_executor.H>
#include <fapi2_subroutine_executor.H>
#include <plat_trace.H>
/**
- * @brief Subroutine Executor macro
+ * @brief Subroutine Executor macro example code - Platforms will need to
+ * implement as needed for their enviroment.
*
* This macro calls a PLAT macro which will do any platform specific work to
* execute the Subroutine (e.g. dlopening a shared library)
*/
-#define FAPI_PLAT_CALL_SUBROUTINE(RC, CHIPOP, FUNC, _args_...) \
+#define FAPI_PLAT_CALL_SUBROUTINE(RC, FUNC, _args...) \
{ \
FAPI_INF("executing FAPI_PLAT_CALL_SUBROUTINE marco"); \
+ RC = FUNC(_args); \
}
#endif
OpenPOWER on IntegriCloud