RCS file: /usr1/CVS/rtems/cpukit/libcsupport/src/gxx_wrappers.c,v
retrieving revision 1.21
diff -u -r1.21 gxx_wrappers.c
|
|
|
26 | 26 | #endif |
27 | 27 | |
28 | 28 | #include <stdlib.h> |
29 | | #include <stdio.h> |
30 | 29 | |
31 | 30 | #include <rtems.h> |
32 | | #include <rtems/system.h> |
33 | | #include <rtems/error.h> |
34 | | #include <rtems/rtems/tasks.h> |
35 | 31 | |
36 | 32 | /* uncomment this if you need to debug this interface */ |
37 | 33 | /*#define DEBUG_GXX_WRAPPERS 1*/ |
… |
… |
|
145 | 141 | */ |
146 | 142 | status = rtems_task_variable_add( RTEMS_SELF, (void **)key, key->dtor ); |
147 | 143 | if ( status != RTEMS_SUCCESSFUL ) { |
148 | | rtems_panic ("rtems_gxx_getspecific"); |
| 144 | _Internal_error_Occurred( |
| 145 | INTERNAL_ERROR_CORE, |
| 146 | true, |
| 147 | INTERNAL_ERROR_GXX_KEY_ADD_FAILED |
| 148 | ); |
149 | 149 | } |
150 | 150 | key->val = (void *)0; |
151 | 151 | } |
… |
… |
|
212 | 212 | status |
213 | 213 | ); |
214 | 214 | #endif |
215 | | rtems_panic ("rtems_gxx_mutex_init"); |
| 215 | _Internal_error_Occurred( |
| 216 | INTERNAL_ERROR_CORE, |
| 217 | true, |
| 218 | INTERNAL_ERROR_GXX_MUTEX_INIT_FAILED |
| 219 | ); |
216 | 220 | } |
217 | 221 | #ifdef DEBUG_GXX_WRAPPERS |
218 | 222 | printk( "gxx_wrappers: mutex init complete =%X\n", *mutex ); |
RCS file: /usr1/CVS/rtems/cpukit/score/include/rtems/score/interr.h,v
retrieving revision 1.32
diff -u -r1.32 interr.h
|
|
|
70 | 70 | INTERNAL_ERROR_IMPLEMENTATION_BLOCKING_OPERATION_CANCEL, |
71 | 71 | INTERNAL_ERROR_MUTEX_OBTAIN_FROM_BAD_STATE, |
72 | 72 | INTERNAL_ERROR_UNLIMITED_AND_MAXIMUM_IS_0, |
73 | | INTERNAL_ERROR_SHUTDOWN_WHEN_NOT_UP |
| 73 | INTERNAL_ERROR_SHUTDOWN_WHEN_NOT_UP, |
| 74 | INTERNAL_ERROR_GXX_KEY_ADD_FAILED, |
| 75 | INTERNAL_ERROR_GXX_MUTEX_INIT_FAILED |
74 | 76 | } Internal_errors_Core_list; |
75 | 77 | |
76 | 78 | typedef uint32_t Internal_errors_t; |