You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
382 B
ArmAsm
25 lines
382 B
ArmAsm
17 years ago
|
#include <p32xxxx.h>
|
||
|
#include <sys/asm.h>
|
||
|
#include "ISR_Support.h"
|
||
|
|
||
|
.set nomips16
|
||
13 years ago
|
.set noreorder
|
||
17 years ago
|
|
||
13 years ago
|
.extern vU2InterruptHandler
|
||
17 years ago
|
.extern xISRStackTop
|
||
13 years ago
|
.global vU2InterruptWrapper
|
||
17 years ago
|
|
||
13 years ago
|
.set noreorder
|
||
|
.set noat
|
||
|
.ent vU2InterruptWrapper
|
||
17 years ago
|
|
||
|
vU2InterruptWrapper:
|
||
|
|
||
|
portSAVE_CONTEXT
|
||
|
jal vU2InterruptHandler
|
||
|
nop
|
||
|
portRESTORE_CONTEXT
|
||
|
|
||
13 years ago
|
.end vU2InterruptWrapper
|
||
17 years ago
|
|