diff options
Diffstat (limited to 'src/import/hwpf/fapi2/include/plat/subroutine_executor.H')
-rw-r--r-- | src/import/hwpf/fapi2/include/plat/subroutine_executor.H | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/src/import/hwpf/fapi2/include/plat/subroutine_executor.H b/src/import/hwpf/fapi2/include/plat/subroutine_executor.H deleted file mode 100644 index aaa0cf3cd..000000000 --- a/src/import/hwpf/fapi2/include/plat/subroutine_executor.H +++ /dev/null @@ -1,56 +0,0 @@ -/* IBM_PROLOG_BEGIN_TAG */ -/* This is an automatically generated prolog. */ -/* */ -/* $Source: src/import/hwpf/fapi2/include/plat/subroutine_executor.H $ */ -/* */ -/* OpenPOWER HostBoot Project */ -/* */ -/* Contributors Listed Below - COPYRIGHT 2016,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 subroutine_executor.H -/// -/// @brief Defines the PLAT Subroutine Executor Macro. -/// -/// The PLAT Subroutine Executor macro is called by -/// FAPI_CALL_SUBROUTINE when a hardware procedure when -/// a subroutine is needed, typicaly a chipop function. -/// -/// Example implementation of plat code - -#ifndef SUBROUTINEEXECUTOR_H_ -#define SUBROUTINEEXECUTOR_H_ - -#include <fapi2_subroutine_executor.H> - -#include <plat_trace.H> - -/** - * @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, FUNC, _args...) \ - { \ - FAPI_DBG("executing FAPI_PLAT_CALL_SUBROUTINE macro"); \ - RC = FUNC(_args); \ - } - -#endif |