mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00

Using the fconf framework, the Group 0 and Group 1 secure interrupt descriptors are moved to device tree and retrieved in runtime. This feature is enabled by the build flag SEC_INT_DESC_IN_FCONF. Change-Id: I360c63a83286c7ecc2426cd1ff1b4746d61e633c Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
27 lines
576 B
C
27 lines
576 B
C
/*
|
|
* Copyright (c) 2020, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef FCONF_SEC_INTR_CONFIG_H
|
|
#define FCONF_SEC_INTR_CONFIG_H
|
|
|
|
#include <lib/fconf/fconf.h>
|
|
|
|
#include <platform_def.h>
|
|
|
|
#define hw_config__sec_intr_prop_getter(id) sec_intr_prop.id
|
|
|
|
#define SEC_INT_COUNT_MAX U(15)
|
|
|
|
struct sec_intr_prop_t {
|
|
interrupt_prop_t descriptor[SEC_INT_COUNT_MAX];
|
|
uint32_t count;
|
|
};
|
|
|
|
int fconf_populate_sec_intr_config(uintptr_t config);
|
|
|
|
extern struct sec_intr_prop_t sec_intr_prop;
|
|
|
|
#endif /* FCONF_SEC_INTR_CONFIG_H */
|