blob: 202d604dab5a868f7374696dc8bbf661632aa9f8 [file] [log] [blame]
Jens Wiklander52c798e2015-12-07 14:37:10 +01001/*
2 * Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved.
3 *
dp-armfa3cf0b2017-05-03 09:38:09 +01004 * SPDX-License-Identifier: BSD-3-Clause
Jens Wiklander52c798e2015-12-07 14:37:10 +01005 */
6
7#ifndef __QEMU_PRIVATE_H
8#define __QEMU_PRIVATE_H
9
10#include <sys/types.h>
11
Etienne Carriere911de8c2018-02-02 13:23:22 +010012void qemu_configure_mmu_secure(unsigned long total_base,
13 unsigned long total_size,
14 unsigned long ro_start, unsigned long ro_limit,
15 unsigned long coh_start, unsigned long coh_limit);
16
Jens Wiklander52c798e2015-12-07 14:37:10 +010017void qemu_configure_mmu_el1(unsigned long total_base, unsigned long total_size,
18 unsigned long ro_start, unsigned long ro_limit,
19 unsigned long coh_start, unsigned long coh_limit);
20
21void qemu_configure_mmu_el3(unsigned long total_base, unsigned long total_size,
22 unsigned long ro_start, unsigned long ro_limit,
23 unsigned long coh_start, unsigned long coh_limit);
24
25void plat_qemu_io_setup(void);
26unsigned int plat_qemu_calc_core_pos(u_register_t mpidr);
27
28int dt_add_psci_node(void *fdt);
29int dt_add_psci_cpu_enable_methods(void *fdt);
30
31#endif /*__QEMU_PRIVATE_H*/