Changeset ee13a74 in rtems
- Timestamp:
- 07/01/02 22:18:13 (21 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 63977bb4
- Parents:
- 8d3b3be
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/libmisc/ChangeLog
r8d3b3be ree13a74 1 2002-07-01 Joel Sherrill <joel@OARcorp.com> 2 3 * stackchk/check.c: Corrected use of 4 _Objects_Information_table now that it is a two dimensional 5 array based upon API and class. 6 1 7 2002-06-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de> 2 8 -
c/src/libmisc/stackchk/check.c
r8d3b3be ree13a74 151 151 #if 0 152 152 unsigned32 i; 153 unsigned32 class_index;153 unsigned32 api_index; 154 154 Thread_Control *the_thread; 155 155 Objects_Information *information; … … 205 205 206 206 #if 0 207 for ( class_index = OBJECTS_CLASSES_FIRST ; 208 class_index <= OBJECTS_CLASSES_LAST ; 209 class_index++ ) { 210 information = _Objects_Information_table[ class_index ]; 211 if ( information && information->is_thread ) { 207 for ( api_index = 1; 208 api_index <= OBJECTS_APIS_LAST ; 209 api_index++ ) { 210 if ( !_Objects_Information_table[ api_index ] ) 211 continue; 212 information = _Objects_Information_table[ api_index ][ 1 ]; 213 if ( information ) { 212 214 for ( i=1 ; i <= information->maximum ; i++ ) { 213 215 the_thread = (Thread_Control *)information->local_table[ i ]; … … 496 498 { 497 499 unsigned32 i; 498 unsigned32 class_index;500 unsigned32 api_index; 499 501 Thread_Control *the_thread; 500 502 unsigned32 hit_running = 0; … … 509 511 ); 510 512 511 for ( class_index = OBJECTS_CLASSES_FIRST ; 512 class_index <= OBJECTS_CLASSES_LAST ; 513 class_index++ ) { 514 information = _Objects_Information_table[ class_index ]; 515 if ( information && information->is_thread ) { 513 for ( api_index = 1 ; 514 api_index <= OBJECTS_APIS_LAST ; 515 api_index++ ) { 516 if ( !_Objects_Information_table[ api_index ] ) 517 continue; 518 information = _Objects_Information_table[ api_index ][ 1 ]; 519 if ( information ) { 516 520 for ( i=1 ; i <= information->maximum ; i++ ) { 517 521 the_thread = (Thread_Control *)information->local_table[ i ]; -
cpukit/libmisc/ChangeLog
r8d3b3be ree13a74 1 2002-07-01 Joel Sherrill <joel@OARcorp.com> 2 3 * stackchk/check.c: Corrected use of 4 _Objects_Information_table now that it is a two dimensional 5 array based upon API and class. 6 1 7 2002-06-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de> 2 8 -
cpukit/libmisc/stackchk/check.c
r8d3b3be ree13a74 151 151 #if 0 152 152 unsigned32 i; 153 unsigned32 class_index;153 unsigned32 api_index; 154 154 Thread_Control *the_thread; 155 155 Objects_Information *information; … … 205 205 206 206 #if 0 207 for ( class_index = OBJECTS_CLASSES_FIRST ; 208 class_index <= OBJECTS_CLASSES_LAST ; 209 class_index++ ) { 210 information = _Objects_Information_table[ class_index ]; 211 if ( information && information->is_thread ) { 207 for ( api_index = 1; 208 api_index <= OBJECTS_APIS_LAST ; 209 api_index++ ) { 210 if ( !_Objects_Information_table[ api_index ] ) 211 continue; 212 information = _Objects_Information_table[ api_index ][ 1 ]; 213 if ( information ) { 212 214 for ( i=1 ; i <= information->maximum ; i++ ) { 213 215 the_thread = (Thread_Control *)information->local_table[ i ]; … … 496 498 { 497 499 unsigned32 i; 498 unsigned32 class_index;500 unsigned32 api_index; 499 501 Thread_Control *the_thread; 500 502 unsigned32 hit_running = 0; … … 509 511 ); 510 512 511 for ( class_index = OBJECTS_CLASSES_FIRST ; 512 class_index <= OBJECTS_CLASSES_LAST ; 513 class_index++ ) { 514 information = _Objects_Information_table[ class_index ]; 515 if ( information && information->is_thread ) { 513 for ( api_index = 1 ; 514 api_index <= OBJECTS_APIS_LAST ; 515 api_index++ ) { 516 if ( !_Objects_Information_table[ api_index ] ) 517 continue; 518 information = _Objects_Information_table[ api_index ][ 1 ]; 519 if ( information ) { 516 520 for ( i=1 ; i <= information->maximum ; i++ ) { 517 521 the_thread = (Thread_Control *)information->local_table[ i ];
Note: See TracChangeset
for help on using the changeset viewer.