blob: 402e4f5d303ebe02e8dbf0542f589401ee2f59b7 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/*
* Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef FFA_CALL_ARGS_H
#define FFA_CALL_ARGS_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* Defines convention for use of FFA direct call arguments by
* the SP service framework. This header file is used by the
* normal world RPC caller and the RPC listener in the SP.
*/
/* Common req & resp arg offests into msg_args structure */
#define FFA_CALL_ARGS_OPCODE (0)
/* Req arg offsets */
#define FFA_CALL_ARGS_REQ_DATA_LEN (1)
/* Resp arg offsets */
#define FFA_CALL_ARGS_RESP_DATA_LEN (1)
#define FFA_CALL_ARGS_RESP_RPC_STATUS (2)
#define FFA_CALL_ARGS_RESP_OP_STATUS (3)
/* Share/unshare offsets */
#define FFA_CALL_ARGS_SHARE_MEM_HANDLE_LSW (1)
#define FFA_CALL_ARGS_SHARE_MEM_HANDLE_MSW (2)
#define FFA_CALL_ARGS_SHARE_MEM_SIZE (3)
#ifdef __cplusplus
}
#endif
#endif /* FFA_CALL_ARGS_H */
|