blob: 26297bccd110df43d597d6cc05a6edc77ee076b6 [file] [log] [blame]
J-Alves8f4a56f2020-10-28 10:29:05 +00001/*
Daniel Boulby8aa994c2022-01-05 19:44:30 +00002 * Copyright (c) 2020-2022, 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}
Daniel Boulby8aa994c2022-01-05 19:44:30 +000016#define IVY_UUID {0xd883baea, 0xaf4eafba, 0xfdf74481, 0xa744e5cb}
Raghu Krishnamurthy9f864522023-04-23 16:19:10 -070017#define EL3_SPMD_LP_UUID {0xe98e43ad, 0xb7db524f, 0x47a3bf57, 0x1588f4e3}
J-Alves8f4a56f2020-10-28 10:29:05 +000018
Max Shvetsov0b7d25f2021-03-05 13:46:42 +000019/* vcpu_count of cactus SPs. */
20#define PRIMARY_EXEC_CTX_COUNT PLATFORM_CORE_COUNT
21#define SECONDARY_EXEC_CTX_COUNT PLATFORM_CORE_COUNT
22#define TERTIARY_EXEC_CTX_COUNT (1)
23#define IVY_EXEC_CTX_COUNT (1)
Raghu Krishnamurthy9f864522023-04-23 16:19:10 -070024#define EL3_SPMD_LP_EXEC_CTX_COUNT (1)
Max Shvetsov0b7d25f2021-03-05 13:46:42 +000025
J-Alves8f4a56f2020-10-28 10:29:05 +000026/* UUID of OPTEE SP as defined in the respective manifest. */
27#define OPTEE_UUID {0x486178e0, 0xe7f811e3, 0xbc5e0002, 0xa5d5c51b}
28
29#define OPTEE_FFA_GET_API_VERSION (0)
30#define OPTEE_FFA_GET_OS_VERSION (1)
31#define OPTEE_FFA_GET_OS_VERSION_MAJOR (3)
Olivier Deprez6a2446e2020-12-03 14:46:10 +010032#define OPTEE_FFA_GET_OS_VERSION_MINOR (10)
J-Alves8f4a56f2020-10-28 10:29:05 +000033
34#endif