| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
#ifndef QEMU_PRIVATE_H |
| 8 |
#define QEMU_PRIVATE_H |
| 9 |
|
| 10 |
#include <stdint.h> |
| 11 |
|
| 12 |
#include <lib/xlat_tables/xlat_tables_v2.h> |
| 13 |
|
| 14 |
void plat_qemu_io_setup(void); |
| 15 |
int qemu_io_register_sp_pkg(const char *name, const char *uuid, |
| 16 |
uintptr_t load_addr); |
| 17 |
unsigned int plat_qemu_calc_core_pos(u_register_t mpidr); |
| 18 |
const mmap_region_t *plat_qemu_get_mmap(void); |
| 19 |
|
| 20 |
void qemu_console_init(void); |
| 21 |
#ifdef PLAT_qemu_sbsa |
| 22 |
void sip_svc_init(void); |
| 23 |
#endif |
| 24 |
|
| 25 |
void plat_qemu_gic_init(void); |
| 26 |
void qemu_pwr_gic_on_finish(void); |
| 27 |
void qemu_pwr_gic_off(void); |
| 28 |
|
| 29 |
int qemu_set_tos_fw_info(uintptr_t config_base, uintptr_t log_addr, |
| 30 |
size_t log_size); |
| 31 |
|
| 32 |
int qemu_set_nt_fw_info( |
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
#ifdef SPD_opteed |
| 38 |
uintptr_t log_addr, |
| 39 |
#endif |
| 40 |
size_t log_size, |
| 41 |
uintptr_t *ns_log_addr); |
| 42 |
|
| 43 |
void qemu_bl2_sync_transfer_list(void); |
| 44 |
|
| 45 |
#endif |