change log for rtems (2010-07-07)
rtems-vc at rtems.org
rtems-vc at rtems.org
Wed Jul 7 14:13:51 UTC 2010
*joel*:
2010-07-07 Joel Sherrill <joel.sherrill at oarcorp.com>
PR 1606/cpukit
* score/include/rtems/score/interr.h: Remove
INTERNAL_ERROR_INVALID_WORKSPACE_ADDRESS since it is not generated.
M 1.2493 cpukit/ChangeLog
M 1.31 cpukit/score/include/rtems/score/interr.h
diff -u rtems/cpukit/ChangeLog:1.2492 rtems/cpukit/ChangeLog:1.2493
--- rtems/cpukit/ChangeLog:1.2492 Tue Jul 6 17:32:23 2010
+++ rtems/cpukit/ChangeLog Wed Jul 7 09:06:51 2010
@@ -1,3 +1,9 @@
+2010-07-07 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ PR 1606/cpukit
+ * score/include/rtems/score/interr.h: Remove
+ INTERNAL_ERROR_INVALID_WORKSPACE_ADDRESS since it is not generated.
+
2010-07-06 Joel Sherrill <joel.sherrilL at OARcorp.com>
* libfs/src/imfs/ioman.c: Remove unneeded operation check.
diff -u rtems/cpukit/score/include/rtems/score/interr.h:1.30 rtems/cpukit/score/include/rtems/score/interr.h:1.31
--- rtems/cpukit/score/include/rtems/score/interr.h:1.30 Thu Jun 17 23:08:47 2010
+++ rtems/cpukit/score/include/rtems/score/interr.h Wed Jul 7 09:06:52 2010
@@ -52,7 +52,6 @@
typedef enum {
INTERNAL_ERROR_NO_CONFIGURATION_TABLE,
INTERNAL_ERROR_NO_CPU_TABLE,
- INTERNAL_ERROR_INVALID_WORKSPACE_ADDRESS,
INTERNAL_ERROR_TOO_LITTLE_WORKSPACE,
INTERNAL_ERROR_WORKSPACE_ALLOCATION,
INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL,
*joel*:
2010-07-07 Joel Sherrill <joel.sherrill at oarcorp.com>
PR 1606/cpukit
* spfatal_support/init.c: Remove
INTERNAL_ERROR_INVALID_WORKSPACE_ADDRESS since it is not generated.
M 1.397 testsuites/sptests/ChangeLog
M 1.10 testsuites/sptests/spfatal_support/init.c
diff -u rtems/testsuites/sptests/ChangeLog:1.396 rtems/testsuites/sptests/ChangeLog:1.397
--- rtems/testsuites/sptests/ChangeLog:1.396 Wed Jul 7 04:03:04 2010
+++ rtems/testsuites/sptests/ChangeLog Wed Jul 7 09:07:12 2010
@@ -1,3 +1,9 @@
+2010-07-07 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ PR 1606/cpukit
+ * spfatal_support/init.c: Remove
+ INTERNAL_ERROR_INVALID_WORKSPACE_ADDRESS since it is not generated.
+
2010-07-08 Sebastian Huber <sebastian.huber at embedded-brains.de>
* spfatal09/.cvsignore, spfatal09/Makefile.am,
diff -u rtems/testsuites/sptests/spfatal_support/init.c:1.9 rtems/testsuites/sptests/spfatal_support/init.c:1.10
--- rtems/testsuites/sptests/spfatal_support/init.c:1.9 Wed Jul 7 04:03:34 2010
+++ rtems/testsuites/sptests/spfatal_support/init.c Wed Jul 7 09:07:12 2010
@@ -1,17 +1,5 @@
-/* Init
- *
- * This routine is the initialization task for this test program.
- * It is a user initialization task and has the responsibility for creating
- * and starting the tasks that make up the test. If the time of day
- * clock is required for the test, it should also be set to a known
- * value by this function.
- *
- * Input parameters:
- * argument - task argument
- *
- * Output parameters: NONE
- *
- * COPYRIGHT (c) 1989-2009.
+/*
+ * COPYRIGHT (c) 1989-2010.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -72,7 +60,6 @@
char *Errors_Core[] = {
"INTERNAL_ERROR_NO_CONFIGURATION_TABLE",
"INTERNAL_ERROR_NO_CPU_TABLE",
- "INTERNAL_ERROR_INVALID_WORKSPACE_ADDRESS",
"INTERNAL_ERROR_TOO_LITTLE_WORKSPACE",
"INTERNAL_ERROR_WORKSPACE_ALLOCATION",
"INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL",
*joel*:
2010-07-07 Joel Sherrill <joel.sherrill at oarcorp.com>
PR 1606/cpukit
* psxfatal_support/init.c: Remove
INTERNAL_ERROR_INVALID_WORKSPACE_ADDRESS since it is not generated.
M 1.289 testsuites/psxtests/ChangeLog
M 1.8 testsuites/psxtests/psxfatal_support/init.c
diff -u rtems/testsuites/psxtests/ChangeLog:1.288 rtems/testsuites/psxtests/ChangeLog:1.289
--- rtems/testsuites/psxtests/ChangeLog:1.288 Wed Jul 7 04:11:24 2010
+++ rtems/testsuites/psxtests/ChangeLog Wed Jul 7 09:07:26 2010
@@ -1,3 +1,9 @@
+2010-07-07 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ PR 1606/cpukit
+ * psxfatal_support/init.c: Remove
+ INTERNAL_ERROR_INVALID_WORKSPACE_ADDRESS since it is not generated.
+
2010-07-07 Sebastian Huber <Sebastian.Huber at embedded-brains.de>
* psxfatal_support/init.c: Print end of test message in case of
diff -u rtems/testsuites/psxtests/psxfatal_support/init.c:1.7 rtems/testsuites/psxtests/psxfatal_support/init.c:1.8
--- rtems/testsuites/psxtests/psxfatal_support/init.c:1.7 Wed Jul 7 04:11:25 2010
+++ rtems/testsuites/psxtests/psxfatal_support/init.c Wed Jul 7 09:07:26 2010
@@ -1,17 +1,5 @@
-/* POSIX_Init
- *
- * This routine is the initialization task for this test program.
- * It is a user initialization task and has the responsibility for creating
- * and starting the tasks that make up the test. If the time of day
- * clock is required for the test, it should also be set to a known
- * value by this function.
- *
- * Input parameters:
- * argument - task argument
- *
- * Output parameters: NONE
- *
- * COPYRIGHT (c) 1989-2009.
+/*
+ * COPYRIGHT (c) 1989-2010.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -70,7 +58,6 @@
char *Errors_Core[] = {
"INTERNAL_ERROR_NO_CONFIGURATION_TABLE",
"INTERNAL_ERROR_NO_CPU_TABLE",
- "INTERNAL_ERROR_INVALID_WORKSPACE_ADDRESS",
"INTERNAL_ERROR_TOO_LITTLE_WORKSPACE",
"INTERNAL_ERROR_WORKSPACE_ALLOCATION",
"INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL",
*joel*:
2010-07-07 Joel Sherrill <joel.sherrill at oarcorp.com>
PR 1606/cpukit
* shared/startup/panic.c: Remove
INTERNAL_ERROR_INVALID_WORKSPACE_ADDRESS since it is not generated.
M 1.235 c/src/lib/libbsp/powerpc/ChangeLog
M 1.8 c/src/lib/libbsp/powerpc/shared/startup/panic.c
diff -u rtems/c/src/lib/libbsp/powerpc/ChangeLog:1.234 rtems/c/src/lib/libbsp/powerpc/ChangeLog:1.235
--- rtems/c/src/lib/libbsp/powerpc/ChangeLog:1.234 Mon Jun 21 17:12:48 2010
+++ rtems/c/src/lib/libbsp/powerpc/ChangeLog Wed Jul 7 09:08:04 2010
@@ -1,3 +1,9 @@
+2010-07-07 Joel Sherrill <joel.sherrill at 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 at hda.com>
PR 1583/bsps
diff -u rtems/c/src/lib/libbsp/powerpc/shared/startup/panic.c:1.7 rtems/c/src/lib/libbsp/powerpc/shared/startup/panic.c:1.8
--- rtems/c/src/lib/libbsp/powerpc/shared/startup/panic.c:1.7 Mon Jun 21 17:12:48 2010
+++ rtems/c/src/lib/libbsp/powerpc/shared/startup/panic.c Wed Jul 7 09:08:04 2010
@@ -1,3 +1,7 @@
+/*
+ * $Id$
+ */
+
#include <rtems.h>
#include <bsp.h>
#include <bsp/bootcard.h>
@@ -9,9 +13,9 @@
static void
rebootQuestion(void)
{
- printk("Press a key to reboot\n");
- BSP_poll_char_via_serial();
- bsp_reset();
+ printk("Press a key to reboot\n");
+ BSP_poll_char_via_serial();
+ bsp_reset();
}
void BSP_panic(char *s)
@@ -26,53 +30,51 @@
char *score_status_text(rtems_status_code sc)
{
- switch (sc) {
- case INTERNAL_ERROR_NO_CONFIGURATION_TABLE:
- 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:
- return "INTERNAL_ERROR_WORKSPACE_ALLOCATION";
- case INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL:
- return "INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL";
- case INTERNAL_ERROR_THREAD_EXITTED:
- return "INTERNAL_ERROR_THREAD_EXITTED";
- case INTERNAL_ERROR_INCONSISTENT_MP_INFORMATION:
- return "INTERNAL_ERROR_INCONSISTENT_MP_INFORMATION";
- case INTERNAL_ERROR_INVALID_NODE:
- return "INTERNAL_ERROR_INVALID_NODE";
- case INTERNAL_ERROR_NO_MPCI:
- return "INTERNAL_ERROR_NO_MPCI";
- case INTERNAL_ERROR_BAD_PACKET:
- return "INTERNAL_ERROR_BAD_PACKET";
- case INTERNAL_ERROR_OUT_OF_PACKETS:
- return "INTERNAL_ERROR_OUT_OF_PACKETS";
- case INTERNAL_ERROR_OUT_OF_GLOBAL_OBJECTS:
- return "INTERNAL_ERROR_OUT_OF_GLOBAL_OBJECTS";
- case INTERNAL_ERROR_OUT_OF_PROXIES:
- return "INTERNAL_ERROR_OUT_OF_PROXIES";
- case INTERNAL_ERROR_INVALID_GLOBAL_ID:
- return "INTERNAL_ERROR_INVALID_GLOBAL_ID";
- case INTERNAL_ERROR_BAD_STACK_HOOK:
- return "INTERNAL_ERROR_BAD_STACK_HOOK";
- case INTERNAL_ERROR_BAD_ATTRIBUTES:
- return "INTERNAL_ERROR_BAD_ATTRIBUTES";
- case 18: /* not in header (yet) :-( */
- return "INTERNAL_ERROR_CALLED_FROM_WRONG_ENVIRONMENT";
- default:
- break;
- }
- return 0;
+ switch (sc) {
+ case INTERNAL_ERROR_NO_CONFIGURATION_TABLE:
+ return "INTERNAL_ERROR_NO_CONFIGURATION_TABLE";
+ case INTERNAL_ERROR_NO_CPU_TABLE:
+ return "INTERNAL_ERROR_NO_CPU_TABLE";
+ case INTERNAL_ERROR_TOO_LITTLE_WORKSPACE:
+ return "INTERNAL_ERROR_TOO_LITTLE_WORKSPACE";
+ case INTERNAL_ERROR_WORKSPACE_ALLOCATION:
+ return "INTERNAL_ERROR_WORKSPACE_ALLOCATION";
+ case INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL:
+ return "INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL";
+ case INTERNAL_ERROR_THREAD_EXITTED:
+ return "INTERNAL_ERROR_THREAD_EXITTED";
+ case INTERNAL_ERROR_INCONSISTENT_MP_INFORMATION:
+ return "INTERNAL_ERROR_INCONSISTENT_MP_INFORMATION";
+ case INTERNAL_ERROR_INVALID_NODE:
+ return "INTERNAL_ERROR_INVALID_NODE";
+ case INTERNAL_ERROR_NO_MPCI:
+ return "INTERNAL_ERROR_NO_MPCI";
+ case INTERNAL_ERROR_BAD_PACKET:
+ return "INTERNAL_ERROR_BAD_PACKET";
+ case INTERNAL_ERROR_OUT_OF_PACKETS:
+ return "INTERNAL_ERROR_OUT_OF_PACKETS";
+ case INTERNAL_ERROR_OUT_OF_GLOBAL_OBJECTS:
+ return "INTERNAL_ERROR_OUT_OF_GLOBAL_OBJECTS";
+ case INTERNAL_ERROR_OUT_OF_PROXIES:
+ return "INTERNAL_ERROR_OUT_OF_PROXIES";
+ case INTERNAL_ERROR_INVALID_GLOBAL_ID:
+ return "INTERNAL_ERROR_INVALID_GLOBAL_ID";
+ case INTERNAL_ERROR_BAD_STACK_HOOK:
+ return "INTERNAL_ERROR_BAD_STACK_HOOK";
+ case INTERNAL_ERROR_BAD_ATTRIBUTES:
+ return "INTERNAL_ERROR_BAD_ATTRIBUTES";
+ case 18: /* not in header (yet) :-( */
+ return "INTERNAL_ERROR_CALLED_FROM_WRONG_ENVIRONMENT";
+ default:
+ break;
+ }
+ return 0;
}
void _BSP_Fatal_error(unsigned int v)
{
-unsigned long flags;
-const char *err = 0;
+ unsigned long flags;
+ const char *err = 0;
rtems_interrupt_disable(flags);
printk("%s\n",_RTEMS_version);
@@ -80,36 +82,42 @@
printk("Internal error: %s\n", ISITNL? "Yes":"No");
printk("Environment:");
switch (THESRC) {
- case INTERNAL_ERROR_CORE:
- printk(" RTEMS Core\n");
- err = score_status_text(THEERR);
- break;
-
- case INTERNAL_ERROR_RTEMS_API:
- printk(" RTEMS API\n");
- err = rtems_status_text(THEERR);
- break;
-
- case INTERNAL_ERROR_POSIX_API:
- printk(" POSIX API (errno)\n");
- /* could use strerror but I'd rather avoid using this here */
- break;
-
- default:
- printk(" UNKNOWN (0x%x)\n",THESRC);
- break;
+ case INTERNAL_ERROR_CORE:
+ printk(" RTEMS Core\n");
+ err = score_status_text(THEERR);
+ break;
+
+ case INTERNAL_ERROR_RTEMS_API:
+ printk(" RTEMS API\n");
+ err = rtems_status_text(THEERR);
+ break;
+
+ case INTERNAL_ERROR_POSIX_API:
+ printk(" POSIX API (errno)\n");
+ /* could use strerror but I'd rather avoid using this here */
+ break;
+
+ default:
+ printk(" UNKNOWN (0x%x)\n",THESRC);
+ break;
}
if ( _Thread_Dispatch_disable_level )
- 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);
+ 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
+ );
+ }
printk("Error %d",THEERR);
if (err) {
- printk(": %s",err);
+ printk(": %s",err);
}
printk("\n");
printk("Stack Trace:\n");
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20100707/198423c0/attachment.html>
More information about the vc
mailing list