summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/mips/shared/interrupts/maxvectors.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-12-13 22:10:07 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-12-13 22:10:07 +0000
commit02896747553d335335cc32cfca9f2a30a006d0c4 (patch)
tree3193a13b9468bad82cc1f04402c1a3f0a3a1fecc /c/src/lib/libcpu/mips/shared/interrupts/maxvectors.c
parent2000-12-13 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-02896747553d335335cc32cfca9f2a30a006d0c4.tar.bz2
2000-12-13 Joel Sherrill <joel@OARcorp.com>
* configure.in: Added new directories. * shared/interrupts/Makefile.am: Added AM_CPPFLAGS to define TX39 when compiling for a TX3904. * shared/interrupts/maxvectors.c: Corrected conditional logic. * tx39/Makefile.am: Added vectorisrs. * tx39/vectorisrs/Makefile.am, tx39/vectorisrs/vectorisrs.c, * tx39/vectorisrs/.cvsignore: New files. This decodes the interrupt pending information on the TX3904 and vectors an interrupt.
Diffstat (limited to 'c/src/lib/libcpu/mips/shared/interrupts/maxvectors.c')
-rw-r--r--c/src/lib/libcpu/mips/shared/interrupts/maxvectors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libcpu/mips/shared/interrupts/maxvectors.c b/c/src/lib/libcpu/mips/shared/interrupts/maxvectors.c
index c1e5df20a4..730a1898f2 100644
--- a/c/src/lib/libcpu/mips/shared/interrupts/maxvectors.c
+++ b/c/src/lib/libcpu/mips/shared/interrupts/maxvectors.c
@@ -18,11 +18,11 @@
* controller so that these four bits map to 16 unique interrupts.
* So you have: 2 software interrupts, an NMI, and 16 others.
*/
-#if defined(tx3904)
+#if defined(TX39)
#define MAX_VECTORS 19
#endif
-#ifndef MAX
+#ifndef MAX_VECTORS
#define MAX_VECTORS 8
#endif