source: rtems/c/src/lib/libcpu/powerpc/mpc821/include/Makefile.in @ 3084de2

4.104.114.84.95
Last change on this file since 3084de2 was 3084de2, checked in by Joel Sherrill <joel.sherrill@…>, on 04/07/99 at 15:57:05

MPC821 support and PPC patches from Andrew Bray <andy@…>:

In c/src/exec/score/cpu/powerpc/rtems/score/ppc.h:

A lot of hardware interrupts were omitted. Patch enclosed.
I have also added the 821.

In c/src/exec/score/cpu/powerpc/rtems/score/cpu.h:

My patch adds the 821.

In c/src/exec/score/cpu/powerpc/cpu.c:

I have added the MPC821, and also fixed up for the missing hardware
interrupts. It is also inconsistent with
c/src/lib/libcpu/powerpc/mpc860/vectors/vectors.S. This has been fixed.

In c/src/lib/libcpu/powerpc/mpc860/vectors/vectors.S:

Fixed an inconsistency with cpu.c.

I also include some new files to go with the above patches. These are the
cpu library rtems-19990331/c/src/lib/libcpu/powerpc/mpc821/* and
c/src/exec/score/cpu/powerpc/mpc821.h which are minor modifications of
the 860 equivalents.

Other comments:

The various accesses to the DPRAM on the 860 are done with a linktime
symbol. This could be done dynamically at run time by reading the immr
register, and masking off the lower 16 bits. This takes the same amount
of time as loading an address constant, and the same number of
instructions as well (2).

In c/src/lib/libcpu/powerpc/mpc860/console-generic/console-generic.c:

This will silently fail if you attempt to use SCC1. This is only relevant
if you are not using SCC1 for ethernet.

This file also sets one of port B output pins for each port. This is NOT
generic, it should be in the BSP specific console driver.

  • Property mode set to 100644
File size: 952 bytes
Line 
1#
2#  $Id$
3#
4# Install any include files needed by libcpu.
5# Mainly this just means bsp.h which would normally be installed
6# after libcpu is built.
7# This is a bit of a hack.
8
9@SET_MAKE@
10srcdir = @srcdir@
11top_srcdir = @top_srcdir@
12top_builddir = ../../../../../../..
13subdir = c/src/lib/libcpu/powerpc/mpc821/include
14
15INSTALL = @INSTALL@
16
17RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
18PROJECT_ROOT = @PROJECT_ROOT@
19
20VPATH = @srcdir@
21
22H_FILES = $(wildcard $(srcdir)/*.h)
23SRCS=$(H_FILES)
24
25include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
26include $(RTEMS_ROOT)/make/leaf.cfg
27
28all:    install
29
30install:
31        $(RTEMS_ROOT)/mkinstalldirs $(PROJECT_INCLUDE)/mpc821
32        $(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE)/mpc821
33
34all: FORCEIT
35        cd ../../../../libbsp/$(RTEMS_CPU)/$(RTEMS_BSP)/include; $(MAKE) all
36
37Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
38        cd $(top_builddir) \
39         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.