forked from Imagelibrary/rtems
2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/bspstart.c, shared/gnatcommon.c: Remove debug print methods that are redundant with prntk and replace their use with printk.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* shared/bspstart.c, shared/gnatcommon.c: Remove debug print methods
|
||||||
|
that are redundant with prntk and replace their use with printk.
|
||||||
|
|
||||||
2007-04-17 Joel Sherrill <joel@OARcorp.com>
|
2007-04-17 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* erc32/tools/runtest.in, leon2/tools/runtest.in,
|
* erc32/tools/runtest.in, leon2/tools/runtest.in,
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ void bsp_start( void )
|
|||||||
(unsigned char *)rdb_start - BSP_Configuration.work_space_size;
|
(unsigned char *)rdb_start - BSP_Configuration.work_space_size;
|
||||||
|
|
||||||
if ( work_space_start <= (unsigned char *)&end ) {
|
if ( work_space_start <= (unsigned char *)&end ) {
|
||||||
DEBUG_puts( "bspstart: Not enough RAM!!!\n" );
|
printk( "bspstart: Not enough RAM!!!\n" );
|
||||||
BSP_fatal_return();
|
BSP_fatal_return();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
|
#include <rtems/bspIo.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
@@ -65,13 +66,13 @@ __gnat_signals_Abnormal_termination_handler (int signo)
|
|||||||
switch (signo)
|
switch (signo)
|
||||||
{
|
{
|
||||||
case SIGFPE:
|
case SIGFPE:
|
||||||
DEBUG_puts ("\nConstraint_Error\n");
|
printk("\nConstraint_Error\n");
|
||||||
break;
|
break;
|
||||||
case SIGSEGV:
|
case SIGSEGV:
|
||||||
DEBUG_puts ("\nStorage_Error\n");
|
printk("\nStorage_Error\n");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
DEBUG_puts ("\nProgram_Error\n");
|
printk("\nProgram_Error\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
exit (1);
|
exit (1);
|
||||||
|
|||||||
Reference in New Issue
Block a user