plat_macros.S 928 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Copyright (c) 2021, 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 <platform_def.h>
  9. .section .rodata.gic_reg_name, "aS"
  10. gicc_regs:
  11. .asciz "gicc_hppir", "gicc_ahppir", "gicc_ctlr", ""
  12. gicd_pend_reg:
  13. .asciz "gicd_ispendr regs (Offsets 0x200 - 0x278)\n" \
  14. " Offset:\t\t\tvalue\n"
  15. newline:
  16. .asciz "\n"
  17. spacer:
  18. .asciz ":\t\t0x"
  19. .section .rodata.cci_reg_name, "aS"
  20. cci_iface_regs:
  21. .asciz "cci_snoop_ctrl_cluster0", "cci_snoop_ctrl_cluster1" , ""
  22. /* ---------------------------------------------
  23. * The below macro prints out relevant GIC
  24. * registers whenever an unhandled exception
  25. * is taken in BL31.
  26. * Clobbers: x0 - x10, x26, x27, sp
  27. * ---------------------------------------------
  28. */
  29. .macro plat_crash_print_regs
  30. /* TODO: leave implementation to GIC owner */
  31. .endm
  32. #endif /* PLAT_MACROS_S */