Changeset 44d7753 in rtems


Ignore:
Timestamp:
Feb 9, 2011, 8:19:30 AM (8 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
d085040
Parents:
af3048a
Message:

2011-02-09 Ralf Corsépius <ralf.corsepius@…>

  • shared/milkymist_timer/timer.c, shared/timer/timer.c: Include <rtems/btimer.h>. Fix benchmark_timer_read() definition.
Location:
c/src/lib/libbsp/lm32
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/lm32/ChangeLog

    raf3048a r44d7753  
     12011-02-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * shared/milkymist_timer/timer.c, shared/timer/timer.c:
     4        Include <rtems/btimer.h>.
     5        Fix benchmark_timer_read() definition.
     6
    172011-02-02      Ralf Corsépius <ralf.corsepius@rtems.org>
    28
  • c/src/lib/libbsp/lm32/shared/milkymist_timer/timer.c

    raf3048a r44d7753  
    2222#include <rtems.h>
    2323#include <bsp.h>
     24#include <rtems/btimer.h>
    2425#include "../include/system_conf.h"
    2526#include "../../shared/clock/clock.h"
     
    5960#define LEAST_VALID       4  /* Don't trust a clicks value lower than this */
    6061
    61 int benchmark_timer_read( void )
     62uint32_t benchmark_timer_read( void )
    6263{
    6364  uint32_t ticks;
  • c/src/lib/libbsp/lm32/shared/timer/timer.c

    raf3048a r44d7753  
    2525#include <rtems.h>
    2626#include <bsp.h>
     27#include <rtems/btimer.h>
    2728#include "../include/system_conf.h"
    2829#include "../../shared/clock/clock.h"
     
    7879#define LEAST_VALID       4  /* Don't trust a clicks value lower than this */
    7980
    80 int benchmark_timer_read( void )
     81uint32_t benchmark_timer_read( void )
    8182{
    8283  uint32_t ticks;
Note: See TracChangeset for help on using the changeset viewer.