Changeset bee7612e in rtems


Ignore:
Timestamp:
Jun 18, 2013, 2:39:24 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
894e93f
Parents:
48ab8465
git-author:
Sebastian Huber <sebastian.huber@…> (06/18/13 14:39:24)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/24/13 08:54:00)
Message:

bsp/virtex: Move timer config to new file

Location:
c/src/lib/libbsp/powerpc/virtex
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/virtex/Makefile.am

    r48ab8465 rbee7612e  
    4040noinst_LIBRARIES += libbsp.a
    4141libbsp_a_SOURCES =
     42libbsp_a_LIBADD =
    4243
    4344# startup
     
    7071endif
    7172
    72 libbsp_a_LIBADD = \
     73# timer
     74libbsp_a_SOURCES += timer/timer-config.c
     75libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/ppc403/timer.rel
     76
     77libbsp_a_LIBADD += \
    7378    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
    7479    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
    7580    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
    7681    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
    77     ../../../libcpu/@RTEMS_CPU@/ppc403/clock.rel \
    78     ../../../libcpu/@RTEMS_CPU@/ppc403/timer.rel
     82    ../../../libcpu/@RTEMS_CPU@/ppc403/clock.rel
    7983
    8084if HAS_NETWORKING
  • c/src/lib/libbsp/powerpc/virtex/startup/bspstart.c

    r48ab8465 rbee7612e  
    7474 */
    7575uint32_t   bsp_clicks_per_usec;
    76 uint32_t   bsp_timer_average_overhead; /* Average overhead of timer in ticks */
    77 uint32_t   bsp_timer_least_valid;      /* Least valid number from timer      */
    78 bool       bsp_timer_internal_clock;   /* TRUE, when timer runs with CPU clk */
    7976
    8077/*
     
    9996  /* timebase register ticks/microsecond */
    10097  bsp_clicks_per_usec = (250000000 / 1000000);
    101   bsp_timer_internal_clock  = true;
    102   bsp_timer_average_overhead = 2;
    103   bsp_timer_least_valid = 3;
    10498
    10599  /*
Note: See TracChangeset for help on using the changeset viewer.