diff options
author | Mike Jones <mjjones@us.ibm.com> | 2011-10-17 14:24:16 -0500 |
---|---|---|
committer | MIKE J. JONES <mjjones@us.ibm.com> | 2011-10-17 14:43:20 -0500 |
commit | ed476565dd6a2881c3823e92372e2fdee672478c (patch) | |
tree | 175da8a8efc3e818d57107cae979489d8b391e3b /src/include/usr/hwpf/hwp/fapiTestHwpAttr.H | |
parent | c728faf93232e211ebd59ce830ed54bea1698917 (diff) | |
download | talos-hostboot-ed476565dd6a2881c3823e92372e2fdee672478c.tar.gz talos-hostboot-ed476565dd6a2881c3823e92372e2fdee672478c.zip |
HWPF: Add function pointer to HWP header files
Change-Id: I61cd4ac09b19ce585769b52a0657bb19de65ad3c
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/438
Tested-by: Jenkins Server
Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
Diffstat (limited to 'src/include/usr/hwpf/hwp/fapiTestHwpAttr.H')
-rwxr-xr-x | src/include/usr/hwpf/hwp/fapiTestHwpAttr.H | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/include/usr/hwpf/hwp/fapiTestHwpAttr.H b/src/include/usr/hwpf/hwp/fapiTestHwpAttr.H index cdf7e6afb..1bb9481b6 100755 --- a/src/include/usr/hwpf/hwp/fapiTestHwpAttr.H +++ b/src/include/usr/hwpf/hwp/fapiTestHwpAttr.H @@ -32,6 +32,7 @@ * ------ -------------- ---------- ----------- ---------------------------- * mjjones 06/30/2011 Created. * mjjones 10/07/2011 Removed target param + * mjjones 10/17/2011 Added func pointer */ #ifndef FAPITESTHWPATTR_H_ @@ -39,8 +40,8 @@ #include <fapi.H> -// HWPs are defined as C functions because platforms may wish to package them -// in linux shared libraries which are DL-Opened +typedef fapi::ReturnCode (*hwpTestAttributes_FP_t)(); + extern "C" { @@ -51,6 +52,6 @@ extern "C" */ fapi::ReturnCode hwpTestAttributes(); -} // extern "C" +} -#endif // FAPITESTHWPATTR_H_ +#endif |