Changeset 1c18ebf in rtems for testsuites/smptests


Ignore:
Timestamp:
Aug 31, 2016, 8:56:09 AM (3 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
7af6b58c
Parents:
6da06c5
git-author:
Chris Johns <chrisj@…> (08/31/16 08:56:09)
git-committer:
Chris Johns <chrisj@…> (09/01/16 01:11:45)
Message:

libmisc/capture: Remove the reserved _t in the types.

Location:
testsuites/smptests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/smptests/smpcapture01/init.c

    r6da06c5 r1c18ebf  
    233233  }
    234234
    235   sc = rtems_capture_control (true);
     235  sc = rtems_capture_set_control (true);
    236236  rtems_test_assert(sc == RTEMS_SUCCESSFUL);
    237237
    238238  test();
    239239
    240   sc = rtems_capture_control (false);
     240  sc = rtems_capture_set_control (false);
    241241  rtems_test_assert(sc == RTEMS_SUCCESSFUL);
    242242
  • testsuites/smptests/smpcapture02/init.c

    r6da06c5 r1c18ebf  
    3939  rtems_id task_sem;
    4040  rtems_id prev_sem;
    41 } task_data_t;
     41} per_cpu_task_data;
    4242
    4343typedef struct {
     
    5050
    5151static rtems_id finished_sem;
    52 static task_data_t task_data[ TASKS_PER_CPU * TASKS_PER_CPU ];
     52static per_cpu_task_data task_data[ TASKS_PER_CPU * TASKS_PER_CPU ];
    5353static rtems_interrupt_handler org_clock_handler;
    5454
     
    6666  uint32_t a;
    6767  uint32_t b;
    68 } RTEMS_PACKED enter_add_number_record_t;
     68} RTEMS_PACKED enter_add_number_record;
    6969
    7070typedef struct {
    7171  uint32_t res;
    72 } RTEMS_PACKED exit_add_number_record_t;
     72} RTEMS_PACKED exit_add_number_record;
    7373
    7474typedef struct {
    7575  void *arg;
    76 } RTEMS_PACKED clock_tick_record_t;
     76} RTEMS_PACKED clock_tick_record;
    7777
    7878/*
     
    9898{
    9999  rtems_capture_record_lock_context lock;
    100   enter_add_number_record_t enter_rec;
    101   exit_add_number_record_t exit_rec;
     100  enter_add_number_record enter_rec;
     101  exit_add_number_record exit_rec;
    102102  cap_rec_type id;
    103103  uint32_t res;
     
    289289  const void *recs;
    290290  cap_rec_type id;
    291   rtems_capture_record_t rec;
    292   rtems_capture_record_t prev_rec;
    293   enter_add_number_record_t enter_rec;
    294   exit_add_number_record_t exit_rec;
     291  rtems_capture_record rec;
     292  rtems_capture_record prev_rec;
     293  enter_add_number_record enter_rec;
     294  exit_add_number_record exit_rec;
    295295  clock_interrupt_handler cih = {.found = 0};
    296296
     
    310310  rtems_test_assert(sc == RTEMS_SUCCESSFUL);
    311311
    312   sc = rtems_capture_control(true);
     312  sc = rtems_capture_set_control(true);
    313313  rtems_test_assert(sc == RTEMS_SUCCESSFUL);
    314314
     
    338338
    339339  /* Disable capturing */
    340   sc = rtems_capture_control(false);
     340  sc = rtems_capture_set_control(false);
    341341  rtems_test_assert(sc == RTEMS_SUCCESSFUL);
    342342
Note: See TracChangeset for help on using the changeset viewer.