mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 10:08:33 -04:00
Add FreeRTOS-Plus directory.
This commit is contained in:
parent
7bd5f21ad5
commit
f508a5f653
6798 changed files with 134949 additions and 19 deletions
24
FreeRTOS/Demo/PIC32MX_MPLAB/serial/serial_isr.S
Normal file
24
FreeRTOS/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