Changeset 33e7fc3e in rtems


Ignore:
Timestamp:
Aug 10, 2009, 4:52:54 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
439aade
Parents:
cdd352e
Message:

2009-08-10 Joel Sherrill <joel.sherrill@…>

  • console/console.c: Convert calls to legacy routine rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
Location:
c/src/lib/libbsp/m68k/mvme167
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/mvme167/ChangeLog

    rcdd352e r33e7fc3e  
     12009-08-10      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * console/console.c: Convert calls to legacy routine rtems_clock_get(
     4        RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
     5
    162009-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • c/src/lib/libbsp/m68k/mvme167/console/console.c

    rcdd352e r33e7fc3e  
    230230  rtems_interval ticks_per_second, start_ticks, end_ticks, current_ticks;
    231231
    232   rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND, &ticks_per_second );
    233   rtems_clock_get( RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &start_ticks );
     232  ticks_per_second = rtems_clock_get_ticks_per_second();
     233  stack_ticks = rtems_clock_get_ticks_since_boot();
    234234  end_ticks = start_ticks + delay;
    235235
    236236  do {
    237     rtems_clock_get(RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &current_ticks);
     237    current_ticks = rtems_clock_get_ticks_since_boot();
    238238  } while ( --i && (current_ticks <= end_ticks) );
    239239
Note: See TracChangeset for help on using the changeset viewer.