qemu_private.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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 qemu_console_init(void);
  16. #ifdef PLAT_qemu_sbsa
  17. void sip_svc_init(void);
  18. #endif
  19. void plat_qemu_gic_init(void);
  20. void qemu_pwr_gic_on_finish(void);
  21. void qemu_pwr_gic_off(void);
  22. int qemu_set_tos_fw_info(uintptr_t config_base, uintptr_t log_addr,
  23. size_t log_size);
  24. int qemu_set_nt_fw_info(
  25. /*
  26. * Currently OP-TEE does not support reading DTBs from Secure memory
  27. * and this option should be removed when feature is supported.
  28. */
  29. #ifdef SPD_opteed
  30. uintptr_t log_addr,
  31. #endif
  32. size_t log_size,
  33. uintptr_t *ns_log_addr);
  34. void qemu_bl2_sync_transfer_list(void);
  35. #endif /* QEMU_PRIVATE_H */