diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-10-04 12:26:48 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-10-04 12:26:48 +0000 |
commit | b51648943a5b39ca0aa39b0ffbb48fc70f6597ef (patch) | |
tree | b01c975fc3b23b8afd6582a78a970fb49dd2ae4e /nuttx/arch/avr/include | |
parent | dfb71b78826f39c903325b675d6293f43348a2ed (diff) | |
download | nuttx-b51648943a5b39ca0aa39b0ffbb48fc70f6597ef.tar.gz nuttx-b51648943a5b39ca0aa39b0ffbb48fc70f6597ef.tar.bz2 nuttx-b51648943a5b39ca0aa39b0ffbb48fc70f6597ef.zip |
Cloned AVR32 code now compiles
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2965 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/avr/include')
-rwxr-xr-x | nuttx/arch/avr/include/at91uc3/irq.h | 2 | ||||
-rw-r--r-- | nuttx/arch/avr/include/avr32/irq.h | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/nuttx/arch/avr/include/at91uc3/irq.h b/nuttx/arch/avr/include/at91uc3/irq.h index 395c88188..adb1cc18b 100755 --- a/nuttx/arch/avr/include/at91uc3/irq.h +++ b/nuttx/arch/avr/include/at91uc3/irq.h @@ -56,7 +56,7 @@ /* Total number of IRQ numbers */ -#define NR_IRQS +#define NR_IRQS 1 /**************************************************************************** * Public Types 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__ */ |