diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-12-30 21:08:23 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-12-30 21:08:23 +0000 |
commit | 9f740c40ba0aabdc4501452e93d0a22524cb4c7d (patch) | |
tree | dd5696bdff3cc00d9b4115380394549197922e8f /nuttx/arch/z80/include | |
parent | 3eb484bd4d79de731b743d9dccf9a2535b82699f (diff) | |
download | px4-nuttx-9f740c40ba0aabdc4501452e93d0a22524cb4c7d.tar.gz px4-nuttx-9f740c40ba0aabdc4501452e93d0a22524cb4c7d.tar.bz2 px4-nuttx-9f740c40ba0aabdc4501452e93d0a22524cb4c7d.zip |
Add support of other resets
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@464 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z80/include')
-rw-r--r-- | nuttx/arch/z80/include/z80/irq.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/nuttx/arch/z80/include/z80/irq.h b/nuttx/arch/z80/include/z80/irq.h index 12dd502c1..dbf61fe3e 100644 --- a/nuttx/arch/z80/include/z80/irq.h +++ b/nuttx/arch/z80/include/z80/irq.h @@ -51,8 +51,17 @@ /* Z80 Interrupts */ -#define Z80_IRQ_SYSTIMER (0) -#define NR_IRQS (1) +#define Z80_RST0 (0) +#define Z80_RST1 (1) +#define Z80_RST2 (2) +#define Z80_RST3 (3) +#define Z80_RST4 (4) +#define Z80_RST5 (5) +#define Z80_RST6 (6) +#define Z80_RST7 (7) + +#define Z80_IRQ_SYSTIMER Z80_RST7 +#define NR_IRQS (8) /* IRQ Stack Frame Format * |