blob: e25ea0a118e5b6a2d1b4a5147a12e3b08a74f4ee [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}
Kathleen Capellae8a17a92024-12-05 18:28:29 -050017#define STMM_UUID {0xdcae8d37, 0x46446bf0, 0xab401483, 0xa3873c93}
Raghu Krishnamurthy9f864522023-04-23 16:19:10 -070018#define EL3_SPMD_LP_UUID {0xe98e43ad, 0xb7db524f, 0x47a3bf57, 0x1588f4e3}
J-Alves8f4a56f2020-10-28 10:29:05 +000019
Max Shvetsov0b7d25f2021-03-05 13:46:42 +000020/* vcpu_count of cactus SPs. */
21#define PRIMARY_EXEC_CTX_COUNT PLATFORM_CORE_COUNT
22#define SECONDARY_EXEC_CTX_COUNT PLATFORM_CORE_COUNT
23#define TERTIARY_EXEC_CTX_COUNT (1)
24#define IVY_EXEC_CTX_COUNT (1)
Raghu Krishnamurthy9f864522023-04-23 16:19:10 -070025#define EL3_SPMD_LP_EXEC_CTX_COUNT (1)
Max Shvetsov0b7d25f2021-03-05 13:46:42 +000026
J-Alves8f4a56f2020-10-28 10:29:05 +000027/* UUID of OPTEE SP as defined in the respective manifest. */
28#define OPTEE_UUID {0x486178e0, 0xe7f811e3, 0xbc5e0002, 0xa5d5c51b}
29
30#define OPTEE_FFA_GET_API_VERSION (0)
31#define OPTEE_FFA_GET_OS_VERSION (1)
32#define OPTEE_FFA_GET_OS_VERSION_MAJOR (3)
Olivier Deprez6a2446e2020-12-03 14:46:10 +010033#define OPTEE_FFA_GET_OS_VERSION_MINOR (10)
J-Alves8f4a56f2020-10-28 10:29:05 +000034
35#endif