Add PIC32 code.

This commit is contained in:
Richard Barry 2007-11-26 15:45:21 +00:00
parent 48b4870c7e
commit a8eabeabbb
13 changed files with 1926 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 vU2InterruptHandler
.extern xISRStackTop
.global vU2InterruptWrapper
.set noreorder
.set noat
.ent vU2InterruptWrapper
vU2InterruptWrapper:
portSAVE_CONTEXT
jal vU2InterruptHandler
nop
portRESTORE_CONTEXT
.end vU2InterruptWrapper