Changeset 26c17377 in rtems


Ignore:
Timestamp:
Feb 9, 2011, 12:15:54 PM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, 5, master
Children:
ad6b881
Parents:
097c600
Message:

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

  • timer/timer.c: Include <rtems/btimer.h>. Fix benchmark_timer_read() definition.
Location:
c/src/lib/libbsp
Files:
30 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/nds/ChangeLog

    r097c600 r26c17377  
     12011-02-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * timer/timer.c: Include <rtems/btimer.h>.
     4        Fix benchmark_timer_read() definition.
     5
    162011-02-02      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/arm/nds/timer/timer.c

    r097c600 r26c17377  
    1313
    1414#include <rtems.h>
     15#include <rtems/btimer.h>
    1516#include <bsp.h>
    1617#include <nds.h>
  • c/src/lib/libbsp/m68k/gen68360/ChangeLog

    r097c600 r26c17377  
     12011-02-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * timer/timer.c: Include <rtems/btimer.h>.
     4        Fix benchmark_timer_read() definition.
     5
    162011-02-02      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/m68k/gen68360/timer/timer.c

    r097c600 r26c17377  
    3333
    3434#include <rtems.h>
     35#include <rtems/btimer.h>
    3536#include <bsp.h>
    3637#include <rtems/m68k/m68360.h>
     
    7071 * Return timer value in microsecond units
    7172 */
    72 int
     73uint32_t
    7374benchmark_timer_read (void)
    7475{
  • c/src/lib/libbsp/m68k/genmcf548x/ChangeLog

    r097c600 r26c17377  
     12011-02-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * timer/timer.c: Include <rtems/btimer.h>.
     4        Fix benchmark_timer_read() definition.
     5
    162011-02-02      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/m68k/genmcf548x/timer/timer.c

    r097c600 r26c17377  
    5252
    5353#include <rtems.h>
     54#include <rtems/btimer.h>
    5455#include <bsp.h>
    5556#include <mcf548x/mcf548x.h>
     
    6869 * XLB clock 100 MHz / 1us is equal to 100 counts
    6970 */
    70 int
     71uint32_t
    7172benchmark_timer_read(void)
    7273{
  • c/src/lib/libbsp/m68k/idp/ChangeLog

    r097c600 r26c17377  
     12011-02-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * timer/timer.c: Include <rtems/btimer.h>.
     4        Fix benchmark_timer_read() definition.
     5
    162011-02-02      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/m68k/idp/timer/timer.c

    r097c600 r26c17377  
    1313
    1414#include <rtems.h>
     15#include <rtems/btimer.h>
    1516#include <bsp.h>
    1617#include <rtems/motorola/mc68230.h>
     
    5152#define LEAST_VALID       10 /* Don't trust a value lower than this */
    5253
    53 int benchmark_timer_read(void)
     54uint32_t benchmark_timer_read(void)
    5455{
    5556  uint8_t         data;
  • c/src/lib/libbsp/m68k/mcf52235/ChangeLog

    r097c600 r26c17377  
     12011-02-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * timer/timer.c: Include <rtems/btimer.h>.
     4        Fix benchmark_timer_read() definition.
     5
    162011-02-02      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/m68k/mcf52235/timer/timer.c

    r097c600 r26c17377  
    1515
    1616#include <rtems.h>
     17#include <rtems/btimer.h>
    1718#include <bsp.h>
    1819
     
    2930 * Return timer value in microsecond units
    3031 */
    31 int benchmark_timer_read(void)
     32uint32_t benchmark_timer_read(void)
    3233{
    3334  return MCF_DTIM3_DTCN;
  • c/src/lib/libbsp/m68k/mcf5225x/ChangeLog

    r097c600 r26c17377  
     12011-02-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * timer/timer.c: Include <rtems/btimer.h>.
     4        Fix benchmark_timer_read() definition.
     5
    162011-02-02      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/m68k/mcf5225x/timer/timer.c

    r097c600 r26c17377  
    1717
    1818#include <rtems.h>
     19#include <rtems/btimer.h>
    1920#include <bsp.h>
    2021
     
    3132 * Return timer value in microsecond units
    3233 */
    33 int benchmark_timer_read(void)
     34uint32_t benchmark_timer_read(void)
    3435{
    3536  return MCF_DTIM3_DTCN;
  • c/src/lib/libbsp/m68k/mcf5235/ChangeLog

    r097c600 r26c17377  
     12011-02-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * timer/timer.c: Include <rtems/btimer.h>.
     4        Fix benchmark_timer_read() definition.
     5
    162011-02-02      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/m68k/mcf5235/timer/timer.c

    r097c600 r26c17377  
    66
    77#include <rtems.h>
     8#include <rtems/btimer.h>
    89#include <bsp.h>
    910
     
    2223 * Return timer value in microsecond units
    2324 */
    24 int
     25uint32_t
    2526benchmark_timer_read(void)
    2627{
  • c/src/lib/libbsp/m68k/mcf5329/ChangeLog

    r097c600 r26c17377  
     12011-02-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * timer/timer.c: Include <rtems/btimer.h>.
     4        Fix benchmark_timer_read() definition.
     5
    162011-02-02      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/m68k/mcf5329/timer/timer.c

    r097c600 r26c17377  
    1616
    1717#include <rtems.h>
     18#include <rtems/btimer.h>
    1819#include <bsp.h>
    1920
     
    3031 * Return timer value in microsecond units
    3132 */
    32 int benchmark_timer_read(void)
     33uint32_t benchmark_timer_read(void)
    3334{
    3435  return MCF_DTIM3_DTCN;
  • c/src/lib/libbsp/m68k/mrm332/ChangeLog

    r097c600 r26c17377  
     12011-02-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * timer/timer.c: Include <rtems/btimer.h>.
     4        Fix benchmark_timer_read() definition.
     5
    162011-02-02      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/m68k/mrm332/timer/timer.c

    r097c600 r26c17377  
    1010 */
    1111
     12#include <rtems/btimer.h>
    1213#include <bsp.h>
    1314
     
    4041 * Return timer value in 1/2-microsecond units
    4142 */
    42 int benchmark_timer_read( void )
     43uint32_t benchmark_timer_read( void )
    4344{
    4445  uint32_t         total;
  • c/src/lib/libbsp/m68k/mvme136/ChangeLog

    r097c600 r26c17377  
     12011-02-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * timer/timer.c: Include <rtems/btimer.h>.
     4        Fix benchmark_timer_read() definition.
     5
    162011-02-02      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/m68k/mvme136/timer/timer.c

    r097c600 r26c17377  
    1010 */
    1111
     12#include <rtems/btimer.h>
    1213#include <bsp.h>
    1314#include <rtems/zilog/z8036.h>
     
    5253#define LEAST_VALID       10 /* Don't trust a value lower than this */
    5354
    54 int benchmark_timer_read(void)
     55uint32_t benchmark_timer_read(void)
    5556{
    5657/*
  • c/src/lib/libbsp/m68k/mvme147/ChangeLog

    r097c600 r26c17377  
     12011-02-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * timer/timer.c: Include <rtems/btimer.h>.
     4        Fix benchmark_timer_read() definition.
     5
    162011-02-02      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/m68k/mvme147/timer/timer.c

    r097c600 r26c17377  
    1414 */
    1515
     16#include <rtems/btimer.h>
    1617#include <bsp.h>
    1718
     
    4748#define LEAST_VALID       10 /* Don't trust a value lower than this */
    4849
    49 int benchmark_timer_read(void)
     50uint32_t benchmark_timer_read(void)
    5051{
    5152  uint32_t         total;
  • c/src/lib/libbsp/m68k/mvme162/ChangeLog

    r097c600 r26c17377  
     12011-02-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * timer/timer.c: Include <rtems/btimer.h>.
     4        Fix benchmark_timer_read() definition.
     5
    162011-02-02      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/m68k/mvme162/timer/timer.c

    r097c600 r26c17377  
    2020
    2121#include <rtems.h>
     22#include <rtems/btimer.h>
    2223#include <bsp.h>
    2324
     
    5253#define LEAST_VALID       10U   /* Don't trust a value lower than this */
    5354
    54 int benchmark_timer_read(void)
     55uint32_t benchmark_timer_read(void)
    5556{
    5657  uint32_t            total;
  • c/src/lib/libbsp/m68k/mvme167/ChangeLog

    r097c600 r26c17377  
     12011-02-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * timer/timer.c: Include <rtems/btimer.h>.
     4        Fix benchmark_timer_read() definition.
     5
    162011-02-02      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/m68k/mvme167/timer/timer.c

    r097c600 r26c17377  
    3232
    3333#include <rtems.h>
     34#include <rtems/btimer.h>
    3435#include <bsp.h>
    3536
     
    106107 *  below this are "noise" and zero is returned.
    107108 */
    108 int benchmark_timer_read(void)
     109uint32_t benchmark_timer_read(void)
    109110{
    110111  uint32_t            total;
  • c/src/lib/libbsp/nios2/nios2_iss/ChangeLog

    r097c600 r26c17377  
     12011-02-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * timer/timer.c: Include <rtems/btimer.h>.
     4        Fix benchmark_timer_read() definition.
     5
    162011-02-02      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/nios2/nios2_iss/timer/timer.c

    r097c600 r26c17377  
    2424
    2525#include <rtems.h>
     26#include <rtems/btimer.h>
    2627#include <rtems/score/cpu.h>
    2728#include <bsp.h>
     
    9899#define LEAST_VALID AVG_OVERHEAD /* Don't trust a value lower than this */
    99100
    100 int benchmark_timer_read( void )
     101uint32_t benchmark_timer_read( void )
    101102{
    102103  uint32_t timer_wraps;
  • c/src/lib/libbsp/no_cpu/no_bsp/ChangeLog

    r097c600 r26c17377  
     12011-02-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * timer/timer.c: Include <rtems/btimer.h>.
     4        Fix benchmark_timer_read() definition.
     5
    162011-02-02      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/no_cpu/no_bsp/timer/timer.c

    r097c600 r26c17377  
    2020
    2121#include <rtems.h>
     22#include <rtems/btimer.h>
    2223#include <bsp.h>
    2324
     
    5556#define LEAST_VALID       1  /* Don't trust a clicks value lower than this */
    5657
    57 int benchmark_timer_read( void )
     58uint32_t benchmark_timer_read( void )
    5859{
    5960  uint32_t         clicks;
Note: See TracChangeset for help on using the changeset viewer.