4.104.114.84.95
Last change
on this file since 6a4df9f9 was
6a4df9f9,
checked in by Joel Sherrill <joel.sherrill@…>, on 05/14/02 at 17:10:49
|
2001-05-14 Till Straumann <strauman@…>
- bootloader/Makefile.am, console/Makefile.am, pci/Makefile.am:
Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably
with the goal to make it more flexible and reusable by other
BSPs. The main strategies were:
- eliminate hardcoded base addresses; devices use offsets
and a BSP defined base address.
- separate functionality into different files (e.g. reboot from
inch.c to reboot.c) which can be overridden by a 'derived' BSP.
- separate initialization code into separate files (e.g. PCI
bridge detection/initialization was separated from the more
generic PCI access routines), also to make it easier for
'derived' BSPs to substitute their own initialization code.
There are also a couple of enhancements and fixes:
- IRQ handling code now has a hook for attaching a VME bridge.
- OpenPIC is now explicitely initialized (polarities, senses).
Eliminated the implicit assumption on the presence of an ISA PIC.
- UART and console driver now supports more than 1 port. The current
maximum of 2 can easily be extended by enlarging a table (it
would even be easier if the ISR API was not broken by design).
- fixed polled_io.c so it correctly supports console on COM2
- fixed TLB invalidation code (start.S).
- exception handler prints a stack backtrace.
- added BSP_pciFindDevice() to scan the pci bus for a particular
vendor/device/instance.
|
-
Property mode set to
100644
|
File size:
818 bytes
|
Rev | Line | |
---|
[df49c60] | 1 | ## |
---|
[4e36a2f] | 2 | ## $Id$ |
---|
[df49c60] | 3 | ## |
---|
[4e36a2f] | 4 | |
---|
| 5 | |
---|
| 6 | VPATH = @srcdir@:@srcdir@/../../shared/pci |
---|
| 7 | |
---|
[6a4df9f9] | 8 | C_FILES = pci.c detect_raven_bridge.c pcifinddevice.c |
---|
[4e36a2f] | 9 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
---|
| 10 | |
---|
| 11 | H_FILES = ../../shared/pci/pci.h |
---|
| 12 | |
---|
| 13 | OBJS = $(C_O_FILES) |
---|
| 14 | |
---|
| 15 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
[068231cd] | 16 | include $(top_srcdir)/../../../../../../automake/compile.am |
---|
[4e36a2f] | 17 | include $(top_srcdir)/../../../../../../automake/lib.am |
---|
| 18 | |
---|
| 19 | # |
---|
| 20 | # (OPTIONAL) Add local stuff here using += |
---|
| 21 | # |
---|
| 22 | |
---|
[5f4867d] | 23 | AM_CFLAGS += -O2 |
---|
[df49c60] | 24 | |
---|
[4e36a2f] | 25 | $(PROJECT_INCLUDE)/bsp: |
---|
| 26 | $(mkinstalldirs) $< |
---|
| 27 | |
---|
| 28 | $(PROJECT_INCLUDE)/bsp/pci.h: ../../shared/pci/pci.h |
---|
| 29 | $(INSTALL_DATA) $< $@ |
---|
| 30 | |
---|
| 31 | # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile |
---|
[8c4566a] | 32 | PREINSTALL_FILES = $(PROJECT_INCLUDE)/bsp $(PROJECT_INCLUDE)/bsp/pci.h |
---|
[4e36a2f] | 33 | |
---|
| 34 | all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) |
---|
| 35 | |
---|
| 36 | include $(top_srcdir)/../../../../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.