Changeset 9919946a in rtems
- Timestamp:
- 03/30/04 11:12:47 (20 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- c87608f
- Parents:
- 4c84d7b
- Location:
- testsuites/libtests
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
testsuites/libtests/ChangeLog
r4c84d7b r9919946a 1 2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org> 2 3 * cpuuse/system.h, cpuuse/task1.c, cpuuse/tswitch.c, monitor/init.c, 4 monitor/system.h, rtems++/System.h, rtems++/Task1.cc, 5 rtems++/Task2.cc, rtems++/Task3.cc, rtmonuse/init.c, 6 rtmonuse/system.h, rtmonuse/task1.c, stackchk/blow.c: Convert to 7 using c99 fixed size types. 8 1 9 2004-03-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 10 -
testsuites/libtests/cpuuse/system.h
r4c84d7b r9919946a 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/libtests/cpuuse/task1.c
r4c84d7b r9919946a 25 25 ) 26 26 { 27 rtems_unsigned32seconds;28 rtems_unsigned32old_seconds;27 uint32_t seconds; 28 uint32_t old_seconds; 29 29 rtems_mode previous_mode; 30 30 rtems_time_of_day time; 31 31 rtems_status_code status; 32 rtems_unsigned32start_time;33 rtems_unsigned32end_time;32 uint32_t start_time; 33 uint32_t end_time; 34 34 35 35 puts( "TA1 - rtems_task_suspend - on Task 2" ); -
testsuites/libtests/cpuuse/tswitch.c
r4c84d7b r9919946a 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/libtests/monitor/init.c
r4c84d7b r9919946a 22 22 23 23 rtems_task Task_1_through_5( 24 rtems_unsigned32argument24 uint32_t argument 25 25 ) 26 26 { … … 39 39 ) 40 40 { 41 rtems_unsigned32index;41 uint32_t index; 42 42 rtems_status_code status; 43 43 -
testsuites/libtests/monitor/system.h
r4c84d7b r9919946a 19 19 20 20 struct counters { 21 rtems_unsigned32count[6];21 uint32_t count[6]; 22 22 }; 23 23 -
testsuites/libtests/rtems++/System.h
r4c84d7b r9919946a 63 63 Task2(const char* name, 64 64 const rtems_task_priority initial_priority, 65 const rtems_unsigned32stack_size);65 const uint32_t stack_size); 66 66 }; 67 67 … … 77 77 Task3(const char* name, 78 78 const rtems_task_priority initial_priority, 79 const rtems_unsigned32stack_size);79 const uint32_t stack_size); 80 80 }; 81 81 … … 89 89 EndTask(const char* name, 90 90 const rtems_task_priority initial_priority, 91 const rtems_unsigned32stack_size);91 const uint32_t stack_size); 92 92 }; 93 93 -
testsuites/libtests/rtems++/Task1.cc
r4c84d7b r9919946a 241 241 printf("%s, priority was %i\n", task_2.last_status_string(), priority); 242 242 243 rtems_unsigned32current_note;244 rtems_unsigned32note;243 uint32_t current_note; 244 uint32_t note; 245 245 246 246 // notepad registers for this object … … 503 503 char *u2 = "urgent send"; 504 504 char in[100]; 505 rtems_unsigned32size;505 uint32_t size; 506 506 507 507 printf("%s - send u1 to mq_2 - ", name_string()); … … 574 574 575 575 char *b1 = "broadcast message"; 576 rtems_unsigned32count;576 uint32_t count; 577 577 578 578 printf("%s - broadcast send b1 ...\n", name_string()); … … 669 669 EndTask::EndTask(const char* name, 670 670 const rtems_task_priority initial_priority, 671 const rtems_unsigned32stack_size)671 const uint32_t stack_size) 672 672 : rtemsTask(name, initial_priority, stack_size, RTEMS_NO_PREEMPT) 673 673 { -
testsuites/libtests/rtems++/Task2.cc
r4c84d7b r9919946a 23 23 Task2::Task2(const char* name, 24 24 const rtems_task_priority initial_priority, 25 const rtems_unsigned32stack_size)25 const uint32_t stack_size) 26 26 : rtemsTask(name, initial_priority, stack_size, RTEMS_NO_PREEMPT) 27 27 { -
testsuites/libtests/rtems++/Task3.cc
r4c84d7b r9919946a 23 23 Task3::Task3(const char* name, 24 24 const rtems_task_priority initial_priority, 25 const rtems_unsigned32stack_size)25 const uint32_t stack_size) 26 26 : rtemsTask(name, initial_priority, stack_size, RTEMS_NO_PREEMPT) 27 27 { … … 45 45 char in[100]; 46 46 char out[100]; 47 rtems_unsigned32size;47 uint32_t size; 48 48 bool loopback = true; 49 49 -
testsuites/libtests/rtmonuse/init.c
r4c84d7b r9919946a 31 31 ) 32 32 { 33 rtems_unsigned32index;33 uint32_t index; 34 34 rtems_status_code status; 35 35 -
testsuites/libtests/rtmonuse/system.h
r4c84d7b r9919946a 19 19 20 20 struct counters { 21 rtems_unsigned32count[6];21 uint32_t count[6]; 22 22 }; 23 23 -
testsuites/libtests/rtmonuse/task1.c
r4c84d7b r9919946a 24 24 #include <rtems/rtmonuse.h> 25 25 26 rtems_unsigned32Periods[6] = { 0, 2, 2, 2, 2, 100 };27 rtems_unsigned32Iterations[6] = { 0, 50, 50, 50, 50, 1 };26 uint32_t Periods[6] = { 0, 2, 2, 2, 2, 100 }; 27 uint32_t Iterations[6] = { 0, 50, 50, 50, 50, 1 }; 28 28 rtems_task_priority Priorities[6] = { 0, 1, 1, 3, 4, 5 }; 29 29 30 30 rtems_task Task_1_through_5( 31 rtems_unsigned32argument31 uint32_t argument 32 32 ) 33 33 { 34 34 rtems_id rmid; 35 35 rtems_id test_rmid; 36 rtems_unsigned32index;37 rtems_unsigned32pass;38 rtems_unsigned32failed;36 uint32_t index; 37 uint32_t pass; 38 uint32_t failed; 39 39 rtems_status_code status; 40 40 -
testsuites/libtests/stackchk/blow.c
r4c84d7b r9919946a 20 20 void blow_stack( void ) 21 21 { 22 volatile u nsigned32*low, *high;22 volatile uint32_t *low, *high; 23 23 unsigned char *area; 24 24 … … 31 31 area = (unsigned char *)_Thread_Executing->Start.Initial_stack.area; 32 32 33 low = (volatile u nsigned32*) (area + HEAP_OVERHEAD);34 high = (volatile u nsigned32*)33 low = (volatile uint32_t *) (area + HEAP_OVERHEAD); 34 high = (volatile uint32_t *) 35 35 (area + _Thread_Executing->Start.Initial_stack.size - 16); 36 36
Note: See TracChangeset
for help on using the changeset viewer.