diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-05-14 17:10:50 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-05-14 17:10:50 +0000 |
commit | 58507208eb1243f3ccfac36f4e9269fac35a85d0 (patch) | |
tree | 56bee70da30c9958e59f72699ee5fcd5c5dfebd8 /c/src/lib/libbsp/powerpc | |
parent | 2001-05-14 Till Straumann <strauman@slac.stanford.edu> (diff) | |
download | rtems-58507208eb1243f3ccfac36f4e9269fac35a85d0.tar.bz2 |
2001-05-14 Till Straumann <strauman@slac.stanford.edu>
* 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.
Diffstat (limited to 'c/src/lib/libbsp/powerpc')
-rw-r--r-- | c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.am b/c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.am index cc7f54e074..652d4b5099 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.am +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.am @@ -11,9 +11,10 @@ VPATH = @srcdir@:@srcdir@/../../shared/bootloader:@srcdir@/../../shared/console noinst_PROGRAMS = bootloader.o -bootloader_o_SOURCES = misc.c pci.c zlib.c mm.c em86.c polled_io.c lib.c +## IMPORTANT: head.S must be first, T. Straumann 12/17/2001 +bootloader_o_SOURCES = head.S exception.S em86real.S +bootloader_o_SOURCES += misc.c pci.c zlib.c mm.c em86.c polled_io.c lib.c bootloader_o_SOURCES += bootldr.h zlib.h pci.h keyboard.h -bootloader_o_SOURCES += head.S exception.S em86real.S include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |