summaryrefslogtreecommitdiff
path: root/nuttx/arch/avr/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-10-10 14:57:10 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-10-10 14:57:10 +0000
commit86bcce1eda6d75b8050c78e6964eaf5086099c67 (patch)
tree741e7378384923d4e3e00b28656e92f326089f1f /nuttx/arch/avr/include
parentcba3911b19871a9a2f7b3ccae3787d4f83a9049e (diff)
downloadpx4-nuttx-86bcce1eda6d75b8050c78e6964eaf5086099c67.tar.gz
px4-nuttx-86bcce1eda6d75b8050c78e6964eaf5086099c67.tar.bz2
px4-nuttx-86bcce1eda6d75b8050c78e6964eaf5086099c67.zip
Add exception handling basics
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2990 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/avr/include')
-rwxr-xr-xnuttx/arch/avr/include/at91uc3/irq.h33
1 files changed, 17 insertions, 16 deletions
diff --git a/nuttx/arch/avr/include/at91uc3/irq.h b/nuttx/arch/avr/include/at91uc3/irq.h
index e7555f51e..e8f2d88f6 100755
--- a/nuttx/arch/avr/include/at91uc3/irq.h
+++ b/nuttx/arch/avr/include/at91uc3/irq.h
@@ -66,24 +66,24 @@
#define AVR32_IRQ_UNREC 0 /* EVBA+0x00 Unrecoverable exception */
#define AVR32_IRQ_TLBMULT 1 /* EVBA+0x04 TLB multiple hit */
#define AVR32_IRQ_BUSDATA 2 /* EVBA+0x08 Bus error data fetch */
-#define AVR32_IRQ_BUSINST 3 /* EVBA+0x0C Bus error instruction fetch */
+#define AVR32_IRQ_BUSINST 3 /* EVBA+0x0c Bus error instruction fetch */
#define AVR32_IRQ_NMI 4 /* EVBA+0x10 NMI */
#define AVR32_IRQ_INSTADDR 5 /* EVBA+0x14 Instruction Address */
-#define AVR32_IRQ_ITLBMISS 6 /* EVBA+0x50 ITLB Miss */
-#define AVR32_IRQ_ITLBPROT 7 /* EVBA+0x18 ITLB Protection */
-#define AVR32_IRQ_BP 8 /* EVBA+0x1C Breakpoint */
-#define AVR32_IRQ_INVINST 9 /* EVBA+0x20 Illegal Opcode */
-#define AVR32_IRQ_UNIMPINST 10 /* EVBA+0x24 Unimplemented instruction */
-#define AVR32_IRQ_PRIV 11 /* EVBA+0x28 Privilege violation */
-#define AVR32_IRQ_FP 12 /* EVBA+0x2C Floating-point */
-#define AVR32_IRQ_COP 13 /* EVBA+0x30 Coprocessor absent */
-#define AVR32_IRQ_RDDATA 14 /* EVBA+0x34 Data Address (Read) */
-#define AVR32_IRQ_WRDATA 15 /* EVBA+0x38 Data Address (Write) */
-#define AVR32_IRQ_RDDTLB 16 /* EVBA+0x60 DTLB Miss (Read) */
-#define AVR32_IRQ_WRDTLB 17 /* EVBA+0x70 DTLB Miss (Write) */
-#define AVR32_IRQ_RDDTLBPROT 18 /* EVBA+0x3C DTLB Protection (Read) */
-#define AVR32_IRQ_WRDTLBPROT 19 /* EVBA+0x40 DTLB Protection (Write) */
-#define AVR32_IRQ_DLTBMOD 20 /* EVBA+0x44 DTLB Modified */
+#define AVR32_IRQ_ITLBPROT 6 /* EVBA+0x18 ITLB Protection */
+#define AVR32_IRQ_BP 7 /* EVBA+0x1c Breakpoint */
+#define AVR32_IRQ_INVINST 8 /* EVBA+0x20 Illegal Opcode */
+#define AVR32_IRQ_UNIMPINST 9 /* EVBA+0x24 Unimplemented instruction */
+#define AVR32_IRQ_PRIV 10 /* EVBA+0x28 Privilege violation */
+#define AVR32_IRQ_FP 11 /* EVBA+0x2c Floating-point */
+#define AVR32_IRQ_COP 12 /* EVBA+0x30 Coprocessor absent */
+#define AVR32_IRQ_RDDATA 13 /* EVBA+0x34 Data Address (Read) */
+#define AVR32_IRQ_WRDATA 14 /* EVBA+0x38 Data Address (Write) */
+#define AVR32_IRQ_RDDTLBPROT 15 /* EVBA+0x3c DTLB Protection (Read) */
+#define AVR32_IRQ_WRDTLBPROT 16 /* EVBA+0x40 DTLB Protection (Write) */
+#define AVR32_IRQ_DLTBMOD 17 /* EVBA+0x44 DTLB Modified */
+#define AVR32_IRQ_ITLBMISS 18 /* EVBA+0x50 ITLB Miss */
+#define AVR32_IRQ_RDDTLB 19 /* EVBA+0x60 DTLB Miss (Read) */
+#define AVR32_IRQ_WRDTLB 20 /* EVBA+0x70 DTLB Miss (Write) */
#define AVR32_IRQ_SUPER 21 /* EVBA+0x100 Supervisor call */
#define AVR32_IRQ_NEVENTS 22
@@ -219,6 +219,7 @@
/* Total number of IRQ numbers */
+#define AVR32_IRQ_BADVECTOR 61 /* Not a real IRQ number */
#define NR_IRQS 61
/****************************************************************************