blob: 6106b40a72e9f52117b5abfd41089359e4d55e97 [file] [log] [blame]
Varun Wadekar9f4a7d32018-10-19 11:42:28 -07001/*
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
Antonio Nino Diaze0f90632018-12-14 00:18:21 +000010#include <common/interrupt_props.h>
Varun Wadekar9f4a7d32018-10-19 11:42:28 -070011
12/*******************************************************************************
13 * Per-CPU struct describing FIQ state to be stored
14 ******************************************************************************/
15typedef 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 ******************************************************************************/
23void tegra_gic_cpuif_deactivate(void);
24void tegra_gic_init(void);
25void tegra_gic_pcpu_init(void);
26void tegra_gic_setup(const interrupt_prop_t *interrupt_props,
27 unsigned int interrupt_props_num);
28
29#endif /* __TEGRA_GIC_H__ */