diff options
author | Thi Tran <thi@us.ibm.com> | 2011-06-28 11:17:12 -0500 |
---|---|---|
committer | Thi N. Tran <thi@us.ibm.com> | 2011-06-30 08:19:52 -0500 |
commit | e93bda2d2a30ff9959384dce0563ab143bc30aad (patch) | |
tree | dea7e740ae61ae2fe343823ad31654fbce6992bf /src/include/usr/hwpf/plat/fapiPlatHwpInvoker.H | |
parent | a4809cd65ce96d0b56ec316b14836087cf1d647b (diff) | |
download | talos-hostboot-e93bda2d2a30ff9959384dce0563ab143bc30aad.tar.gz talos-hostboot-e93bda2d2a30ff9959384dce0563ab143bc30aad.zip |
Initial HWPF delivery
Update after pass-around review
Change-Id: I8f81dd7820b61607e9a98d17c81e74fface42c54
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/160
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/hwpf/plat/fapiPlatHwpInvoker.H')
-rw-r--r-- | src/include/usr/hwpf/plat/fapiPlatHwpInvoker.H | 32 |
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_ |