2fe316d2b2def91f10963d17e02fa13635627815
[project/bcm63xx/atf.git] / plat / nvidia / tegra / include / drivers / tegra_gic.h
1 /*
2 * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7 #ifndef __TEGRA_GIC_H__
8 #define __TEGRA_GIC_H__
9
10 #include <interrupt_props.h>
11
12 /*******************************************************************************
13 * Per-CPU struct describing FIQ state to be stored
14 ******************************************************************************/
15 typedef struct pcpu_fiq_state {
16 uint64_t elr_el3;
17 uint64_t spsr_el3;
18 } pcpu_fiq_state_t;
19
20 /*******************************************************************************
21 * Fucntion declarations
22 ******************************************************************************/
23 void tegra_gic_cpuif_deactivate(void);
24 void tegra_gic_init(void);
25 void tegra_gic_pcpu_init(void);
26 void tegra_gic_setup(const interrupt_prop_t *interrupt_props,
27 unsigned int interrupt_props_num);
28
29 #endif /* __TEGRA_GIC_H__ */