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:
@@ -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>
|
2000-12-13 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* shared/.cvsignore, shared/Makefile.am,
|
* shared/.cvsignore, shared/Makefile.am,
|
||||||
|
|||||||
@@ -40,4 +40,5 @@ shared/cache/Makefile
|
|||||||
shared/interrupts/Makefile
|
shared/interrupts/Makefile
|
||||||
tx39/Makefile
|
tx39/Makefile
|
||||||
tx39/include/Makefile
|
tx39/include/Makefile
|
||||||
|
tx39/vectorisrs/Makefile
|
||||||
timer/Makefile)
|
timer/Makefile)
|
||||||
|
|||||||
@@ -20,6 +20,12 @@ include $(top_srcdir)/../../../../../automake/lib.am
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
if tx39
|
||||||
|
EXTRA_FLAGS = -DTX39
|
||||||
|
endif
|
||||||
|
|
||||||
|
AM_CPPFLAGS += $(EXTRA_FLAGS)
|
||||||
|
|
||||||
$(PGM): $(interrupts_rel_OBJECTS)
|
$(PGM): $(interrupts_rel_OBJECTS)
|
||||||
$(make-rel)
|
$(make-rel)
|
||||||
|
|
||||||
|
|||||||
@@ -18,11 +18,11 @@
|
|||||||
* controller so that these four bits map to 16 unique interrupts.
|
* controller so that these four bits map to 16 unique interrupts.
|
||||||
* So you have: 2 software interrupts, an NMI, and 16 others.
|
* So you have: 2 software interrupts, an NMI, and 16 others.
|
||||||
*/
|
*/
|
||||||
#if defined(tx3904)
|
#if defined(TX39)
|
||||||
#define MAX_VECTORS 19
|
#define MAX_VECTORS 19
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef MAX
|
#ifndef MAX_VECTORS
|
||||||
#define MAX_VECTORS 8
|
#define MAX_VECTORS 8
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
AUTOMAKE_OPTIONS = foreign 1.4
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
ACLOCAL_AMFLAGS = -I ../../../../../../aclocal
|
ACLOCAL_AMFLAGS = -I ../../../../../../aclocal
|
||||||
|
|
||||||
SUBDIRS = include
|
SUBDIRS = include vectorisrs
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../../automake/subdirs.am
|
include $(top_srcdir)/../../../../../automake/subdirs.am
|
||||||
include $(top_srcdir)/../../../../../automake/local.am
|
include $(top_srcdir)/../../../../../automake/local.am
|
||||||
|
|||||||
Reference in New Issue
Block a user