mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-01-20 16:50:35 -05:00
This commit is contained in:
parent
5c64e1fad9
commit
4baf272c92
5062 changed files with 1554463 additions and 0 deletions
24
20100923-V6.1.0-RC2/Demo/PIC32MX_MPLAB/serial/serial_isr.S
Normal file
24
20100923-V6.1.0-RC2/Demo/PIC32MX_MPLAB/serial/serial_isr.S
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#include <p32xxxx.h>
|
||||
#include <sys/asm.h>
|
||||
#include "ISR_Support.h"
|
||||
|
||||
.set nomips16
|
||||
.set noreorder
|
||||
|
||||
.extern vU2InterruptHandler
|
||||
.extern xISRStackTop
|
||||
.global vU2InterruptWrapper
|
||||
|
||||
.set noreorder
|
||||
.set noat
|
||||
.ent vU2InterruptWrapper
|
||||
|
||||
vU2InterruptWrapper:
|
||||
|
||||
portSAVE_CONTEXT
|
||||
jal vU2InterruptHandler
|
||||
nop
|
||||
portRESTORE_CONTEXT
|
||||
|
||||
.end vU2InterruptWrapper
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue