plat_private.h 853 Bytes
Newer Older
1
/*
2
 * Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved.
3
4
5
6
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

7
8
#ifndef PLAT_PRIVATE_H
#define PLAT_PRIVATE_H
9

10
#include <lib/xlat_tables/xlat_tables.h>
11
#include <bl31/interrupt_mgmt.h>
12
13
14
15
16
17
18
19
20
21

void versal_config_setup(void);

const mmap_region_t *plat_versal_get_mmap(void);

void plat_versal_gic_driver_init(void);
void plat_versal_gic_init(void);
void plat_versal_gic_cpuif_enable(void);
void plat_versal_gic_cpuif_disable(void);
void plat_versal_gic_pcpu_init(void);
22
23
void plat_versal_gic_save(void);
void plat_versal_gic_resume(void);
24
25

unsigned int versal_calc_core_pos(u_register_t mpidr);
26
27
28
29
30
/*
 * Register handler to specific GIC entrance
 * for INTR_TYPE_EL3 type of interrupt
 */
int request_intr_type_el3(uint32_t irq, interrupt_type_handler_t fiq_handler);
31

32
#endif /* PLAT_PRIVATE_H */