* mcf52235/README, mcf52235/gdb-init, mcf52235/clock/clock.c,
mcf52235/console/console.c, mcf52235/include/bsp.h,
mcf52235/include/coverhd.h, mcf52235/start/start.S,
mcf52235/startup/bspclean.c, mcf52235/startup/bspstart.c,
mcf52235/startup/linkcmds, mcf52235/timer/timer.c: Cleaned up
white space and code formmated to adhere to RTEMS standards. Fixed
a bug in the nano seconds since last tick support. Fixed a bug
with the location of the start stack (no longer within
.bss). Removed double definition of IPSBAR and some type defs
etc.. Added timing test overhead results.
* mcf52235/include/mcf52235.h: Removed. Moved to the more generic
mcf5223x.h.
* mcf5223x/include/mcf5223x.h: New. Was mcf52235.h.
* Makefile.am, configure.ac, preinstall.am: Changed from mcf52235
to mcf5223x.
* shared/m68kbspgetworkarea.c: Fix extern type to RamSize.
* shared/m68kpretaskinghook.c: Do not handle the RAM allocation if
the BSP is handling it.
* acinclude.m4: Add the mcf52235 BSP.
* include/bsp.h, irq/irq.c, irq/irq_init.c, startup/bspclean.c,
startup/bspstart.c: Slightly better names for IRQ benchmarking. Make
sure the routines are present all the time.
* shared/startup/pretaskinghook.c: removed declaration
of BSP_vme_config() (which is already declared in
<bsp/VME.h>. Removed test for NULL-ness of BSP_vme_config;
gcc doesn't seem to understand that the linker may
define this to be NULL... Silences a compiler warning
(and users can always provide an empty routine).
* shared/comm/tty_drv.c: Eliminate copies of switches to convert
termios Bxxx constants to xxx as an integer. Use the shared
termios_baud_to_number() routine to do the same conversion.
* console/console.c: Eliminate copies of switches to convert termios
Bxxx constants to xxx as an integer. Use the shared
termios_baud_to_number() routine to do the same conversion.
* console/console.c, console/serial_mouse.c: Eliminate copies of
switches to convert termios Bxxx constants to xxx as an integer. Use
the shared termios_baud_to_number() routine to do the same
conversion.
* console/m340uart.c: Eliminate copies of switches to convert termios
Bxxx constants to xxx as an integer. Use the shared
termios_baud_to_number() routine to do the same conversion.
* shared/comm/console.c: Eliminate copies of switches to convert
termios Bxxx constants to xxx as an integer. Use the shared
termios_baud_to_number() routine to do the same conversion.
* shared/startup/linkcmds, shared/startup/zerobss.c:
introduced '__bss_end'; assuming that __rtems_end
coincides with the end of .bss for the purpose of
zeroing .bss is very dangerous.
* libchip/Makefile.am: Move termios helper routines from libchip to
libcsupport. Add routine which makes it easy for a termios device
driver to inform termios of its default baud rate. This avoids
inconsistencies in later termios settings changes.
* libchip/serial/termios_baud2index.c,
libchip/serial/termios_baud2num.c: Removed.
* console/console.c: Properly inform termios of our initial baud rate.
If it is not the default, this causes problems when an application
changes any termios attributes since termios thinks our baud rate is
one thing when in fact, it is another.
* bootcard.c: Add capability for bootcard.c BSP Initialization
Framework to ask the BSP where it has memory for the RTEMS Workspace
and C Program Heap. These collectively are referred to as work area.
If the BSP supports this, then it does not have to include code to
split the available memory between the two areas. This reduces the
amount of code in the BSP specific bspstart.c file. Additionally, the
shared framework can initialize the C Library, call
rtems_debug_enable(), and dirty the work area memory. Until most/all
BSPs support this new capability, if the BSP supports this, it should
call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac.
When the transition is complete, this autoconf macro can be removed.
* bsppretaskinghook.c: New file.
* startup/bspstart.c: Add capability for bootcard.c BSP Initialization
Framework to ask the BSP where it has memory for the RTEMS Workspace
and C Program Heap. These collectively are referred to as work area.
If the BSP supports this, then it does not have to include code to
split the available memory between the two areas. This reduces the
amount of code in the BSP specific bspstart.c file. Additionally, the
shared framework can initialize the C Library, call
rtems_debug_enable(), and dirty the work area memory. Until most/all
BSPs support this new capability, if the BSP supports this, it should
call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac.
When the transition is complete, this autoconf macro can be removed.