mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-23 23:11:58 -04:00
25 lines
389 B
ArmAsm
25 lines
389 B
ArmAsm
#include <p32xxxx.h>
|
|
#include <sys/asm.h>
|
|
#include "ISR_Support.h"
|
|
|
|
.set nomips16
|
|
.set noreorder
|
|
|
|
.extern vT2InterruptHandler
|
|
.extern xISRStackTop
|
|
.global vT2InterruptWrapper
|
|
|
|
.set noreorder
|
|
.set noat
|
|
.ent vT2InterruptWrapper
|
|
|
|
vT2InterruptWrapper:
|
|
|
|
portSAVE_CONTEXT
|
|
jal vT2InterruptHandler
|
|
nop
|
|
portRESTORE_CONTEXT
|
|
|
|
.end vT2InterruptWrapper
|
|
|