blob: de22678e6f6830c10f6c67a1f39028ab4201eca8 [file] [log] [blame]
Balint Dobszay3bd6ae92020-11-23 17:57:50 +01001/*
julhal01c3f4e9a2020-12-15 13:39:01 +00002 * Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved.
Balint Dobszay3bd6ae92020-11-23 17:57:50 +01003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef FFA_CALL_OPS_H
8#define FFA_CALL_OPS_H
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14/* Common opcodes used by the FFA based RPC layer for management operations */
julhal01c3f4e9a2020-12-15 13:39:01 +000015enum
16{
17 FFA_CALL_OPCODE_SHARE_BUF = 0,
18 FFA_CALL_OPCODE_UNSHARE_BUF = 1,
19 FFA_CALL_OPCODE_LIMIT
20};
Balint Dobszay3bd6ae92020-11-23 17:57:50 +010021
julhal01c3f4e9a2020-12-15 13:39:01 +000022/* Interface ID for FFA management interface */
23#define FFA_CALL_MGMT_IFACE_ID (0x1000)
Balint Dobszay3bd6ae92020-11-23 17:57:50 +010024
25#ifdef __cplusplus
26}
27#endif
28
29#endif /* FFA_CALL_OPS_H */