1 /* 2 * Copyright (c) 2025, Arm Limited. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef LFA_COMPONENT_DESC_H 8 #define LFA_COMPONENT_DESC_H 9 10 #include <stdint.h> 11 12 typedef enum { 13 PRIME_NONE = 0, 14 } lfa_prime_status_t; 15 16 struct lfa_component_status { 17 uint32_t component_id; 18 lfa_prime_status_t prime_status; 19 }; 20 21 typedef int32_t (*component_prime_fn)(struct lfa_component_status *activation); 22 typedef int32_t (*component_activate_fn)(struct lfa_component_status *activation, 23 uint64_t ep_address, 24 uint64_t context_id); 25 26 struct lfa_component_ops { 27 component_prime_fn prime; 28 component_activate_fn activate; 29 }; 30 31 #endif /* LFA_COMPONENT_DESC_H */ 32