qemu_image_load.c 1.2 KB

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