Balint Dobszay | 3bd6ae9 | 2020-11-23 17:57:50 +0100 | [diff] [blame] | 1 | /* |
julhal01 | c3f4e9a | 2020-12-15 13:39:01 +0000 | [diff] [blame^] | 2 | * Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved. |
Balint Dobszay | 3bd6ae9 | 2020-11-23 17:57:50 +0100 | [diff] [blame] | 3 | * |
| 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 |
| 11 | extern "C" { |
| 12 | #endif |
| 13 | |
| 14 | /* Common opcodes used by the FFA based RPC layer for management operations */ |
julhal01 | c3f4e9a | 2020-12-15 13:39:01 +0000 | [diff] [blame^] | 15 | enum |
| 16 | { |
| 17 | FFA_CALL_OPCODE_SHARE_BUF = 0, |
| 18 | FFA_CALL_OPCODE_UNSHARE_BUF = 1, |
| 19 | FFA_CALL_OPCODE_LIMIT |
| 20 | }; |
Balint Dobszay | 3bd6ae9 | 2020-11-23 17:57:50 +0100 | [diff] [blame] | 21 | |
julhal01 | c3f4e9a | 2020-12-15 13:39:01 +0000 | [diff] [blame^] | 22 | /* Interface ID for FFA management interface */ |
| 23 | #define FFA_CALL_MGMT_IFACE_ID (0x1000) |
Balint Dobszay | 3bd6ae9 | 2020-11-23 17:57:50 +0100 | [diff] [blame] | 24 | |
| 25 | #ifdef __cplusplus |
| 26 | } |
| 27 | #endif |
| 28 | |
| 29 | #endif /* FFA_CALL_OPS_H */ |