Changeset 364d75b in rtems


Ignore:
Timestamp:
Oct 12, 2001, 2:45:28 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
19b704cd
Parents:
cedf9296
Message:

2001-10-12 Ralf Corsepius <corsepiu@…>

  • configure.ac: Add bspopts.h; Add CPU_CLOCK_RATE_HZ.
  • startup/bspstart.c: Replace HZ with CPU_CLOCK_RATE_HZ.
  • include/.cvsignore: Add stamp-h*, bspopts.h*.
  • include/bsp.h: Add bspopts.h.
Location:
c/src/lib/libbsp/sh/gensh4
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sh/gensh4/ChangeLog

    rcedf9296 r364d75b  
     12001-10-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * configure.ac: Add bspopts.h; Add CPU_CLOCK_RATE_HZ.
     4        * startup/bspstart.c: Replace HZ with CPU_CLOCK_RATE_HZ.
     5        * include/.cvsignore: Add stamp-h*, bspopts.h*.
     6        * include/bsp.h: Add bspopts.h.
     7
    182001-10-11      Alexandra Kossovsky <sasha@oktet.ru>
    29
  • c/src/lib/libbsp/sh/gensh4/configure.ac

    rcedf9296 r364d75b  
    2020RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
    2121RTEMS_CANONICAL_HOST
     22
     23## bsp-specific options
     24CPU_CLOCK_RATE_HZ=${CPU_CLOCK_RATE_HZ-96000000}
     25AC_SUBST(CPU_CLOCK_RATE_HZ)
     26AC_DEFINE_UNQUOTED(
     27  [CPU_CLOCK_RATE_HZ],
     28  [$CPU_CLOCK_RATE_HZ],
     29  [cpu clock rate in HZ])
     30
     31AM_CONFIG_HEADER(include/bspopts.h)
    2232RTEMS_PROJECT_ROOT
    2333
  • c/src/lib/libbsp/sh/gensh4/include/.cvsignore

    rcedf9296 r364d75b  
    11Makefile
    22Makefile.in
     3stamp-h*
     4bspopts.h*
  • c/src/lib/libbsp/sh/gensh4/include/bsp.h

    rcedf9296 r364d75b  
    4848#include <clockdrv.h>
    4949#include <console.h>
     50#include <bspopts.h>
     51
    5052#include "rtems/score/sh7750_regs.h"
     53
    5154
    5255/*
  • c/src/lib/libbsp/sh/gensh4/startup/bspstart.c

    rcedf9296 r364d75b  
    5050 * This variable is nesessary for console driver.
    5151 */
    52 unsigned32 SH4_CPU_HZ_Frequency = HZ;
     52unsigned32 SH4_CPU_HZ_Frequency = CPU_CLOCK_RATE_HZ;
    5353
    5454/*
     
    143143#endif
    144144
    145   Cpu_table.clicks_per_second = HZ ;
     145  Cpu_table.clicks_per_second = CPU_CLOCK_RATE_HZ ;
    146146}
Note: See TracChangeset for help on using the changeset viewer.