From f4adc0d1a16d638654ac82159f32c97cdf065e1c Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 13 Jul 2011 18:35:43 +0000 Subject: 2011-07-13 Joel Sherrill PR 1824/cpukit * 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. --- c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c') diff --git a/c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c b/c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c index 114aafd6dc..6c2b86d910 100644 --- a/c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c +++ b/c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c @@ -34,7 +34,9 @@ void bsp_return_to_monitor_trap(void) __asm__ volatile ( "jmp %0@" : "=a" (start_addr) : "0" (start_addr) ); } -void bsp_cleanup( void ) +void bsp_cleanup( + uint32_t status +) { pcc->timer1_int_control = 0; /* Disable Timer 1 */ pcc->timer2_int_control = 0; /* Disable Timer 2 */ -- cgit v1.2.3