a64fx.S 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * Copyright (c) 2022, Fujitsu Limited and Contributors. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #include <arch.h>
  7. #include <asm_macros.S>
  8. #include <assert_macros.S>
  9. #include <a64fx.h>
  10. #include <cpu_macros.S>
  11. #include <plat_macros.S>
  12. func a64fx_core_pwr_dwn
  13. endfunc a64fx_core_pwr_dwn
  14. func a64fx_cluster_pwr_dwn
  15. endfunc a64fx_cluster_pwr_dwn
  16. /* ---------------------------------------------
  17. * This function provides cpu specific
  18. * register information for crash reporting.
  19. * It needs to return with x6 pointing to
  20. * a list of register names in ascii and
  21. * x8 - x15 having values of registers to be
  22. * reported.
  23. * ---------------------------------------------
  24. */
  25. .section .rodata.a64fx_regs, "aS"
  26. a64fx_regs: /* The ascii list of register names to be reported */
  27. .asciz ""
  28. func a64fx_cpu_reg_dump
  29. adr x6, a64fx_regs
  30. ret
  31. endfunc a64fx_cpu_reg_dump
  32. declare_cpu_ops a64fx, A64FX_MIDR, CPU_NO_RESET_FUNC \
  33. a64fx_core_pwr_dwn, \
  34. a64fx_cluster_pwr_dwn