mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-01-20 16:50:35 -05:00
PPC405 working but not yet released.
This commit is contained in:
parent
2de068cd70
commit
df711a4a65
2617 changed files with 719397 additions and 0 deletions
24
20080307/Demo/ARM7_AT91SAM7S64_IAR/USB/USB_ISR.s79
Normal file
24
20080307/Demo/ARM7_AT91SAM7S64_IAR/USB/USB_ISR.s79
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
RSEG ICODE:CODE
|
||||
CODE32
|
||||
|
||||
EXTERN vUSB_ISR
|
||||
PUBLIC vUSBISREntry
|
||||
|
||||
; Wrapper for the USB interrupt service routine. This can cause a
|
||||
; context switch so requires an assembly wrapper.
|
||||
|
||||
; Defines the portSAVE_CONTEXT and portRESTORE_CONTEXT macros.
|
||||
#include "ISR_Support.h"
|
||||
|
||||
vUSBISREntry:
|
||||
|
||||
portSAVE_CONTEXT ; Save the context of the current task.
|
||||
|
||||
bl vUSB_ISR ; Call the ISR routine.
|
||||
|
||||
portRESTORE_CONTEXT ; Restore the context of the current task -
|
||||
; which may be different to the task that
|
||||
; was interrupted.
|
||||
|
||||
END
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue