Changeset c87608f in rtems
- Timestamp:
- 03/30/04 11:15:35 (20 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 6965fc4
- Parents:
- 9919946a
- Location:
- testsuites/sptests
- Files:
-
- 39 edited
Legend:
- Unmodified
- Added
- Removed
-
testsuites/sptests/ChangeLog
r9919946a rc87608f 1 2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org> 2 3 * sp02/task1.c, sp04/system.h, sp04/task1.c, sp04/tswitch.c, 4 sp05/task1.c, sp06/task1.c, sp09/screen01.c, sp09/screen07.c, 5 sp09/screen12.c, sp09/system.h, sp09/task3.c, sp11/task1.c, 6 sp12/pridrv.c, sp12/pritask.c, sp12/system.h, sp13/task1.c, 7 sp13/task2.c, sp13/task3.c, sp14/system.h, sp15/system.h, 8 sp16/system.h, sp17/system.h, sp19/first.c, sp19/fptask.c, 9 sp19/inttest.h, sp19/system.h, sp19/task1.c, sp20/init.c, 10 sp20/system.h, sp20/task1.c, sp23/system.h, sp24/init.c, 11 sp25/system.h, sp30/init.c, spfatal/fatal.c, spfatal/puterr.c, 12 spfatal/system.h, spsize/size.c: Convert to using c99 fixed size 13 types. 14 1 15 2004-03-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 16 -
testsuites/sptests/sp02/task1.c
r9919946a rc87608f 28 28 rtems_status_code status; 29 29 rtems_name tid2_name; 30 rtems_unsigned32previous_priority;30 uint32_t previous_priority; 31 31 32 32 puts( "TA1 - rtems_task_wake_after - sleep 1 second" ); -
testsuites/sptests/sp04/system.h
r9919946a rc87608f 63 63 64 64 /* array of task run counts */ 65 TEST_EXTERN volatile rtems_unsigned32Run_count[ 4 ];65 TEST_EXTERN volatile uint32_t Run_count[ 4 ]; 66 66 67 67 /* -
testsuites/sptests/sp04/task1.c
r9919946a rc87608f 37 37 ) 38 38 { 39 rtems_unsigned32seconds;40 rtems_unsigned32old_seconds;39 uint32_t seconds; 40 uint32_t old_seconds; 41 41 rtems_mode previous_mode; 42 42 rtems_time_of_day time; 43 43 rtems_status_code status; 44 rtems_unsigned32start_time;45 rtems_unsigned32end_time;44 uint32_t start_time; 45 uint32_t end_time; 46 46 47 47 puts( "TA1 - rtems_task_suspend - on Task 2" ); -
testsuites/sptests/sp04/tswitch.c
r9919946a rc87608f 32 32 ) 33 33 { 34 rtems_unsigned32index;34 uint32_t index; 35 35 rtems_time_of_day time; 36 36 rtems_status_code status; -
testsuites/sptests/sp05/task1.c
r9919946a rc87608f 29 29 rtems_id tid2; 30 30 rtems_id tid3; 31 rtems_unsigned32pass;31 uint32_t pass; 32 32 rtems_status_code status; 33 33 -
testsuites/sptests/sp06/task1.c
r9919946a rc87608f 22 22 23 23 rtems_task Task_1( argument ) 24 rtems_unsigned32argument;24 uint32_t argument; 25 25 { 26 rtems_unsigned32pass;26 uint32_t pass; 27 27 rtems_status_code status; 28 28 -
testsuites/sptests/sp09/screen01.c
r9919946a rc87608f 21 21 void Screen1() 22 22 { 23 rtems_unsigned32notepad_value;23 uint32_t notepad_value; 24 24 rtems_id self_id; 25 25 rtems_task_priority previous_priority; -
testsuites/sptests/sp09/screen07.c
r9919946a rc87608f 24 24 { 25 25 long buffer[ 4 ]; 26 rtems_unsigned32size;27 rtems_unsigned32count;26 uint32_t size; 27 uint32_t count; 28 28 rtems_status_code status; 29 29 -
testsuites/sptests/sp09/screen12.c
r9919946a rc87608f 24 24 void *segment_address_2; 25 25 void *segment_address_3; 26 rtems_unsigned32offset;27 rtems_unsigned32good_front_flag;28 rtems_unsigned32good_back_flag;26 uint32_t offset; 27 uint32_t good_front_flag; 28 uint32_t good_back_flag; 29 29 rtems_status_code status; 30 30 -
testsuites/sptests/sp09/system.h
r9919946a rc87608f 131 131 #define External_port_area (void *) 0x00002000 132 132 133 TEST_EXTERN rtems_unsigned8Partition_good_area[256] CPU_STRUCTURE_ALIGNMENT;133 TEST_EXTERN uint8_t Partition_good_area[256] CPU_STRUCTURE_ALIGNMENT; 134 134 #define Partition_bad_area (void *) 0x00000006 135 135 136 TEST_EXTERN rtems_unsigned32Region_good_area[4096] CPU_STRUCTURE_ALIGNMENT;136 TEST_EXTERN uint32_t Region_good_area[4096] CPU_STRUCTURE_ALIGNMENT; 137 137 #define Region_bad_area (void *) 0x00000006 138 138 #define REGION_START_OFFSET 1024 -
testsuites/sptests/sp09/task3.c
r9919946a rc87608f 28 28 rtems_status_code status; 29 29 long buffer[ 4 ]; 30 rtems_unsigned32size;30 uint32_t size; 31 31 32 32 puts( "TA3 - rtems_message_queue_receive - Q 1 - RTEMS_WAIT FOREVER" ); -
testsuites/sptests/sp11/task1.c
r9919946a rc87608f 27 27 rtems_time_of_day time; 28 28 rtems_status_code status; 29 rtems_unsigned32index;29 uint32_t index; 30 30 31 31 puts( "TA1 - rtems_event_send - send RTEMS_EVENT_16 to TA2" ); -
testsuites/sptests/sp12/pridrv.c
r9919946a rc87608f 25 25 26 26 void Priority_test_driver( 27 rtems_unsigned32priority_base27 uint32_t priority_base 28 28 ) 29 29 { 30 30 rtems_task_priority previous_priority; 31 rtems_unsigned32index;31 uint32_t index; 32 32 rtems_status_code status; 33 33 -
testsuites/sptests/sp12/pritask.c
r9919946a rc87608f 28 28 rtems_task_priority current_priority; 29 29 rtems_status_code status; 30 rtems_unsigned32index;30 uint32_t index; 31 31 32 32 its_priority = Task_priority[ its_index ]; -
testsuites/sptests/sp12/system.h
r9919946a rc87608f 23 23 24 24 void Priority_test_driver( 25 rtems_unsigned32priority_base25 uint32_t priority_base 26 26 ); 27 27 -
testsuites/sptests/sp13/task1.c
r9919946a rc87608f 30 30 void dope_buffer(unsigned char *buff, 31 31 int buff_size, 32 u nsigned32v)32 uint32_t v) 33 33 { 34 34 int i; … … 50 50 { 51 51 rtems_id qid; 52 rtems_unsigned32index;53 rtems_unsigned32count;52 uint32_t index; 53 uint32_t count; 54 54 rtems_status_code status; 55 rtems_unsigned32size;56 rtems_unsigned32queue_size;55 uint32_t size; 56 uint32_t queue_size; 57 57 char *cp; 58 58 -
testsuites/sptests/sp13/task2.c
r9919946a rc87608f 28 28 { 29 29 long buffer[ 4 ]; 30 rtems_unsigned32size;30 uint32_t size; 31 31 rtems_task_priority previous_priority; 32 32 rtems_status_code status; -
testsuites/sptests/sp13/task3.c
r9919946a rc87608f 26 26 { 27 27 long buffer[ 4 ]; 28 rtems_unsigned32size;29 rtems_unsigned32count;28 uint32_t size; 29 uint32_t count; 30 30 rtems_status_code status; 31 31 -
testsuites/sptests/sp14/system.h
r9919946a rc87608f 62 62 TEST_EXTERN rtems_name Timer_name[ 3 ]; /* array of timer names */ 63 63 64 TEST_EXTERN volatile rtems_unsigned32Signals_sent;64 TEST_EXTERN volatile uint32_t Signals_sent; 65 65 /* set to TRUE to indicate that a */ 66 66 /* signal set has been sent from */ 67 67 /* an ISR to the executing task */ 68 68 69 TEST_EXTERN volatile rtems_unsigned32Asr_fired;69 TEST_EXTERN volatile uint32_t Asr_fired; 70 70 /* set to TRUE to indicate that the */ 71 71 /* RTEMS_ASR has executed and was */ -
testsuites/sptests/sp15/system.h
r9919946a rc87608f 47 47 TEST_EXTERN rtems_name Partition_name[ 4 ]; /* array of partition names */ 48 48 49 TEST_EXTERN rtems_unsigned8Area_1[4096] CPU_STRUCTURE_ALIGNMENT;50 TEST_EXTERN rtems_unsigned8Area_2[274] CPU_STRUCTURE_ALIGNMENT;49 TEST_EXTERN uint8_t Area_1[4096] CPU_STRUCTURE_ALIGNMENT; 50 TEST_EXTERN uint8_t Area_2[274] CPU_STRUCTURE_ALIGNMENT; 51 51 52 52 #define Put_address_from_area_1( _to_be_printed ) \ 53 53 printf( "0x%08lx", \ 54 (unsigned long)(( rtems_unsigned8*)(_to_be_printed) - Area_1 ) )54 (unsigned long)((uint8_t *)(_to_be_printed) - Area_1 ) ) 55 55 56 56 #define Put_address_from_area_2( _to_be_printed ) \ 57 57 printf( "0x%08lx", \ 58 (unsigned long)(( rtems_unsigned8*)(_to_be_printed) - Area_2 ) )58 (unsigned long)((uint8_t *)(_to_be_printed) - Area_2 ) ) 59 59 60 60 /* end of include file */ -
testsuites/sptests/sp16/system.h
r9919946a rc87608f 64 64 TEST_EXTERN rtems_name Region_name[ 5 ]; /* array of region names */ 65 65 66 TEST_EXTERN rtems_unsigned8Area_1[4096] CPU_STRUCTURE_ALIGNMENT;67 TEST_EXTERN rtems_unsigned8Area_2[4096] CPU_STRUCTURE_ALIGNMENT;68 TEST_EXTERN rtems_unsigned8Area_3[4096] CPU_STRUCTURE_ALIGNMENT;69 TEST_EXTERN rtems_unsigned8Area_4[8192] CPU_STRUCTURE_ALIGNMENT;66 TEST_EXTERN uint8_t Area_1[4096] CPU_STRUCTURE_ALIGNMENT; 67 TEST_EXTERN uint8_t Area_2[4096] CPU_STRUCTURE_ALIGNMENT; 68 TEST_EXTERN uint8_t Area_3[4096] CPU_STRUCTURE_ALIGNMENT; 69 TEST_EXTERN uint8_t Area_4[8192] CPU_STRUCTURE_ALIGNMENT; 70 70 71 71 #define BASE_PRIORITY 140 … … 73 73 #define Put_address_from_area_1( _to_be_printed ) \ 74 74 printf( "0x%08lx", \ 75 (unsigned long) (( rtems_unsigned8*)(_to_be_printed) - Area_1 ) )75 (unsigned long) ((uint8_t *)(_to_be_printed) - Area_1 ) ) 76 76 77 77 #define Put_address_from_area_2( _to_be_printed ) \ 78 78 printf( "0x%08lx", \ 79 (unsigned long) (( rtems_unsigned8*)(_to_be_printed) - Area_2 ) )79 (unsigned long) ((uint8_t *)(_to_be_printed) - Area_2 ) ) 80 80 81 81 #define Put_address_from_area_3( _to_be_printed ) \ 82 82 printf( "0x%08lx", \ 83 (unsigned long) (( rtems_unsigned8*)(_to_be_printed) - Area_3 ) )83 (unsigned long) ((uint8_t *)(_to_be_printed) - Area_3 ) ) 84 84 85 85 #define Put_address_from_area_4( _to_be_printed ) \ 86 86 printf( "0x%08lx", \ 87 (unsigned long) (( rtems_unsigned8*)(_to_be_printed) - Area_4 ) )87 (unsigned long) ((uint8_t *)(_to_be_printed) - Area_4 ) ) 88 88 89 89 /* end of include file */ -
testsuites/sptests/sp17/system.h
r9919946a rc87608f 52 52 TEST_EXTERN rtems_name Task_name[ 4 ]; /* array of task names */ 53 53 54 TEST_EXTERN rtems_unsigned32Task_2_preempted;54 TEST_EXTERN uint32_t Task_2_preempted; 55 55 56 56 /* end of include file */ -
testsuites/sptests/sp19/first.c
r9919946a rc87608f 31 31 rtems_id tid; 32 32 rtems_time_of_day time; 33 rtems_unsigned32task_index;33 uint32_t task_index; 34 34 INTEGER_DECLARE; 35 35 FP_DECLARE; -
testsuites/sptests/sp19/fptask.c
r9919946a rc87608f 31 31 rtems_id tid; 32 32 rtems_time_of_day time; 33 rtems_unsigned32task_index;34 rtems_unsigned32previous_seconds;33 uint32_t task_index; 34 uint32_t previous_seconds; 35 35 INTEGER_DECLARE; 36 36 FP_DECLARE; -
testsuites/sptests/sp19/inttest.h
r9919946a rc87608f 31 31 32 32 #include <stdio.h> 33 #define REG_VARIABLE rtems_unsigned3233 #define REG_VARIABLE uint32_t 34 34 35 35 #define INTEGER_DECLARE \ -
testsuites/sptests/sp19/system.h
r9919946a rc87608f 55 55 56 56 TEST_EXTERN rtems_double FP_factors[ 10 ]; /* FP "uniqueness" factors */ 57 TEST_EXTERN rtems_unsigned32INTEGER_factors[ 10 ]; /* INT "uniqueness" factors */57 TEST_EXTERN uint32_t INTEGER_factors[ 10 ]; /* INT "uniqueness" factors */ 58 58 /* end of include file */ -
testsuites/sptests/sp19/task1.c
r9919946a rc87608f 29 29 rtems_id tid; 30 30 rtems_time_of_day time; 31 rtems_unsigned32task_index;31 uint32_t task_index; 32 32 INTEGER_DECLARE; 33 33 -
testsuites/sptests/sp20/init.c
r9919946a rc87608f 29 29 ) 30 30 { 31 rtems_unsigned32index;31 uint32_t index; 32 32 rtems_status_code status; 33 33 -
testsuites/sptests/sp20/system.h
r9919946a rc87608f 19 19 20 20 struct counters { 21 rtems_unsigned32count[7];21 uint32_t count[7]; 22 22 }; 23 23 -
testsuites/sptests/sp20/task1.c
r9919946a rc87608f 27 27 #define TA6_PERIOD_FACTOR 10 28 28 29 rtems_unsigned32Periods[7] = { 0, 2, 2, 2, 2, 100, 0 };30 rtems_unsigned32Iterations[7] = { 0, 50, 50, 50, 50, 1, TA6_ITERATIONS };29 uint32_t Periods[7] = { 0, 2, 2, 2, 2, 100, 0 }; 30 uint32_t Iterations[7] = { 0, 50, 50, 50, 50, 1, TA6_ITERATIONS }; 31 31 rtems_task_priority Priorities[7] = { 0, 1, 1, 3, 4, 5, 1 }; 32 32 33 33 rtems_task Task_1_through_6( 34 rtems_unsigned32argument34 uint32_t argument 35 35 ) 36 36 { 37 37 rtems_id rmid; 38 38 rtems_id test_rmid; 39 rtems_unsigned32index;40 rtems_unsigned32pass;41 rtems_unsigned32failed;39 uint32_t index; 40 uint32_t pass; 41 uint32_t failed; 42 42 rtems_status_code status; 43 43 … … 121 121 /* test changing periods */ 122 122 { 123 u nsigned32time[TA6_ITERATIONS+1];123 uint32_t time[TA6_ITERATIONS+1]; 124 124 rtems_interval period; 125 125 -
testsuites/sptests/sp23/system.h
r9919946a rc87608f 49 49 TEST_EXTERN rtems_name Port_name[ 2 ]; /* array of port names */ 50 50 51 #define Internal_port_area (( rtems_unsigned8*) 0x00001000)52 #define External_port_area (( rtems_unsigned8*) 0x00002000)51 #define Internal_port_area ((uint8_t *) 0x00001000) 52 #define External_port_area ((uint8_t *) 0x00002000) 53 53 54 #define Below_port_area (( rtems_unsigned8*) 0x00000500)55 #define Above_port_area (( rtems_unsigned8*) 0x00003000)54 #define Below_port_area ((uint8_t *) 0x00000500) 55 #define Above_port_area ((uint8_t *) 0x00003000) 56 56 57 57 /* end of include file */ -
testsuites/sptests/sp24/init.c
r9919946a rc87608f 30 30 { 31 31 rtems_time_of_day time; 32 rtems_unsigned32index;32 uint32_t index; 33 33 rtems_status_code status; 34 34 -
testsuites/sptests/sp25/system.h
r9919946a rc87608f 45 45 TEST_EXTERN rtems_name Region_name[ 2 ]; /* array of region names */ 46 46 47 TEST_EXTERN rtems_unsigned8Area_1[64000] CPU_STRUCTURE_ALIGNMENT;47 TEST_EXTERN uint8_t Area_1[64000] CPU_STRUCTURE_ALIGNMENT; 48 48 49 49 #define BASE_PRIORITY 140 … … 51 51 #define Put_address_from_area_1( _to_be_printed ) \ 52 52 printf( "0x%08lx", \ 53 (unsigned long) (( rtems_unsigned8*)(_to_be_printed) - Area_1 ) )53 (unsigned long) ((uint8_t *)(_to_be_printed) - Area_1 ) ) 54 54 55 55 /* end of include file */ -
testsuites/sptests/sp30/init.c
r9919946a rc87608f 30 30 { 31 31 rtems_time_of_day time; 32 rtems_unsigned32index;32 uint32_t index; 33 33 rtems_status_code status; 34 34 -
testsuites/sptests/spfatal/fatal.c
r9919946a rc87608f 52 52 */ 53 53 54 rtems_unsigned32First_Time_Through;54 uint32_t First_Time_Through; 55 55 56 56 void Process_case(); 57 57 58 58 rtems_extension Fatal_extension( 59 rtems_unsigned32source,59 uint32_t source, 60 60 boolean is_internal, 61 rtems_unsigned32error61 uint32_t error 62 62 ) 63 63 { -
testsuites/sptests/spfatal/puterr.c
r9919946a rc87608f 52 52 53 53 void put_error( 54 rtems_unsigned32error,54 uint32_t error, 55 55 rtems_status_code expected 56 56 ) -
testsuites/sptests/spfatal/system.h
r9919946a rc87608f 23 23 24 24 void put_error( 25 rtems_unsigned32error,25 uint32_t error, 26 26 rtems_status_code expected 27 27 ); 28 28 29 29 rtems_extension Fatal_extension( 30 rtems_unsigned32source,30 uint32_t source, 31 31 boolean is_internal, 32 rtems_unsigned32error32 uint32_t error 33 33 ); 34 34 -
testsuites/sptests/spsize/size.c
r9919946a rc87608f 129 129 MP_SYSTEM_TASKS) 130 130 131 #define rtems_unsigned32 unsigned32 132 133 rtems_unsigned32 sys_req; 131 uint32_t sys_req; 134 132 135 133 void help_size();
Note: See TracChangeset
for help on using the changeset viewer.