plat_macros.S 929 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * Copyright (c) 2020, 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. /* To-do: GIC owner */
  31. /* To-do: CCI owner */
  32. .endm
  33. #endif /* PLAT_MACROS_S */