Ignore:
Timestamp:
Nov 18, 1999, 9:22:58 PM (21 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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c

    r5503d75 r4a238002  
    4242#include <rtems/score/isr.h>
    4343#include <rtems/score/thread.h>
    44 #include <rtems/score/cpu_isps.h>
     44#include <rtems/score/sh.h>
     45
     46#if defined(sh7032)
     47#include <rtems/score/ispsh7032.h>
     48#include <rtems/score/iosh7032.h>
     49#elif defined (sh7045)
     50#include <rtems/score/ispsh7045.h>
     51#include <rtems/score/iosh7045.h>
     52#endif
     53
    4554#include <rtems/score/sh_io.h>
    46 #include <rtems/score/sh.h>
    47 #include <rtems/score/iosh7030.h>
    4855
    4956/* from cpu_isps.c */
Note: See TracChangeset for help on using the changeset viewer.