forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -20,6 +20,12 @@ include $(top_srcdir)/../../../../../automake/lib.am
|
||||
# (OPTIONAL) Add local stuff here using +=
|
||||
#
|
||||
|
||||
if tx39
|
||||
EXTRA_FLAGS = -DTX39
|
||||
endif
|
||||
|
||||
AM_CPPFLAGS += $(EXTRA_FLAGS)
|
||||
|
||||
$(PGM): $(interrupts_rel_OBJECTS)
|
||||
$(make-rel)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user