Changeset 9919946 in rtems


Ignore:
Timestamp:
Mar 30, 2004, 11:12:47 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
c87608f
Parents:
4c84d7b
Message:

2004-03-30 Ralf Corsepius <ralf_corsepius@…>

  • cpuuse/system.h, cpuuse/task1.c, cpuuse/tswitch.c, monitor/init.c, monitor/system.h, rtems++/System.h, rtems++/Task1.cc, rtems++/Task2.cc, rtems++/Task3.cc, rtmonuse/init.c, rtmonuse/system.h, rtmonuse/task1.c, stackchk/blow.c: Convert to using c99 fixed size types.
Location:
testsuites/libtests
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/ChangeLog

    r4c84d7b r9919946  
     12004-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
    192004-03-25      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    210
  • testsuites/libtests/cpuuse/system.h

    r4c84d7b r9919946  
    6363 
    6464/* array of task run counts */
    65 TEST_EXTERN volatile rtems_unsigned32 Run_count[ 4 ]; 
     65TEST_EXTERN volatile uint32_t  Run_count[ 4 ]; 
    6666
    6767/*
  • testsuites/libtests/cpuuse/task1.c

    r4c84d7b r9919946  
    2525)
    2626{
    27   rtems_unsigned32  seconds;
    28   rtems_unsigned32  old_seconds;
     27  uint32_t    seconds;
     28  uint32_t    old_seconds;
    2929  rtems_mode        previous_mode;
    3030  rtems_time_of_day time;
    3131  rtems_status_code status;
    32   rtems_unsigned32  start_time;
    33   rtems_unsigned32  end_time;
     32  uint32_t    start_time;
     33  uint32_t    end_time;
    3434
    3535  puts( "TA1 - rtems_task_suspend - on Task 2" );
  • testsuites/libtests/cpuuse/tswitch.c

    r4c84d7b r9919946  
    3232)
    3333{
    34   rtems_unsigned32  index;
     34  uint32_t    index;
    3535  rtems_time_of_day time;
    3636  rtems_status_code status;
  • testsuites/libtests/monitor/init.c

    r4c84d7b r9919946  
    2222
    2323rtems_task Task_1_through_5(
    24   rtems_unsigned32 argument
     24  uint32_t  argument
    2525)
    2626{
     
    3939)
    4040{
    41   rtems_unsigned32  index;
     41  uint32_t    index;
    4242  rtems_status_code status;
    4343
  • testsuites/libtests/monitor/system.h

    r4c84d7b r9919946  
    1919
    2020struct counters {
    21   rtems_unsigned32 count[6];
     21  uint32_t  count[6];
    2222};
    2323
  • testsuites/libtests/rtems++/System.h

    r4c84d7b r9919946  
    6363  Task2(const char* name,
    6464        const rtems_task_priority initial_priority,
    65         const rtems_unsigned32 stack_size);
     65        const uint32_t  stack_size);
    6666};
    6767
     
    7777  Task3(const char* name,
    7878        const rtems_task_priority initial_priority,
    79         const rtems_unsigned32 stack_size);
     79        const uint32_t  stack_size);
    8080};
    8181
     
    8989  EndTask(const char* name,
    9090          const rtems_task_priority initial_priority,
    91           const rtems_unsigned32 stack_size);
     91          const uint32_t  stack_size);
    9292};
    9393
  • testsuites/libtests/rtems++/Task1.cc

    r4c84d7b r9919946  
    241241  printf("%s, priority was %i\n", task_2.last_status_string(), priority);
    242242
    243   rtems_unsigned32 current_note;
    244   rtems_unsigned32 note;
     243  uint32_t  current_note;
     244  uint32_t  note;
    245245 
    246246  // notepad registers for this object
     
    503503  char *u2 = "urgent send";
    504504  char in[100];
    505   rtems_unsigned32 size;
     505  uint32_t  size;
    506506 
    507507  printf("%s - send u1 to mq_2 - ", name_string());
     
    574574 
    575575  char *b1 = "broadcast message";
    576   rtems_unsigned32 count;
     576  uint32_t  count;
    577577 
    578578  printf("%s - broadcast send b1 ...\n", name_string());
     
    669669EndTask::EndTask(const char* name,
    670670                 const rtems_task_priority initial_priority,
    671                  const rtems_unsigned32 stack_size)
     671                 const uint32_t  stack_size)
    672672  : rtemsTask(name, initial_priority, stack_size, RTEMS_NO_PREEMPT)
    673673{
  • testsuites/libtests/rtems++/Task2.cc

    r4c84d7b r9919946  
    2323Task2::Task2(const char* name,
    2424             const rtems_task_priority initial_priority,
    25              const rtems_unsigned32 stack_size)
     25             const uint32_t  stack_size)
    2626  : rtemsTask(name, initial_priority, stack_size, RTEMS_NO_PREEMPT)
    2727{
  • testsuites/libtests/rtems++/Task3.cc

    r4c84d7b r9919946  
    2323Task3::Task3(const char* name,
    2424             const rtems_task_priority initial_priority,
    25              const rtems_unsigned32 stack_size)
     25             const uint32_t  stack_size)
    2626  : rtemsTask(name, initial_priority, stack_size, RTEMS_NO_PREEMPT)
    2727{
     
    4545    char in[100];
    4646    char out[100];
    47     rtems_unsigned32 size;
     47    uint32_t  size;
    4848    bool loopback = true;
    4949 
  • testsuites/libtests/rtmonuse/init.c

    r4c84d7b r9919946  
    3131)
    3232{
    33   rtems_unsigned32  index;
     33  uint32_t    index;
    3434  rtems_status_code status;
    3535
  • testsuites/libtests/rtmonuse/system.h

    r4c84d7b r9919946  
    1919
    2020struct counters {
    21   rtems_unsigned32 count[6];
     21  uint32_t  count[6];
    2222};
    2323
  • testsuites/libtests/rtmonuse/task1.c

    r4c84d7b r9919946  
    2424#include <rtems/rtmonuse.h>
    2525
    26 rtems_unsigned32    Periods[6]    = { 0,   2,   2,   2,   2, 100 };
    27 rtems_unsigned32    Iterations[6] = { 0,  50,  50,  50,  50,   1 };
     26uint32_t      Periods[6]    = { 0,   2,   2,   2,   2, 100 };
     27uint32_t      Iterations[6] = { 0,  50,  50,  50,  50,   1 };
    2828rtems_task_priority Priorities[6] = { 0,   1,   1,   3,   4,   5 };
    2929
    3030rtems_task Task_1_through_5(
    31   rtems_unsigned32 argument
     31  uint32_t  argument
    3232)
    3333{
    3434  rtems_id          rmid;
    3535  rtems_id          test_rmid;
    36   rtems_unsigned32  index;
    37   rtems_unsigned32  pass;
    38   rtems_unsigned32  failed;
     36  uint32_t    index;
     37  uint32_t    pass;
     38  uint32_t    failed;
    3939  rtems_status_code status;
    4040
  • testsuites/libtests/stackchk/blow.c

    r4c84d7b r9919946  
    2020void blow_stack( void )
    2121{
    22   volatile unsigned32 *low, *high;
     22  volatile uint32_t  *low, *high;
    2323  unsigned char *area;
    2424
     
    3131 area = (unsigned char *)_Thread_Executing->Start.Initial_stack.area;
    3232
    33  low  = (volatile unsigned32 *) (area + HEAP_OVERHEAD);
    34  high = (volatile unsigned32 *)
     33 low  = (volatile uint32_t  *) (area + HEAP_OVERHEAD);
     34 high = (volatile uint32_t  *)
    3535            (area + _Thread_Executing->Start.Initial_stack.size - 16);
    3636
Note: See TracChangeset for help on using the changeset viewer.