blob: 82e64a4830786cdbc0f91429dd11e5eafa85ed59 [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. */
Olivier Deprez224b6462021-09-16 12:18:32 +020013#define PRIMARY_UUID {0x1e67b5b4, 0xe14f904a, 0x13fb1fb8, 0xcbdae1da}
14#define SECONDARY_UUID {0x092358d1, 0xb94723f0, 0x64447c82, 0xc88f57f5}
15#define TERTIARY_UUID {0x735cb579, 0xb9448c1d, 0xe1619385, 0xd2d80a77}
J-Alves8f4a56f2020-10-28 10:29:05 +000016
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