Add new test file.

This commit is contained in:
Richard Barry 2008-05-18 16:25:20 +00:00
parent 31bda54b75
commit f3eb5028a3
2 changed files with 126 additions and 0 deletions

View file

@ -0,0 +1,24 @@
#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