summaryrefslogtreecommitdiff
path: root/nuttx/arch/avr/include/avr32/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/avr/include/avr32/irq.h')
-rw-r--r--nuttx/arch/avr/include/avr32/irq.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/nuttx/arch/avr/include/avr32/irq.h b/nuttx/arch/avr/include/avr32/irq.h
index cc8222e86..2425b9f30 100644
--- a/nuttx/arch/avr/include/avr32/irq.h
+++ b/nuttx/arch/avr/include/avr32/irq.h
@@ -50,9 +50,11 @@
* Definitions
****************************************************************************/
-/* Indices the register state save array */
+/* Register state save array indices */
-#defin XCPTCONTEXT_REGS 1
+/* Size of the register state save array */
+
+#define XCPTCONTEXT_REGS 1
/****************************************************************************
* Public Types
@@ -87,6 +89,7 @@ struct xcptcontext
static inline irqstate_t irqsave(void)
{
+# warning "Not implemented"
return 0;
}
@@ -94,6 +97,7 @@ static inline irqstate_t irqsave(void)
static inline void irqrestore(irqstate_t flags)
{
+# warning "Not implemented"
}
#endif /* __ASSEMBLY__ */