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:
Joel Sherrill
2010-07-07 14:08:04 +00:00
parent 0f3ab7df60
commit 0b86fd8b6e
2 changed files with 82 additions and 68 deletions

View File

@@ -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>
PR 1583/bsps

View File

@@ -1,3 +1,7 @@
/*
* $Id$
*/
#include <rtems.h>
#include <bsp.h>
#include <bsp/bootcard.h>
@@ -31,8 +35,6 @@ char *score_status_text(rtems_status_code sc)
return "INTERNAL_ERROR_NO_CONFIGURATION_TABLE";
case 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:
return "INTERNAL_ERROR_TOO_LITTLE_WORKSPACE";
case INTERNAL_ERROR_WORKSPACE_ALLOCATION:
@@ -100,12 +102,18 @@ const char *err = 0;
break;
}
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);
else
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);
if (err) {