diff options
| author | Thi Tran <thi@us.ibm.com> | 2015-04-24 08:35:51 -0500 |
|---|---|---|
| committer | Joshua Hunsberger <jahunsbe@us.ibm.com> | 2017-10-23 15:51:13 -0500 |
| commit | 9a213bcbd9d911fa591728a895ec3a3e38891487 (patch) | |
| tree | be6995385edecd5b2620be1f4aacea9cbd46c715 /import/hwpf/fapi2/include | |
| parent | 48d7054b5251a34758a0db919bd892cb2406a79b (diff) | |
| download | talos-hcode-9a213bcbd9d911fa591728a895ec3a3e38891487.tar.gz talos-hcode-9a213bcbd9d911fa591728a895ec3a3e38891487.zip | |
FAPI2 Direct attribute access support
Change-Id: Icc127aa36d53cd18f9bf16414efcaa2cc35b8c14
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17400
Tested-by: Jenkins Server
Reviewed-by: Matt K. Light <mklight@us.ibm.com>
Reviewed-by: Brian Silver <bsilver@us.ibm.com>
Diffstat (limited to 'import/hwpf/fapi2/include')
| -rw-r--r-- | import/hwpf/fapi2/include/fapi2_hwp_executor.H | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/import/hwpf/fapi2/include/fapi2_hwp_executor.H b/import/hwpf/fapi2/include/fapi2_hwp_executor.H new file mode 100644 index 00000000..63db7e92 --- /dev/null +++ b/import/hwpf/fapi2/include/fapi2_hwp_executor.H @@ -0,0 +1,48 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: import/hwpf/fapi2/include/fapi2_hwp_executor.H $ */ +/* */ +/* OpenPOWER HCODE Project */ +/* */ +/* COPYRIGHT 2015,2017 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ +/// +/// @file fapi2_hwp_executor.H +/// +/// @brief Defines the FAPI2 HWP Executor Macro. +/// +/// The FAPI2 HWP Executor macro is called when a PLAT invoker function or a HWP +/// wants to execute a HWP. +/// + +#ifndef FAPI2HWPEXECUTOR_H_ +#define FAPI2HWPEXECUTOR_H_ + +#include <hwp_executor.H> + +/** + * @brief HWP Executor macro + * + * This macro calls a PLAT macro which will do any platform specific work to + * execute the HWP (e.g. dlopening a shared library) + */ +#define FAPI_EXEC_HWP(RC, FUNC, _args_...) \ + FAPI_PLAT_EXEC_HWP(RC, FUNC, ##_args_) + +#endif // FAPI2HWPEXECUTOR_H_ |

