2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>

* Makefile.am: Add bsppredriverhook.c.
	* irq/irq.h: Attempt to correct definition of
	BSP_CPM_IRQ_LOWEST_OFFSET.
This commit is contained in:
Joel Sherrill
2007-12-04 21:03:34 +00:00
parent 7edabafe3c
commit e872f07bc8
3 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Add bsppredriverhook.c.
* irq/irq.h: Attempt to correct definition of
BSP_CPM_IRQ_LOWEST_OFFSET.
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com> 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c, startup/bspstart.c.nocache: Moved most of the * startup/bspstart.c, startup/bspstart.c.nocache: Moved most of the

View File

@@ -55,7 +55,8 @@ vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
noinst_PROGRAMS += startup.rel noinst_PROGRAMS += startup.rel
startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \ startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \ ../../shared/bsppost.c ../../shared/bsppredriverhook.c \
startup/bspstart.c ../../shared/bootcard.c \
startup/imbx8xx.c startup/mmutlbtab.c \ startup/imbx8xx.c startup/mmutlbtab.c \
../../shared/sbrk.c ../../shared/gnatinstallhandler.c startup/start.S ../../shared/sbrk.c ../../shared/gnatinstallhandler.c startup/start.S
startup_rel_CPPFLAGS = $(AM_CPPFLAGS) startup_rel_CPPFLAGS = $(AM_CPPFLAGS)

View File

@@ -46,7 +46,7 @@ extern volatile unsigned int ppc_cached_irq_mask;
* CAUTION : BSP_CPM_IRQ_LOWEST_OFFSET should be equal to OPENPIC_VEC_SOURCE * CAUTION : BSP_CPM_IRQ_LOWEST_OFFSET should be equal to OPENPIC_VEC_SOURCE
*/ */
#define BSP_CPM_IRQ_NUMBER 32 #define BSP_CPM_IRQ_NUMBER 32
#define BSP_CPM_IRQ_LOWEST_OFFSET (BSP_SIU_IRQ_NUMBER + BSP_IRQ_LOWEST_OFFSET) #define BSP_CPM_IRQ_LOWEST_OFFSET (BSP_SIU_IRQ_NUMBER + BSP_SIU_IRQ_LOWEST_OFFSET)
#define BSP_CPM_IRQ_MAX_OFFSET (BSP_CPM_IRQ_LOWEST_OFFSET + BSP_CPM_IRQ_NUMBER - 1) #define BSP_CPM_IRQ_MAX_OFFSET (BSP_CPM_IRQ_LOWEST_OFFSET + BSP_CPM_IRQ_NUMBER - 1)
/* /*
* PowerPc exceptions handled as interrupt where a rtems managed interrupt * PowerPc exceptions handled as interrupt where a rtems managed interrupt