1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* 3 * Copyright (c) 2021, Arm Limited and Contributors. All rights reserved. 4 */ 5 6 #ifndef LIBSP_INCLUDE_FFA_DIRECT_MSG_ROUTING_EXTENSION_H_ 7 #define LIBSP_INCLUDE_FFA_DIRECT_MSG_ROUTING_EXTENSION_H_ 8 9 #include "ffa_api_types.h" 10 #include "sp_api_defines.h" 11 #include "sp_api_types.h" 12 13 #ifdef __cplusplus 14 extern "C" { 15 #endif 16 17 ffa_result ffa_direct_msg_routing_ext_wait_post_hook(struct ffa_direct_msg *req); 18 19 ffa_result ffa_direct_msg_routing_ext_req_pre_hook(struct ffa_direct_msg *req); 20 ffa_result ffa_direct_msg_routing_ext_req_post_hook(struct ffa_direct_msg *resp); 21 void ffa_direct_msg_routing_ext_req_error_hook(void); 22 23 ffa_result ffa_direct_msg_routing_ext_resp_pre_hook(struct ffa_direct_msg *resp); 24 ffa_result ffa_direct_msg_routing_ext_resp_post_hook(struct ffa_direct_msg *req); 25 void ffa_direct_msg_routing_ext_resp_error_hook(void); 26 27 ffa_result ffa_direct_msg_routing_ext_rc_req_pre_hook(struct ffa_direct_msg *req); 28 ffa_result ffa_direct_msg_routing_ext_rc_req_post_hook(struct ffa_direct_msg *resp); 29 void ffa_direct_msg_routing_ext_rc_req_error_hook(void); 30 31 #ifdef __cplusplus 32 } 33 #endif 34 35 #endif /* LIBSP_INCLUDE_FFA_DIRECT_MSG_ROUTING_EXTENSION_H_ */ 36