summaryrefslogtreecommitdiffstats
path: root/importtemp/fapi2/include/fapi2_hwp_executor.H
blob: e92d142755bbbb5c12e47a1592bab244666121b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
///
/// @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_
OpenPOWER on IntegriCloud