summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-07-13 18:35:31 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-07-13 18:35:31 +0000
commit9c0a884e9659492ec44dd386960200e983aaf73e (patch)
treef7f66e7f490cb264e69c2c64a1d3f95ac0ed2a78 /c/src/lib/libbsp/m68k
parent2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-9c0a884e9659492ec44dd386960200e983aaf73e.tar.bz2
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.
Diffstat (limited to 'c/src/lib/libbsp/m68k')
-rw-r--r--c/src/lib/libbsp/m68k/mcf5225x/ChangeLog8
-rw-r--r--c/src/lib/libbsp/m68k/mcf5225x/include/bsp.h2
-rw-r--r--c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c4
3 files changed, 11 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/m68k/mcf5225x/ChangeLog b/c/src/lib/libbsp/m68k/mcf5225x/ChangeLog
index 49cf27784c..1158913296 100644
--- a/c/src/lib/libbsp/m68k/mcf5225x/ChangeLog
+++ b/c/src/lib/libbsp/m68k/mcf5225x/ChangeLog
@@ -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:
diff --git a/c/src/lib/libbsp/m68k/mcf5225x/include/bsp.h b/c/src/lib/libbsp/m68k/mcf5225x/include/bsp.h
index a1041c1f0b..d56c4f65ce 100644
--- a/c/src/lib/libbsp/m68k/mcf5225x/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mcf5225x/include/bsp.h
@@ -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,
diff --git a/c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c b/c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c
index ab9d20e587..6cab002eeb 100644
--- a/c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c
+++ b/c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c
@@ -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 (;;) {