forked from Imagelibrary/rtems
2011-08-15 Julien Delange <julien.delange@gmail.com>
* irq/irq.c: Removed printk() before the interrupt initialization because it somehow destroys the interrupt context. * make/custom/nds.cfg: Enable Thumb interwork. * startup/bspstart.c: Set default exception handler.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2011-08-15 Julien Delange <julien.delange@gmail.com>
|
||||
|
||||
* irq/irq.c: Removed printk() before the interrupt initialization
|
||||
because it somehow destroys the interrupt context.
|
||||
* make/custom/nds.cfg: Enable Thumb interwork.
|
||||
* startup/bspstart.c: Set default exception handler.
|
||||
|
||||
2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Require autoconf-2.68, automake-1.11.1.
|
||||
|
||||
@@ -34,8 +34,6 @@ isValidInterrupt (int irq)
|
||||
void
|
||||
BSP_rtems_irq_mngt_init (void)
|
||||
{
|
||||
printk ("[+] irq manager started\n");
|
||||
|
||||
irqInit ();
|
||||
|
||||
REG_IME = IME_ENABLE;
|
||||
|
||||
@@ -13,7 +13,7 @@ RTEMS_CPU_MODEL=arm9tdmi
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -mstructure-size-boundary=8 -mcpu=$(RTEMS_CPU_MODEL) -mfpu=vfp -mfloat-abi=soft
|
||||
# CPU_CFLAGS += -mthumb-interwork ## -D __THUMB_INTERWORK__ -mthumb
|
||||
CPU_CFLAGS += -mthumb-interwork ## -D __THUMB_INTERWORK__ -mthumb
|
||||
|
||||
# optimize flag: typically -O2
|
||||
#CFLAGS_OPTIMIZE_V = -O0 -ggdb
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include <bsp/bootcard.h>
|
||||
#include <nds.h>
|
||||
|
||||
extern void defaultExceptionHandler ();
|
||||
extern void BSP_rtems_irq_mngt_init (void);
|
||||
/*
|
||||
* start the platform.
|
||||
@@ -44,6 +45,8 @@ void bsp_start (void)
|
||||
|
||||
/* configure clock period */
|
||||
Configuration.microseconds_per_tick = 10000; /* us */
|
||||
|
||||
defaultExceptionHandler ();
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user