Jens Wiklander | 419e0d2 | 2015-12-07 14:37:10 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved. |
| 3 | * |
dp-arm | 82cb2c1 | 2017-05-03 09:38:09 +0100 | [diff] [blame] | 4 | * SPDX-License-Identifier: BSD-3-Clause |
Jens Wiklander | 419e0d2 | 2015-12-07 14:37:10 +0100 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef __QEMU_PRIVATE_H |
| 8 | #define __QEMU_PRIVATE_H |
| 9 | |
| 10 | #include <sys/types.h> |
| 11 | |
| 12 | void qemu_configure_mmu_el1(unsigned long total_base, unsigned long total_size, |
| 13 | unsigned long ro_start, unsigned long ro_limit, |
| 14 | unsigned long coh_start, unsigned long coh_limit); |
| 15 | |
| 16 | void qemu_configure_mmu_el3(unsigned long total_base, unsigned long total_size, |
| 17 | unsigned long ro_start, unsigned long ro_limit, |
| 18 | unsigned long coh_start, unsigned long coh_limit); |
| 19 | |
| 20 | void plat_qemu_io_setup(void); |
| 21 | unsigned int plat_qemu_calc_core_pos(u_register_t mpidr); |
| 22 | |
| 23 | int dt_add_psci_node(void *fdt); |
| 24 | int dt_add_psci_cpu_enable_methods(void *fdt); |
| 25 | |
| 26 | #endif /*__QEMU_PRIVATE_H*/ |