forked from Imagelibrary/rtems
2010-07-07 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1606/cpukit * shared/startup/panic.c: Remove INTERNAL_ERROR_INVALID_WORKSPACE_ADDRESS since it is not generated.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2010-07-07 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
|
PR 1606/cpukit
|
||||||
|
* shared/startup/panic.c: Remove
|
||||||
|
INTERNAL_ERROR_INVALID_WORKSPACE_ADDRESS since it is not generated.
|
||||||
|
|
||||||
2010-06-21 Peter Dufault <dufault@hda.com>
|
2010-06-21 Peter Dufault <dufault@hda.com>
|
||||||
|
|
||||||
PR 1583/bsps
|
PR 1583/bsps
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
#include <rtems.h>
|
#include <rtems.h>
|
||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
#include <bsp/bootcard.h>
|
#include <bsp/bootcard.h>
|
||||||
@@ -31,8 +35,6 @@ char *score_status_text(rtems_status_code sc)
|
|||||||
return "INTERNAL_ERROR_NO_CONFIGURATION_TABLE";
|
return "INTERNAL_ERROR_NO_CONFIGURATION_TABLE";
|
||||||
case INTERNAL_ERROR_NO_CPU_TABLE:
|
case INTERNAL_ERROR_NO_CPU_TABLE:
|
||||||
return "INTERNAL_ERROR_NO_CPU_TABLE";
|
return "INTERNAL_ERROR_NO_CPU_TABLE";
|
||||||
case INTERNAL_ERROR_INVALID_WORKSPACE_ADDRESS:
|
|
||||||
return "INTERNAL_ERROR_INVALID_WORKSPACE_ADDRESS";
|
|
||||||
case INTERNAL_ERROR_TOO_LITTLE_WORKSPACE:
|
case INTERNAL_ERROR_TOO_LITTLE_WORKSPACE:
|
||||||
return "INTERNAL_ERROR_TOO_LITTLE_WORKSPACE";
|
return "INTERNAL_ERROR_TOO_LITTLE_WORKSPACE";
|
||||||
case INTERNAL_ERROR_WORKSPACE_ALLOCATION:
|
case INTERNAL_ERROR_WORKSPACE_ALLOCATION:
|
||||||
@@ -71,8 +73,8 @@ char *score_status_text(rtems_status_code sc)
|
|||||||
|
|
||||||
void _BSP_Fatal_error(unsigned int v)
|
void _BSP_Fatal_error(unsigned int v)
|
||||||
{
|
{
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
const char *err = 0;
|
const char *err = 0;
|
||||||
|
|
||||||
rtems_interrupt_disable(flags);
|
rtems_interrupt_disable(flags);
|
||||||
printk("%s\n",_RTEMS_version);
|
printk("%s\n",_RTEMS_version);
|
||||||
@@ -100,12 +102,18 @@ const char *err = 0;
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if ( _Thread_Dispatch_disable_level )
|
if ( _Thread_Dispatch_disable_level )
|
||||||
printk(" Error occurred in a Thread Dispatching DISABLED context (level %i)\n",
|
printk(
|
||||||
|
" Error occurred in a Thread Dispatching DISABLED context (level %i)\n",
|
||||||
_Thread_Dispatch_disable_level);
|
_Thread_Dispatch_disable_level);
|
||||||
else
|
else
|
||||||
printk("enabled\n");
|
printk("enabled\n");
|
||||||
if ( _ISR_Nest_level )
|
|
||||||
printk(" Error occurred from ISR context (ISR nest level %i)\n", _ISR_Nest_level);
|
if ( _ISR_Nest_level ) {
|
||||||
|
printk(
|
||||||
|
" Error occurred from ISR context (ISR nest level %i)\n",
|
||||||
|
_ISR_Nest_level
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
printk("Error %d",THEERR);
|
printk("Error %d",THEERR);
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|||||||
Reference in New Issue
Block a user