context_gcc.S 801 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * rt_base_t rt_hw_interrupt_disable()
  3. */
  4. .globl rt_hw_interrupt_disable
  5. rt_hw_interrupt_disable:
  6. /*
  7. * void rt_hw_interrupt_enable(rt_base_t level)
  8. */
  9. .globl rt_hw_interrupt_enable
  10. rt_hw_interrupt_enable:
  11. /*
  12. * void rt_hw_context_switch_to(rt_uint32 to)/*
  13. * a0 --> to
  14. */
  15. .globl rt_hw_context_switch_to
  16. rt_hw_context_switch_to:
  17. /*
  18. * void rt_hw_context_switch(rt_uint32 from, rt_uint32 to)
  19. * a0 --> from
  20. * a1 --> to
  21. */
  22. .globl rt_hw_context_switch
  23. rt_hw_context_switch:
  24. /*
  25. * void rt_hw_context_switch_interrupt(rt_uint32 from, rt_uint32 to)/*
  26. */
  27. .globl rt_thread_switch_interrput_flag
  28. .globl rt_interrupt_from_thread
  29. .globl rt_interrupt_to_thread
  30. .globl rt_hw_context_switch_interrupt
  31. rt_hw_context_switch_interrupt: