vector_gcc.S 632 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Copyright (c) 2006-2020, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2024-03-28 Shell Move vector handling codes from context_gcc.S
  9. */
  10. #ifndef __ASSEMBLY__
  11. #define __ASSEMBLY__
  12. #endif
  13. #include "vector_gcc.h"
  14. #include "context_gcc.h"
  15. .section .text
  16. vector_fiq:
  17. .globl vector_fiq
  18. b .
  19. .globl rt_hw_irq_exit
  20. /**
  21. * void rt_hw_vector_irq_sched(void *eframe)
  22. * @brief do IRQ scheduling
  23. */
  24. rt_hw_vector_irq_sched:
  25. .globl rt_hw_vector_irq_sched
  26. bl rt_scheduler_do_irq_switch
  27. b rt_hw_irq_exit