qemu_image_load.c 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Copyright (c) 2017-2023, Arm Limited and Contributors. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #include <common/desc_image_load.h>
  7. #include "qemu_private.h"
  8. /*******************************************************************************
  9. * This function is a wrapper of a common function which flushes the data
  10. * structures so that they are visible in memory for the next BL image.
  11. ******************************************************************************/
  12. void plat_flush_next_bl_params(void)
  13. {
  14. flush_bl_params_desc();
  15. qemu_bl2_sync_transfer_list();
  16. }
  17. /*******************************************************************************
  18. * This function is a wrapper of a common function which returns the list of
  19. * loadable images.
  20. ******************************************************************************/
  21. bl_load_info_t *plat_get_bl_image_load_info(void)
  22. {
  23. return get_bl_load_info_from_mem_params_desc();
  24. }
  25. /*******************************************************************************
  26. * This function is a wrapper of a common function which returns the data
  27. * structures of the next BL image.
  28. ******************************************************************************/
  29. bl_params_t *plat_get_next_bl_params(void)
  30. {
  31. return get_next_bl_params_from_mem_params_desc();
  32. }