blob: 06b5abc1ca13cae22583c4da15d62f37ffd6ff34 [file] [log] [blame]
J-Alves8f4a56f2020-10-28 10:29:05 +00001/*
Max Shvetsov0b7d25f2021-03-05 13:46:42 +00002 * Copyright (c) 2020-2021, Arm Limited. All rights reserved.
J-Alves8f4a56f2020-10-28 10:29:05 +00003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef FFA_ENDPOINTS_H
8#define FFA_ENDPOINTS_H
9
Max Shvetsov0b7d25f2021-03-05 13:46:42 +000010#include <platform_def.h>
11
J-Alves8f4a56f2020-10-28 10:29:05 +000012/* UUID of cactus SPs as defined in the respective manifests. */
13#define PRIMARY_UUID {0xb4b5671e, 0x4a904fe1, 0xb81ffb13, 0xdae1dacb}
14#define SECONDARY_UUID {0xd1582309, 0xf02347b9, 0x827c4464, 0xf5578fc8}
15#define TERTIARY_UUID {0x79b55c73, 0x1d8c44b9, 0x859361e1, 0x770ad8d2}
16
Max Shvetsov0b7d25f2021-03-05 13:46:42 +000017/* vcpu_count of cactus SPs. */
18#define PRIMARY_EXEC_CTX_COUNT PLATFORM_CORE_COUNT
19#define SECONDARY_EXEC_CTX_COUNT PLATFORM_CORE_COUNT
20#define TERTIARY_EXEC_CTX_COUNT (1)
21#define IVY_EXEC_CTX_COUNT (1)
22
J-Alves8f4a56f2020-10-28 10:29:05 +000023/* UUID of OPTEE SP as defined in the respective manifest. */
24#define OPTEE_UUID {0x486178e0, 0xe7f811e3, 0xbc5e0002, 0xa5d5c51b}
25
26#define OPTEE_FFA_GET_API_VERSION (0)
27#define OPTEE_FFA_GET_OS_VERSION (1)
28#define OPTEE_FFA_GET_OS_VERSION_MAJOR (3)
Olivier Deprez6a2446e2020-12-03 14:46:10 +010029#define OPTEE_FFA_GET_OS_VERSION_MINOR (10)
J-Alves8f4a56f2020-10-28 10:29:05 +000030
31#endif