* Makefile.am: Add stub for U-Boot support. Hopefully someone more
knowledgeable than I can provide a real address and length.
* startup/uboot_support.c: New file.
* libchip/i2c/spi-sd-card.c: Updated to the libblock changes.
* libchip/ide/ata.c: Change to use a mutex rather than disable
pre-emption. Updated to the libblock changes.
* libchip/ide/ata_internal.h: Updated to the new chains API.
* libchip/ide/ide_controller.c: Updated to the libblock
changes. Added come debug tracing.
* libchip/ide/ide_ctrl_cfg.h, libchip/ide/ide_ctrl_io.h: Updated
to the libblock changes.
* irq/irq_init.c, include/bsp.h:
define BSP_PPC403_CLOCK_HOOK_EXCEPTION
so that we hook the timer exception rather than going
through the interrupt dispatcher.
* ppc403/clock/clock.c: Added (conditionally compiled)
code so that a BSP can choose to hook the timer exception
directly rather than going through the interrupt dispatcher.
* startup/bspstart.c: Removed SPRG0 warning - this BSP
is OK.
Use interrupt stack limits from linker script.
No need to reserve space beyond '_end'. linkcmds now
reserves space below '_end'.
Use low-level exception handling support from
new-exceptions/bspsupport.
* dlentry/dlentry.S: load R13 with _SDA_BASE_ so that
SVR4-ABI access of short data area works. No support
for R2/sdata2/eabi, so far but that would be easy
(atm R2 is loaded with got address IIRC).
* startup/linkcmds: fixed sdata/sbss areas -- these
must be contiguous for SVR4 complicant access via R13.
Use kludged layout so that sbss, bss, sbss2 are all
contiguous and zeroed by dlentry.S.
Provide _SDA_BASE_ and _SDA2_BASE_ for loading R13 (and
R2 if anyone wants to use EABI).
Make sure interrupt stack is never in heap area by
moving it below '_end'.
Provide symbols for start + end of interrupt stack.
* new-exceptions/bspsupport/vectors_init.c: added
features to C_exception_handler() (the default global
handler):
- try to catch recursion
- print info about context where the exception occurred
(ISR or task with task ID).
- suspend offending task rather than spinning forever.
* new-exceptions/bspsupport/vectors_init.c: must not
align start of stack downwards (we don't 'own' memory
below start). Instead, use original boundaries but
align the stack pointer as required.
Added test to verify that R13 was loaded with _SDA_BASE_
during early initialization (low-level assembly code
relies on it).