aboutsummaryrefslogtreecommitdiff
path: root/components/rpc/ffarpc/endpoint/ffarpc_call_ops.h
blob: de22678e6f6830c10f6c67a1f39028ab4201eca8 (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
/*
 * Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef FFA_CALL_OPS_H
#define FFA_CALL_OPS_H

#ifdef __cplusplus
extern "C" {
#endif

/* Common opcodes used by the FFA based RPC layer for management operations */
enum
{
	FFA_CALL_OPCODE_SHARE_BUF		= 0,
	FFA_CALL_OPCODE_UNSHARE_BUF		= 1,
	FFA_CALL_OPCODE_LIMIT
};

/* Interface ID for FFA management interface */
#define FFA_CALL_MGMT_IFACE_ID		(0x1000)

#ifdef __cplusplus
}
#endif

#endif /* FFA_CALL_OPS_H */