plat_macros.S 530 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) 2021-2022, ARM Limited and Contributors. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef PLAT_MACROS_S
  7. #define PLAT_MACROS_S
  8. #include <css_macros.S>
  9. /* ---------------------------------------------
  10. * The below required platform porting macro
  11. * prints out relevant platform registers
  12. * whenever an unhandled exception is taken in
  13. * BL31.
  14. * ---------------------------------------------
  15. */
  16. .macro plat_crash_print_regs
  17. css_print_gic_regs
  18. .endm
  19. #endif /* PLAT_MACROS_S */