Changeset 9856277 in rtems


Ignore:
Timestamp:
Aug 31, 2008, 3:55:27 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
e6778bc
Parents:
0ccb2bb
Message:

2008-08-31 Joel Sherrill <joel.sherrill@…>

  • console/console.c, include/m340timer.h, timer/timer.c: Rename timer driver methods to follow RTEMS programming conventions.
Location:
c/src/lib/libbsp/m68k/gen68340
Files:
4 edited

Legend:

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

    r0ccb2bb r9856277  
     12008-08-31      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * console/console.c, include/m340timer.h, timer/timer.c: Rename timer
     4        driver methods to follow RTEMS programming conventions.
     5
    162008-08-19      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/m68k/gen68340/console/console.c

    r0ccb2bb r9856277  
    554554        Init_UART_Table();
    555555        dbugInitialise ();
    556         Fifo_Full_Timer_initialize();
     556        Fifo_Full_benchmark_timerinitialize();
    557557
    558558        /*
  • c/src/lib/libbsp/m68k/gen68340/include/m340timer.h

    r0ccb2bb r9856277  
    2626#define __m340timer_H__
    2727
    28 extern void Fifo_Full_Timer_initialize (void);
     28extern void Fifo_Full_benchmark_timerinitialize (void);
    2929
    3030extern void (*Restart_Fifo_Full_A_Timer)();
  • c/src/lib/libbsp/m68k/gen68340/timer/timer.c

    r0ccb2bb r9856277  
    114114
    115115/******************************************************
    116   Name: Fifo_Full_Timer_initialize
     116  Name: Fifo_Full_benchmark_timerinitialize
    117117  Input parameters: -
    118118  Output parameters: -
    119119  Description: initialize Timer 1 for FIFO full mode
    120120 *****************************************************/
    121 void Fifo_Full_Timer_initialize (void)
     121void Fifo_Full_benchmark_timerinitialize (void)
    122122{
    123123   float max_baud_rate;
     
    219219
    220220/******************************************************
    221   Name: Timer_initialize
     221  Name: benchmark_timerinitialize
    222222  Input parameters: -
    223223  Output parameters: -
    224224  Description: init Timer for timing test suites
    225225 *****************************************************/
    226 void Timer_initialize (void)
     226void benchmark_timerinitialize (void)
    227227{
    228228        /* Disable the timer */
     
    251251
    252252/******************************************************
    253   Name: Read_timer
     253  Name: benchmark_timerread
    254254  Input parameters: -
    255255  Output parameters: -
     
    257257 *****************************************************/
    258258int
    259 Read_timer (void)
     259benchmark_timerread (void)
    260260{
    261261 /* there's CLOCK_SPEED / 16 micro seconds between two timer register decrement */
     
    264264
    265265/******************************************************
    266   Name: Empty_function
     266  Name: benchmark_timerempty_function
    267267  Input parameters: -
    268268  Output parameters: -
     
    272272 *****************************************************/
    273273rtems_status_code
    274 Empty_function (void)
     274benchmark_timerempty_function (void)
    275275{
    276276        return RTEMS_SUCCESSFUL;
     
    278278
    279279/******************************************************
    280   Name: Set_find_average_overhead
     280  Name: benchmark_timerdisable_subtracting_average_overhead
    281281  Input parameters: -
    282282  Output parameters: -
     
    284284 *****************************************************/
    285285void
    286 Set_find_average_overhead(rtems_boolean find_flag)
    287 {
    288 }
     286benchmark_timerdisable_subtracting_average_overhead(rtems_boolean find_flag)
     287{
     288}
Note: See TracChangeset for help on using the changeset viewer.