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:
Joel Sherrill
2000-12-13 22:10:07 +00:00
parent 32f415dc50
commit 0289674755
5 changed files with 22 additions and 3 deletions

View File

@@ -1,3 +1,15 @@
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.
2000-12-13 Joel Sherrill <joel@OARcorp.com>
* shared/.cvsignore, shared/Makefile.am,

View File

@@ -40,4 +40,5 @@ shared/cache/Makefile
shared/interrupts/Makefile
tx39/Makefile
tx39/include/Makefile
tx39/vectorisrs/Makefile
timer/Makefile)

View File

@@ -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)

View File

@@ -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

View File

@@ -5,7 +5,7 @@
AUTOMAKE_OPTIONS = foreign 1.4
ACLOCAL_AMFLAGS = -I ../../../../../../aclocal
SUBDIRS = include
SUBDIRS = include vectorisrs
include $(top_srcdir)/../../../../../automake/subdirs.am
include $(top_srcdir)/../../../../../automake/local.am