mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-01 11:53:53 -04:00
made a copy
This commit is contained in:
parent
bb7dc7c37f
commit
e20f132f48
2632 changed files with 751681 additions and 0 deletions
24
20080212/Demo/PIC32MX_MPLAB/serial/serial_isr.S
Normal file
24
20080212/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