plat_macros.S 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. * Copyright (c) 2015-2020, Broadcom
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef PLAT_MACROS_S
  7. #define PLAT_MACROS_S
  8. .section .rodata.gic_reg_name, "aS"
  9. gicc_regs:
  10. .asciz "gicc_hppir", "gicc_ahppir", "gicc_ctlr", ""
  11. gicd_pend_reg:
  12. .asciz "gicd_ispendr regs (Offsets 0x200 - 0x278)\n Offset:\t\t\tvalue\n"
  13. newline:
  14. .asciz "\n"
  15. spacer:
  16. .asciz ":\t\t0x"
  17. /* ---------------------------------------------
  18. * The below required platform porting macro
  19. * prints out relevant registers whenever an
  20. * unhandled exception is taken in BL31.
  21. * ---------------------------------------------
  22. */
  23. .macro plat_crash_print_regs
  24. nop
  25. .endm
  26. /* ---------------------------------------------
  27. * The below macro prints out relevant GIC
  28. * registers whenever an unhandled exception is
  29. * taken in BL31.
  30. * ---------------------------------------------
  31. */
  32. .macro plat_print_gic_regs
  33. nop
  34. /*TBD-STINGRAY*/
  35. .endm
  36. /* ------------------------------------------------
  37. * The below required platform porting macro prints
  38. * out relevant interconnect registers whenever an
  39. * unhandled exception is taken in BL3-1.
  40. * ------------------------------------------------
  41. */
  42. .macro plat_print_interconnect_regs
  43. nop
  44. /*TBD-STINGRAY*/
  45. .endm
  46. #endif /* PLAT_MACROS_S */