Changeset a00dff42 in rtems
- Timestamp:
- 12/12/19 05:37:01 (3 years ago)
- Branches:
- 5, master
- Children:
- 24f8915
- Parents:
- d24b301
- git-author:
- Sebastian Huber <sebastian.huber@…> (12/12/19 05:37:01)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (12/13/19 07:22:58)
- Files:
-
- 40 edited
Legend:
- Unmodified
- Added
- Removed
-
bsps/include/shm_driver.h
rd24b301 ra00dff42 240 240 241 241 #define Shm_Is_master_node() \ 242 ( SHM_MASTER == _Configuration_MP_table-> node)242 ( SHM_MASTER == rtems_object_get_local_node() ) 243 243 244 244 #define Shm_Free_envelope( ecb ) \ -
bsps/shared/shmdr/shmdr-dump.c
rd24b301 ra00dff42 42 42 43 43 printk( "\n\nSHMDR STATISTICS (NODE %" PRId32 ")\n", 44 Multiprocessing_configuration.node);44 rtems_object_get_local_node() ); 45 45 printk( "TICKS SINCE BOOT = %" PRId32 "\n", ticks ); 46 46 printk( "TICKS PER SECOND = %" PRId32 "\n", ticks_per_second ); -
bsps/shared/shmdr/shmdr-init.c
rd24b301 ra00dff42 47 47 uint32_t local_node; 48 48 49 local_node = _Configuration_MP_table->node;49 local_node = rtems_object_get_local_node(); 50 50 51 51 Shm_Get_configuration( local_node, &Shm_Configuration ); -
bsps/shared/shmdr/shmdr-send.c
rd24b301 ra00dff42 47 47 else { 48 48 for( nnum = SHM_FIRST_NODE ; nnum <= SHM_MAXIMUM_NODES ; nnum++ ) 49 if ( _Configuration_MP_table->node!= nnum ) {49 if ( rtems_object_get_local_node() != nnum ) { 50 50 struct pkt_cpy *pkt; 51 51 -
cpukit/include/rtems/rtems/object.h
rd24b301 ra00dff42 358 358 ); 359 359 360 /** 361 * @brief Get the local MPCI node number. 362 * 363 * @return The local MPCI node number. 364 */ 365 RTEMS_INLINE_ROUTINE uint16_t rtems_object_get_local_node( void ) 366 { 367 return _Objects_Local_node; 368 } 369 360 370 #ifdef __cplusplus 361 371 } -
cpukit/include/rtems/score/object.h
rd24b301 ra00dff42 339 339 ((Objects_Maximum) ((maximum) & ~OBJECTS_UNLIMITED_OBJECTS)) 340 340 341 /** 342 * @brief The local MPCI node number. 343 */ 344 #if defined(RTEMS_MULTIPROCESSING) 345 extern uint16_t _Objects_Local_node; 346 #else 347 #define _Objects_Local_node ((uint16_t) 1) 348 #endif 349 341 350 /** @} */ 342 351 /** @} */ -
cpukit/include/rtems/score/objectimpl.h
rd24b301 ra00dff42 63 63 OBJECTS_FAKE_OBJECTS_SCHEDULERS = 1 64 64 } Objects_Fake_objects_API; 65 66 /**67 * The following is referenced to the node number of the local node.68 */69 #if defined(RTEMS_MULTIPROCESSING)70 extern uint16_t _Objects_Local_node;71 #else72 #define _Objects_Local_node ((uint16_t)1)73 #endif74 65 75 66 /** -
cpukit/libcsupport/src/error.c
rd24b301 ra00dff42 52 52 #if defined(RTEMS_MULTIPROCESSING) 53 53 if (_System_state_Is_multiprocessing) 54 fprintf(stderr, "[%" PRIu 32 "] ", _Configuration_MP_table->node);54 fprintf(stderr, "[%" PRIu16 "] ", rtems_object_get_local_node()); 55 55 #endif 56 56 -
cpukit/libcsupport/src/getpgrp.c
rd24b301 ra00dff42 4 4 5 5 #include <unistd.h> 6 #include <rtems /score/objectimpl.h>6 #include <rtems.h> 7 7 8 8 /* … … 17 17 */ 18 18 19 return _Objects_Local_node;19 return rtems_object_get_local_node(); 20 20 } -
cpukit/libcsupport/src/getpid.c
rd24b301 ra00dff42 12 12 #include <unistd.h> 13 13 14 #include <rtems /score/objectimpl.h>14 #include <rtems.h> 15 15 #include <rtems/seterr.h> 16 16 … … 20 20 pid_t getpid( void ) 21 21 { 22 return _Objects_Local_node;22 return rtems_object_get_local_node(); 23 23 } 24 24 -
cpukit/libcsupport/src/utsname.c
rd24b301 ra00dff42 24 24 #include <inttypes.h> 25 25 26 #include <rtems /score/objectimpl.h>26 #include <rtems.h> 27 27 #include <rtems/seterr.h> 28 28 … … 48 48 strncpy( name->sysname, "RTEMS", sizeof(name->sysname) ); 49 49 50 snprintf( name->nodename, sizeof(name->nodename), "Node %" PRId16, _Objects_Local_node ); 50 snprintf( 51 name->nodename, 52 sizeof(name->nodename), 53 "Node %" PRId16, rtems_object_get_local_node() 54 ); 51 55 52 56 strncpy( name->release, RTEMS_VERSION, sizeof(name->release) ); -
testsuites/ada/support/initimpl.h
rd24b301 ra00dff42 103 103 uint32_t get_node(void) 104 104 { 105 /* XXX HACK -- use public API */ 106 return _Objects_Local_node; 105 return rtems_object_get_local_node(); 107 106 } 108 107 -
testsuites/mptests/mp01/initimpl.h
rd24b301 ra00dff42 37 37 printf( 38 38 "\n\n*** TEST 1 -- NODE %" PRIu32 " ***\n", 39 Multiprocessing_configuration.node39 rtems_object_get_local_node() 40 40 ); 41 41 42 if ( Multiprocessing_configuration.node!= 1 ) c = 'S';42 if ( rtems_object_get_local_node() != 1 ) c = 'S'; 43 43 else c = 'M'; 44 44 -
testsuites/mptests/mp03/initimpl.h
rd24b301 ra00dff42 35 35 printf( 36 36 "\n\n*** TEST 3 -- NODE %" PRIu32 " ***\n", 37 Multiprocessing_configuration.node37 rtems_object_get_local_node() 38 38 ); 39 39 … … 43 43 puts( "Creating Test_task (Global)" ); 44 44 status = rtems_task_create( 45 Task_name[ Multiprocessing_configuration.node],45 Task_name[ rtems_object_get_local_node() ], 46 46 1, 47 47 RTEMS_MINIMUM_STACK_SIZE, -
testsuites/mptests/mp03/task1.c
rd24b301 ra00dff42 21 21 rtems_status_code status; 22 22 23 if ( Multiprocessing_configuration.node== node ) {23 if ( rtems_object_get_local_node() == node ) { 24 24 25 25 for ( ; ; ) { … … 99 99 100 100 puts( "Getting TID of remote task" ); 101 remote_node = ( Multiprocessing_configuration.node== 1) ? 2 : 1;101 remote_node = (rtems_object_get_local_node() == 1) ? 2 : 1; 102 102 printf( "Remote task's name is : " ); 103 103 put_name( Task_name[ remote_node ], TRUE ); … … 131 131 directive_failed( status, "rtems_timer_fire_after" ); 132 132 133 if ( Multiprocessing_configuration.node== 1 ) {133 if ( rtems_object_get_local_node() == 1 ) { 134 134 status = rtems_task_wake_after( 2 * rtems_clock_get_ticks_per_second() ); 135 135 directive_failed( status, "rtems_task_wake_after" ); -
testsuites/mptests/mp04/initimpl.h
rd24b301 ra00dff42 35 35 printf( 36 36 "\n\n*** TEST 4 -- NODE %" PRId32 " ***\n", 37 Multiprocessing_configuration.node37 rtems_object_get_local_node() 38 38 ); 39 39 … … 43 43 puts( "Creating Test_task (Global)" ); 44 44 status = rtems_task_create( 45 Task_name[ Multiprocessing_configuration.node],46 Multiprocessing_configuration.node,45 Task_name[ rtems_object_get_local_node() ], 46 rtems_object_get_local_node(), 47 47 RTEMS_MINIMUM_STACK_SIZE, 48 48 RTEMS_DEFAULT_MODES, -
testsuites/mptests/mp04/task1.c
rd24b301 ra00dff42 23 23 #include "tmacros.h" 24 24 25 extern rtems_multiprocessing_table Multiprocessing_configuration;26 27 25 rtems_task Test_task( 28 26 rtems_task_argument argument … … 40 38 41 39 puts( "Getting TID of remote task" ); 42 remote_node = ( Multiprocessing_configuration.node== 1) ? 2 : 1;40 remote_node = (rtems_object_get_local_node() == 1) ? 2 : 1; 43 41 puts_nocr( "Remote task's name is : " ); 44 42 put_name( Task_name[ remote_node ], TRUE ); … … 56 54 status = rtems_task_set_priority( 57 55 remote_tid, 58 Multiprocessing_configuration.node,56 rtems_object_get_local_node(), 59 57 &previous_priority 60 58 ); -
testsuites/mptests/mp05/initimpl.h
rd24b301 ra00dff42 35 35 printf( 36 36 "\n\n*** TEST 5 -- NODE %" PRIu32 " ***\n", 37 Multiprocessing_configuration.node37 rtems_object_get_local_node() 38 38 ); 39 39 … … 43 43 puts( "Creating Test_task (Global)" ); 44 44 status = rtems_task_create( 45 Task_name[ Multiprocessing_configuration.node],45 Task_name[rtems_object_get_local_node()], 46 46 1, 47 47 RTEMS_MINIMUM_STACK_SIZE * 2, -
testsuites/mptests/mp05/task1.c
rd24b301 ra00dff42 51 51 directive_failed( status, "rtems_signal_catch" ); 52 52 53 if ( Multiprocessing_configuration.node== 1) {53 if (rtems_object_get_local_node() == 1) { 54 54 remote_node = 2; 55 55 remote_signal = RTEMS_SIGNAL_18; … … 82 82 directive_failed( status, "rtems_timer_fire_after" ); 83 83 84 if ( Multiprocessing_configuration.node== 1 ) {84 if ( rtems_object_get_local_node() == 1 ) { 85 85 puts( "Sending signal to remote task" ); 86 86 do { -
testsuites/mptests/mp06/initimpl.h
rd24b301 ra00dff42 35 35 printf( 36 36 "\n\n*** TEST 6 -- NODE %" PRId32 " ***\n", 37 Multiprocessing_configuration.node37 rtems_object_get_local_node() 38 38 ); 39 39 … … 43 43 puts( "Creating Test_task (Global)" ); 44 44 status = rtems_task_create( 45 Task_name[ Multiprocessing_configuration.node],45 Task_name[rtems_object_get_local_node()], 46 46 1, 47 47 RTEMS_MINIMUM_STACK_SIZE, -
testsuites/mptests/mp06/task1.c
rd24b301 ra00dff42 81 81 Stop_Test = false; 82 82 83 remote_node = ( Multiprocessing_configuration.node== 1) ? 2 : 1;83 remote_node = (rtems_object_get_local_node() == 1) ? 2 : 1; 84 84 puts_nocr( "Remote task's name is : " ); 85 85 put_name( Task_name[ remote_node ], TRUE ); … … 95 95 directive_failed( status, "rtems_task_ident FAILED!!" ); 96 96 97 if ( Multiprocessing_configuration.node== 1 )97 if ( rtems_object_get_local_node() == 1 ) 98 98 puts( "Sending events to remote task" ); 99 99 else … … 116 116 event_for_this_iteration = Event_set_table[ count % 32 ]; 117 117 118 if ( Multiprocessing_configuration.node== 1 ) {118 if ( rtems_object_get_local_node() == 1 ) { 119 119 status = rtems_event_send( remote_tid, event_for_this_iteration ); 120 120 directive_failed( status, "rtems_event_send" ); … … 130 130 ); 131 131 if ( rtems_are_statuses_equal( status, RTEMS_TIMEOUT ) ) { 132 if ( Multiprocessing_configuration.node== 2 )132 if ( rtems_object_get_local_node() == 2 ) 133 133 puts( "\nCorrect behavior if the other node exitted." ); 134 134 else … … 147 147 putchar( '\n' ); 148 148 149 if ( Multiprocessing_configuration.node== 2 ) {149 if ( rtems_object_get_local_node() == 2 ) { 150 150 /* Flush events */ 151 151 puts( "Flushing RTEMS_EVENT_16" ); -
testsuites/mptests/mp07/initimpl.h
rd24b301 ra00dff42 35 35 printf( 36 36 "\n\n*** TEST 7 -- NODE %" PRId32 " ***\n", 37 Multiprocessing_configuration.node37 rtems_object_get_local_node() 38 38 ); 39 39 … … 43 43 puts( "Creating Test_task (Global)" ); 44 44 status = rtems_task_create( 45 Task_name[ Multiprocessing_configuration.node],45 Task_name[rtems_object_get_local_node()], 46 46 1, 47 47 RTEMS_MINIMUM_STACK_SIZE, -
testsuites/mptests/mp07/task1.c
rd24b301 ra00dff42 46 46 Stop_Test = false; 47 47 48 remote_node = ( Multiprocessing_configuration.node== 1) ? 2 : 1;48 remote_node = (rtems_object_get_local_node() == 1) ? 2 : 1; 49 49 puts_nocr( "Remote task's name is : " ); 50 50 put_name( Task_name[ remote_node ], TRUE ); … … 59 59 } while ( !rtems_is_status_successful( status ) ); 60 60 61 if ( Multiprocessing_configuration.node== 1 ) {61 if ( rtems_object_get_local_node() == 1 ) { 62 62 puts( "Sending first event to remote task" ); 63 63 status = rtems_event_send( remote_tid, RTEMS_EVENT_16 ); -
testsuites/mptests/mp08/initimpl.h
rd24b301 ra00dff42 35 35 printf( 36 36 "\n\n*** TEST 8 -- NODE %" PRIu32 " ***\n", 37 Multiprocessing_configuration.node37 rtems_object_get_local_node() 38 38 ); 39 39 … … 43 43 Semaphore_name[ 1 ] = rtems_build_name( 'S', 'E', 'M', '\0' ); 44 44 45 if ( Multiprocessing_configuration.node== 1 ) {45 if ( rtems_object_get_local_node() == 1 ) { 46 46 puts( "Creating Sempahore (Global)" ); 47 47 status = rtems_semaphore_create( … … 57 57 puts( "Creating Test_task (Global)" ); 58 58 status = rtems_task_create( 59 Task_name[ Multiprocessing_configuration.node],59 Task_name[ rtems_object_get_local_node() ], 60 60 1, 61 61 RTEMS_MINIMUM_STACK_SIZE, -
testsuites/mptests/mp08/task1.c
rd24b301 ra00dff42 40 40 } while ( !rtems_is_status_successful( status ) ); 41 41 42 if ( Multiprocessing_configuration.node== 2 ) {42 if ( rtems_object_get_local_node() == 2 ) { 43 43 status = rtems_semaphore_delete( Semaphore_id[ 1 ] ); 44 44 fatal_directive_status( … … 71 71 } 72 72 73 if ( Multiprocessing_configuration.node== 1 && ++count == 1000 ) {73 if ( rtems_object_get_local_node() == 1 && ++count == 1000 ) { 74 74 status = rtems_task_wake_after( rtems_clock_get_ticks_per_second() ); 75 75 directive_failed( status, "rtems_task_wake_after" ); -
testsuites/mptests/mp09/initimpl.h
rd24b301 ra00dff42 35 35 printf( 36 36 "\n\n*** TEST 9 -- NODE %" PRId32 " ***\n", 37 Multiprocessing_configuration.node37 rtems_object_get_local_node() 38 38 ); 39 39 … … 43 43 Queue_name[ 1 ] = rtems_build_name( 'M', 'S', 'G', ' ' ); 44 44 45 if ( Multiprocessing_configuration.node== 1 ) {45 if ( rtems_object_get_local_node() == 1 ) { 46 46 puts( "Creating Message Queue (Global)" ); 47 47 status = rtems_message_queue_create( … … 57 57 puts( "Creating Test_task (local)" ); 58 58 status = rtems_task_create( 59 Task_name[ Multiprocessing_configuration.node],59 Task_name[rtems_object_get_local_node()], 60 60 1, 61 61 RTEMS_MINIMUM_STACK_SIZE, -
testsuites/mptests/mp09/task1.c
rd24b301 ra00dff42 50 50 } while ( !rtems_is_status_successful( status ) ); 51 51 52 if ( Multiprocessing_configuration.node== 2 ) {52 if ( rtems_object_get_local_node() == 2 ) { 53 53 status = rtems_message_queue_delete( Queue_id[ 1 ] ); 54 54 fatal_directive_status( -
testsuites/mptests/mp10/initimpl.h
rd24b301 ra00dff42 41 41 printf( 42 42 "\n\n*** TEST 10 -- NODE %" PRIu32 " ***\n", 43 Multiprocessing_configuration.node43 rtems_object_get_local_node() 44 44 ); 45 45 … … 52 52 Semaphore_name[ 1 ] = rtems_build_name( 'S', 'E', 'M', ' ' ); 53 53 54 if ( Multiprocessing_configuration.node== 1 ) {54 if ( rtems_object_get_local_node() == 1 ) { 55 55 puts( "Creating Message Queue (Global)" ); 56 56 status = rtems_message_queue_create( -
testsuites/mptests/mp11/initimpl.h
rd24b301 ra00dff42 41 41 printf( 42 42 "\n\n*** TEST 11 -- NODE %" PRIu32 " ***\n", 43 Multiprocessing_configuration.node43 rtems_object_get_local_node() 44 44 ); 45 45 … … 51 51 Semaphore_name[ 1 ] = rtems_build_name( 'S', 'E', 'M', ' ' ); 52 52 53 if ( Multiprocessing_configuration.node== 1 ) {53 if ( rtems_object_get_local_node() == 1 ) { 54 54 puts( "Attempting to create Test_task (Global)" ); 55 55 status = rtems_task_create( -
testsuites/mptests/mp12/initimpl.h
rd24b301 ra00dff42 43 43 printf( 44 44 "\n\n*** TEST 12 -- NODE %" PRId32 " ***\n", 45 Multiprocessing_configuration.node45 rtems_object_get_local_node() 46 46 ); 47 47 … … 53 53 puts( "Got to initialization task" ); 54 54 55 if ( Multiprocessing_configuration.node== 2 ) {55 if ( rtems_object_get_local_node() == 2 ) { 56 56 status = rtems_task_wake_after( rtems_clock_get_ticks_per_second() ); 57 57 directive_failed( status, "rtems_task_wake_after" ); -
testsuites/mptests/mp13/initimpl.h
rd24b301 ra00dff42 35 35 printf( 36 36 "\n\n*** TEST 13 -- NODE %" PRId32 " ***\n", 37 Multiprocessing_configuration.node37 rtems_object_get_local_node() 38 38 ); 39 39 … … 45 45 Semaphore_name[ 1 ] = rtems_build_name( 'S', 'E', 'M', ' ' ); 46 46 47 if ( Multiprocessing_configuration.node== 1 ) {47 if ( rtems_object_get_local_node() == 1 ) { 48 48 puts( "Creating Message Queue (Global)" ); 49 49 status = rtems_message_queue_create( … … 104 104 directive_failed( status, "rtems_task_start" ); 105 105 106 if ( Multiprocessing_configuration.node== 1 ) {106 if ( rtems_object_get_local_node() == 1 ) { 107 107 status = rtems_task_wake_after( 5 * rtems_clock_get_ticks_per_second() ); 108 108 directive_failed( status, "rtems_task_wake_after" ); -
testsuites/mptests/mp13/task1.c
rd24b301 ra00dff42 42 42 } while ( !rtems_is_status_successful( status ) ); 43 43 44 if ( Multiprocessing_configuration.node== 1 ) {44 if ( rtems_object_get_local_node() == 1 ) { 45 45 puts( "Receiving message ..." ); 46 46 status = rtems_message_queue_receive( -
testsuites/mptests/mp13/task2.c
rd24b301 ra00dff42 41 41 directive_failed( status, "rtems_semaphore_ident" ); 42 42 43 if ( Multiprocessing_configuration.node== 1 ) {43 if ( rtems_object_get_local_node() == 1 ) { 44 44 status = rtems_task_wake_after( rtems_clock_get_ticks_per_second() ); 45 45 directive_failed( status, "rtems_task_wake_after" ); -
testsuites/mptests/mp14/evtask1.c
rd24b301 ra00dff42 24 24 #include "system.h" 25 25 26 extern rtems_multiprocessing_table Multiprocessing_configuration;27 28 26 rtems_task Test_task( 29 27 rtems_task_argument argument … … 36 34 rtems_event_set event_out; 37 35 38 remote_node = (( Multiprocessing_configuration.node== 1) ? 2 : 1);36 remote_node = ((rtems_object_get_local_node() == 1) ? 2 : 1); 39 37 40 38 puts( "About to go to sleep!" ); … … 60 58 } 61 59 62 if ( Multiprocessing_configuration.node== 1 ) {60 if ( rtems_object_get_local_node() == 1 ) { 63 61 puts( "Sending events to remote task" ); 64 62 while ( Stop_Test == false ) { -
testsuites/mptests/mp14/initimpl.h
rd24b301 ra00dff42 52 52 printf( 53 53 "\n\n*** TEST 14 -- NODE %" PRId32 " ***\n", 54 Multiprocessing_configuration.node54 rtems_object_get_local_node() 55 55 ); 56 56 … … 91 91 Timer_name[ 1 ] = rtems_build_name( 'T', 'M', 'R', ' ' ); 92 92 93 if ( Multiprocessing_configuration.node== 1 ) {93 if ( rtems_object_get_local_node() == 1 ) { 94 94 puts( "Creating Semaphore (Global)" ); 95 95 status = rtems_semaphore_create( … … 126 126 puts( "Creating Event task (Global)" ); 127 127 status = rtems_task_create( 128 Task_name[ Multiprocessing_configuration.node],128 Task_name[ rtems_object_get_local_node() ], 129 129 2, 130 130 RTEMS_MINIMUM_STACK_SIZE, … … 141 141 puts( "Creating Semaphore task (Global)" ); 142 142 status = rtems_task_create( 143 Semaphore_task_name[ Multiprocessing_configuration.node],143 Semaphore_task_name[ rtems_object_get_local_node() ], 144 144 2, 145 145 RTEMS_MINIMUM_STACK_SIZE, … … 156 156 puts( "Creating Message Queue task (Global)" ); 157 157 status = rtems_task_create( 158 Queue_task_name[ Multiprocessing_configuration.node],158 Queue_task_name[ rtems_object_get_local_node() ], 159 159 2, 160 160 RTEMS_MINIMUM_STACK_SIZE, … … 172 172 puts( "Creating Partition task (Global)" ); 173 173 status = rtems_task_create( 174 Partition_task_name[ Multiprocessing_configuration.node],174 Partition_task_name[ rtems_object_get_local_node() ], 175 175 2, 176 176 RTEMS_MINIMUM_STACK_SIZE * 2, -
testsuites/mptests/mp14/msgtask1.c
rd24b301 ra00dff42 54 54 } 55 55 56 if ( Multiprocessing_configuration.node== 1 ) {56 if ( rtems_object_get_local_node() == 1 ) { 57 57 status = rtems_message_queue_send( 58 58 Queue_id[ 1 ], … … 95 95 96 96 if (Stop_Test == false) 97 if ( Multiprocessing_configuration.node== 1 && --yield_count == 0 ) {97 if ( rtems_object_get_local_node() == 1 && --yield_count == 0 ) { 98 98 status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR ); 99 99 directive_failed( status, "rtems_task_wake_after" ); -
testsuites/mptests/mp14/pttask1.c
rd24b301 ra00dff42 22 22 23 23 #include "system.h" 24 25 extern rtems_multiprocessing_table Multiprocessing_configuration;26 24 27 25 rtems_task Partition_task( … … 60 58 61 59 if (Stop_Test == false) 62 if ( Multiprocessing_configuration.node== 1 && --yield_count == 0 ) {60 if ( rtems_object_get_local_node() == 1 && --yield_count == 0 ) { 63 61 status = rtems_task_wake_after( 1 ); 64 62 directive_failed( status, "rtems_task_wake_after" ); -
testsuites/mptests/mp14/smtask1.c
rd24b301 ra00dff42 21 21 22 22 #include "system.h" 23 24 extern rtems_multiprocessing_table Multiprocessing_configuration;25 23 26 24 rtems_task Semaphore_task( … … 61 59 62 60 if ( Stop_Test == false ) 63 if ( Multiprocessing_configuration.node== 1 && --yield_count == 0 ) {61 if ( rtems_object_get_local_node() == 1 && --yield_count == 0 ) { 64 62 status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR ); 65 63 directive_failed( status, "rtems_task_wake_after" ); -
testsuites/mptests/mp14/system.h
rd24b301 ra00dff42 105 105 TEST_EXTERN uint32_t Msg_buffer[ 4 ][ 4 ]; 106 106 107 extern rtems_multiprocessing_table Multiprocessing_configuration;108 109 107 TEST_EXTERN volatile bool Stop_Test; 110 108 TEST_EXTERN rtems_id timer_id; -
testsuites/samples/base_mp/initimpl.h
rd24b301 ra00dff42 41 41 tid, 42 42 Application_task, 43 Multiprocessing_configuration.node43 rtems_object_get_local_node() 44 44 ); 45 45 rtems_test_assert(status == RTEMS_SUCCESSFUL);
Note: See TracChangeset
for help on using the changeset viewer.