blob: bfd1913ead6f2ae33260beec3228eb360b329d07 [file] [log] [blame]
Manish V Badarkhe9e032182025-05-30 12:31:00 +01001/*
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
12typedef enum {
13 PRIME_NONE = 0,
14} lfa_prime_status_t;
15
16struct lfa_component_status {
17 uint32_t component_id;
18 lfa_prime_status_t prime_status;
19};
20
21typedef int32_t (*component_prime_fn)(struct lfa_component_status *activation);
22typedef int32_t (*component_activate_fn)(struct lfa_component_status *activation,
23 uint64_t ep_address,
24 uint64_t context_id);
25
26struct lfa_component_ops {
27 component_prime_fn prime;
28 component_activate_fn activate;
29};
30
31#endif /* LFA_COMPONENT_DESC_H */