vector_gcc.S 957 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. * Copyright (c) 2006-2022, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2013-07-05 Bernard the first version
  9. */
  10. #include <rtconfig.h>
  11. .section .vectors, "ax"
  12. .code 32
  13. .globl system_vectors
  14. system_vectors:
  15. ldr pc, _vector_reset
  16. ldr pc, _vector_undef
  17. ldr pc, _vector_swi
  18. ldr pc, _vector_pabt
  19. ldr pc, _vector_dabt
  20. ldr pc, _vector_resv
  21. ldr pc, _vector_irq
  22. ldr pc, _vector_fiq
  23. .globl _reset
  24. .globl vector_undef
  25. .globl vector_swi
  26. .globl vector_pabt
  27. .globl vector_dabt
  28. .globl vector_resv
  29. .globl vector_irq
  30. .globl vector_fiq
  31. _vector_reset:
  32. .word _reset
  33. _vector_undef:
  34. .word vector_undef
  35. _vector_swi:
  36. .word vector_swi
  37. _vector_pabt:
  38. .word vector_pabt
  39. _vector_dabt:
  40. .word vector_dabt
  41. _vector_resv:
  42. .word vector_resv
  43. _vector_irq:
  44. .word vector_irq
  45. _vector_fiq:
  46. .word vector_fiq
  47. .balignl 16,0xdeadbeef