OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [ARM7_AT91SAM7S64_IAR/] [serial/] [serialISR.s79] - Blame information for rev 581

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 vSerialISR
5
                PUBLIC vSerialISREntry
6
 
7
; Wrapper for the serial port 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
vSerialISREntry:
14
 
15
        portSAVE_CONTEXT                        ; Save the context of the current task.
16
 
17
        bl      vSerialISR                              ; 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.