Manish V Badarkhe | 3bb5266 | 2025-05-30 13:21:21 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2025, Arm Limited. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #ifndef PLAT_LFA_H |
| 8 | #define PLAT_LFA_H |
| 9 | |
Manish V Badarkhe | b100e91 | 2025-05-30 12:23:56 +0100 | [diff] [blame] | 10 | #include <services/lfa_component_desc.h> |
Manish V Badarkhe | 3bb5266 | 2025-05-30 13:21:21 +0100 | [diff] [blame] | 11 | #include <tools_share/uuid.h> |
| 12 | |
| 13 | typedef struct plat_lfa_component_info { |
| 14 | const uint32_t lfa_component_id; |
| 15 | const uuid_t uuid; |
Manish V Badarkhe | b100e91 | 2025-05-30 12:23:56 +0100 | [diff] [blame] | 16 | struct lfa_component_ops *activator; |
| 17 | bool activation_pending; |
Manish V Badarkhe | 3bb5266 | 2025-05-30 13:21:21 +0100 | [diff] [blame] | 18 | } plat_lfa_component_info_t; |
| 19 | |
| 20 | uint32_t plat_lfa_get_components(plat_lfa_component_info_t **components); |
Manish V Badarkhe | 357079c | 2025-06-01 19:49:44 +0100 | [diff] [blame] | 21 | bool is_plat_lfa_activation_pending(uint32_t lfa_component_id); |
Manish V Badarkhe | b4cbf50 | 2025-06-01 20:42:49 +0100 | [diff] [blame] | 22 | int plat_lfa_cancel(uint32_t lfa_component_id); |
Manish V Badarkhe | a7fbccc | 2025-06-02 09:45:10 +0100 | [diff] [blame] | 23 | int plat_lfa_load_auth_image(uint32_t lfa_component_id); |
Manish V Badarkhe | 3bb5266 | 2025-05-30 13:21:21 +0100 | [diff] [blame] | 24 | |
| 25 | #endif /* PLAT_LFA_H */ |