blob: 5d6b594a932f074fe68d214f599c19e283f6d647 [file] [log] [blame]
Madhukar Pappireddy02cc3ff2020-06-02 09:26:30 -05001/*
2 * Copyright (c) 2020, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef FCONF_SEC_INTR_CONFIG_H
8#define FCONF_SEC_INTR_CONFIG_H
9
10#include <lib/fconf/fconf.h>
11
12#include <platform_def.h>
13
14#define hw_config__sec_intr_prop_getter(id) sec_intr_prop.id
15
16#define SEC_INT_COUNT_MAX U(15)
17
18struct sec_intr_prop_t {
19 interrupt_prop_t descriptor[SEC_INT_COUNT_MAX];
20 uint32_t count;
21};
22
23int fconf_populate_sec_intr_config(uintptr_t config);
24
25extern struct sec_intr_prop_t sec_intr_prop;
26
27#endif /* FCONF_SEC_INTR_CONFIG_H */