Changeset 6a4df9f9 in rtems


Ignore:
Timestamp:
May 14, 2002, 5:10:49 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
58507208
Parents:
69ed59f
Message:

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.
Location:
c/src/lib/libbsp/powerpc/motorola_powerpc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog

    r69ed59f r6a4df9f9  
     12001-05-14      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * bootloader/Makefile.am, console/Makefile.am, pci/Makefile.am:
     4        Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably
     5        with the goal to make it more flexible and reusable by other
     6        BSPs. The main strategies were:
     7            - eliminate hardcoded base addresses; devices use offsets
     8              and a BSP defined base address.
     9            - separate functionality into different files (e.g. reboot from
     10              inch.c to reboot.c) which can be overridden by a 'derived' BSP.
     11            - separate initialization code into separate files (e.g.  PCI
     12              bridge detection/initialization was separated from the more
     13              generic PCI access routines), also to make it easier for
     14              'derived' BSPs to substitute their own initialization code.
     15        There are also a couple of enhancements and fixes:
     16            - IRQ handling code now has a hook for attaching a VME bridge.
     17            - OpenPIC is now explicitely initialized (polarities, senses).
    118              Eliminated the implicit assumption on the presence of an ISA PIC.
    219            - UART and console driver now supports more than 1 port. The current
  • c/src/lib/libbsp/powerpc/motorola_powerpc/console/Makefile.am

    r69ed59f r6a4df9f9  
    66VPATH = @srcdir@:@srcdir@/../../shared/console:@srcdir@/../../../shared
    77
    8 C_FILES = polled_io.c uart.c console.c inch.c
     8C_FILES = polled_io.c uart.c console.c inch.c reboot.c
    99C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1010
  • c/src/lib/libbsp/powerpc/motorola_powerpc/pci/Makefile.am

    r69ed59f r6a4df9f9  
    66VPATH = @srcdir@:@srcdir@/../../shared/pci
    77
    8 C_FILES = pci.c
     8C_FILES = pci.c detect_raven_bridge.c pcifinddevice.c
    99C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1010
Note: See TracChangeset for help on using the changeset viewer.