qemu_private.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * Copyright (c) 2015-2023, Arm Limited and Contributors. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef QEMU_PRIVATE_H
  7. #define QEMU_PRIVATE_H
  8. #include <stdint.h>
  9. #include <lib/xlat_tables/xlat_tables_v2.h>
  10. void plat_qemu_io_setup(void);
  11. int qemu_io_register_sp_pkg(const char *name, const char *uuid,
  12. uintptr_t load_addr);
  13. unsigned int plat_qemu_calc_core_pos(u_register_t mpidr);
  14. const mmap_region_t *plat_qemu_get_mmap(void);
  15. void *plat_qemu_dt_runtime_address(void);
  16. void qemu_console_init(void);
  17. void plat_qemu_gic_init(void);
  18. void qemu_pwr_gic_on_finish(void);
  19. void qemu_pwr_gic_off(void);
  20. int qemu_set_tos_fw_info(uintptr_t config_base, uintptr_t log_addr,
  21. size_t log_size);
  22. int qemu_set_nt_fw_info(
  23. /*
  24. * Currently OP-TEE does not support reading DTBs from Secure memory
  25. * and this option should be removed when feature is supported.
  26. */
  27. #ifdef SPD_opteed
  28. uintptr_t log_addr,
  29. #endif
  30. size_t log_size,
  31. uintptr_t *ns_log_addr);
  32. void qemu_bl2_sync_transfer_list(void);
  33. #endif /* QEMU_PRIVATE_H */