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] - Rev 599

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

                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

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

powered by: WebSVN 2.1.0

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