4.104.114.84.95
Last change
on this file since 561e4ff6 was
4a238002,
checked in by Joel Sherrill <joel.sherrill@…>, on 11/18/99 at 21:22:58
|
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:
------
- 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.
- 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
- 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
|
-
Property mode set to
100644
|
File size:
945 bytes
|
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | @SET_MAKE@ |
---|
6 | srcdir = @srcdir@ |
---|
7 | top_srcdir = @top_srcdir@ |
---|
8 | top_builddir = ../../.. |
---|
9 | subdir = sh/gensh2/include |
---|
10 | |
---|
11 | RTEMS_ROOT = @RTEMS_ROOT@ |
---|
12 | PROJECT_ROOT = @PROJECT_ROOT@ |
---|
13 | |
---|
14 | VPATH = @srcdir@ |
---|
15 | |
---|
16 | H_FILES = $(srcdir)/bsp.h $(srcdir)/coverhd.h |
---|
17 | |
---|
18 | # |
---|
19 | # Equate files are for including from assembly preprocessed by |
---|
20 | # gm4 or gasp. No examples are provided except for those for |
---|
21 | # other CPUs. The best way to generate them would be to |
---|
22 | # provide a program which generates the constants used based |
---|
23 | # on the C equivalents. |
---|
24 | # |
---|
25 | |
---|
26 | EQ_FILES = |
---|
27 | |
---|
28 | SRCS = $(H_FILES) $(EQ_FILES) |
---|
29 | |
---|
30 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
31 | include $(RTEMS_ROOT)/make/leaf.cfg |
---|
32 | |
---|
33 | INSTALL_CHANGE = @INSTALL_CHANGE@ |
---|
34 | |
---|
35 | CLEAN_ADDITIONS += |
---|
36 | CLOBBER_ADDITIONS += |
---|
37 | |
---|
38 | all: $(SRCS) |
---|
39 | @INSTALL@ -m 644 $(H_FILES) $(PROJECT_INCLUDE) |
---|
40 | |
---|
41 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
---|
42 | cd $(top_builddir) \ |
---|
43 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
---|
Note: See
TracBrowser
for help on using the repository browser.