2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>

PR 1824/cpukit
	* include/bsp.h, startup/bspclean.c: Return exit/shutdown status back
	to boot_card(). boot_card() propagates this to bsp_cleanup() and
	returns it to the assembly that started the application.
	bsp_cleanup() prototype changed.
This commit is contained in:
Joel Sherrill
2011-07-13 18:35:31 +00:00
parent c48524314b
commit 9c0a884e96
3 changed files with 11 additions and 3 deletions
+8
View File
@@ -1,3 +1,11 @@
2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1824/cpukit
* include/bsp.h, startup/bspclean.c: Return exit/shutdown status back
to boot_card(). boot_card() propagates this to bsp_cleanup() and
returns it to the assembly that started the application.
bsp_cleanup() prototype changed.
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspclean.c:
@@ -64,8 +64,6 @@ extern "C" {
uint32_t bsp_get_CPU_clock_speed(void);
void bsp_cleanup(void);
m68k_isr_entry set_vector(
rtems_isr_entry handler,
rtems_vector_number vector,
@@ -22,7 +22,9 @@
#include <bsp.h>
#include <rtems/bspIo.h>
void __attribute__((weak)) bsp_cleanup(void)
void __attribute__((weak)) bsp_cleanup(
uint32_t status
)
{
printk("\nRTEMS exited!\n");
for (;;) {