blob: 2fe316d2b2def91f10963d17e02fa13635627815 [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
10#include <interrupt_props.h>
11
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__ */