Changeset 4a238002 in rtems for c/src/lib/libbsp/sh/gensh2


Ignore:
Timestamp:
11/18/99 21:22:58 (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
97c465c
Parents:
5503d75
Message:

Patch from "John M. Mills" <jmills@…> with subsequent cleanup from
Ralf Corsepius <corsepiu@…> that adds initial Hitachi SH-2
support to RTEMS. Ralf's comments are:

Changes:
------

  1. SH-Port:
  • Many files renamed.
  • CONSOLE_DEVNAME and MHZ defines removed from libcpu.
  • console.c moved to libbsp/sh/shared, build in libbsp/sh/<BSP>/console applying VPATH.
  • CONSOLE_DEVNAME made BSP-specific, replacement is defined in bsp.h
  • MHZ define replaced with HZ (extendent resolution) in custom/*.cfg
  • -DHZ=HZ used in bspstart.c, only
  • Makefile variable HZ used in bsp-dependent directories only.
  1. SH1-Port
  • clock-driver rewritten to provide better resolution for odd CPU frequencies. This driver is only partially tested on hardware, ie. sightly experimental, but I don't expect severe problems with it.
  • Polling SCI-driver added. This driver is experimental and completly untested yet. Therefore it is not yet used for the console (/dev/console is still pointing to /dev/null, cf. gensh1/bsp.h).
  • minor changes to the timer driver
  • SH1 specific delay()/CPU_delay() now is implemented as a function
  1. SH2-Port
  • Merged
  • IMO, the code is still in its infancy. Therefore I have interspersed comments (FIXME) it for items which I think John should look after.
  • sci and console drivers partially rewritten and extended (John, I hope you don't mind).
  • Copyright notices are not yet adapted
Location:
c/src/lib/libbsp/sh/gensh2
Files:
19 added
1 moved

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sh/gensh2/console/Makefile.in

    r5503d75 r4a238002  
    1 #
    2 #  $Id$
    3 #
     1##
     2##  $Id$
     3##
    44
    55@SET_MAKE@
     
    77top_srcdir = @top_srcdir@
    88top_builddir = ../../..
    9 subdir = sh/sh7032/console
     9subdir = sh/gensh2/console
    1010
    1111RTEMS_ROOT = @RTEMS_ROOT@
    1212PROJECT_ROOT = @PROJECT_ROOT@
    1313
    14 VPATH = @srcdir@
     14VPATH = @srcdir@:@top_srcdir@/sh/shared
    1515
    1616PGM = ${ARCH}/console.rel
     
    6464
    6565# the .rel file built here will be put into libbsp.a by
    66 #       libbsp/sh/BSP/wrapup/Makefile
     66#       ../wrapup/Makefile
    6767install: all
    6868
Note: See TracChangeset for help on using the changeset viewer.