OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [ARM7_AT91SAM7S64_IAR/] [USB/] [USB_ISR.s79] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 577 jeremybenn
                RSEG ICODE:CODE
2
                CODE32
3
 
4
                EXTERN vUSB_ISR
5
                PUBLIC vUSBISREntry
6
 
7
; Wrapper for the USB interrupt service routine.  This can cause a
8
; context switch so requires an assembly wrapper.
9
 
10
; Defines the portSAVE_CONTEXT and portRESTORE_CONTEXT macros.
11
#include "ISR_Support.h"
12
 
13
vUSBISREntry:
14
 
15
        portSAVE_CONTEXT                        ; Save the context of the current task.
16
 
17
        bl      vUSB_ISR                                ; Call the ISR routine.
18
 
19
        portRESTORE_CONTEXT                     ; Restore the context of the current task -
20
                                                                ; which may be different to the task that
21
                                                                ; was interrupted.
22
 
23
                END
24
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.