* Makefile.am, configure.ac, preinstall.am, s3c2400/include/s3c2400.h:
Add CPU type s3c2410. Add a new s3c24xx common file shared between
s3c2400 and s3c2410. Most content is moved from s3c2400 now. Some
were changed to include <s3c24xx.h> instead of <s3c2400.h>.
* s3c2410/include/s3c2410.h, s3c2410/irq/bsp_irq_asm.S,
s3c2410/irq/irq.h, s3c24xx/clock/clockdrv.c, s3c24xx/clock/support.c,
s3c24xx/include/s3c24xx.h, s3c24xx/irq/bsp_irq_init.c,
s3c24xx/irq/irq.c, s3c24xx/irq/irq.h, s3c24xx/timer/timer.c: New files.
* mpc8260/console-generic/console-generic.c,
mpc8xx/console-generic/console-generic.c: Remove all references to
console_reserve_resources and termios_reserve_resources.
* mpc5xx/console-generic/console-generic.c, mpc5xx/include/console.h,
mpc8260/console-generic/console-generic.c, mpc8260/include/console.h,
mpc8xx/console-generic/console-generic.c, mpc8xx/include/console.h:
Remove all references to console_reserve_resources and
termios_reserve_resources.
* ChangeLog, Makefile.am: Remove all references to
console_reserve_resources and termios_reserve_resources.
* console/consolereserveresources.c: Removed.
* Makefile.am: Do not use intermediate .rel files unless from libcpu or
a network driver. This simplifies the Makefile.am and avoids pulling
in unneeded code.
* configure.ac, startup/exit.c: Add BSP_PRESS_KEY_FOR_RESET
configuration option. When this is set to one, a clean exit of an
application will result in the BSP resetting the hardware without
waiting for a human to press a key.
* start/start.S, startup/linkcmds: Replace the linkcmds with a
version very closely based upon the default in binutils 2.18 for
this target. This eliminated weird failures with C++ dtors even
in C applications. We had an extra _ on a symbol used in start.S.
* include/bsp.h, startup/bspstart.c: confdefs.h now wants
us to use BSP_INTERRUPT_STACK_SIZE instead of
CONFIGURE_INTERRUPT_STACK_MEMORY. Removed reference to
CONFIGURE_INTERRUPT_STACK_MEMORY from bspstart.c
* shared/startup/pretaskinghook.c: install pointer
to rtems_malloc_sbrk_helpers_table. This (and derived)
BSPs rely on sbrk delivering even the first/initial
chunk of memory.
* new-exceptions/bspsupport/irq.c: don't disable irqs
at the interrupt controller (PIC) during initialization -- this
caused problems where some BSPs's BSP_disable_irq_at_pic() routine
did not ignore IRQ lines associated with cascaded PICs.
Rely on the BSP (BSP_setup_the_pic()) to provide a good
initial setup.
* shared/startup/pretaskinghook.c: install pointer
to rtems_malloc_sbrk_helpers_table. This (and derived)
BSPs rely on sbrk delivering even the first/initial
chunk of memory.
* vmeUniverse/vmeTsi148.c: Initialize VME Master
'VTON' timer and bus-release policy to less aggressive
values than the chip's defaults. The default VTON easily
overrides any settings used by the DMA engine.
* new-exceptions/bspsupport/ppc_exc_asm_macros.h,
new-exceptions/bspsupport/ppc_exc.S,
new-exceptions/bspsupport/README,
new-exceptions/bspsupport/ppc_exc_hdl.c:
Thomas Doerfler clarified (thanks!) that raising an
exception and executing the 1st instruction is not
an atomical operation. I added a fix to the code that
checks if a lower-priority interrupt is under way:
we now not only test if the 'lock' variable was set
but also check if the interrupted PC points to the
'write lock' instruction.
Added more comments and updated README.