MPC8xx exception handling (or is somebody using 4.5 with MPC8xx)

Peer Stritzinger pstrtems at gmx.net
Sat Aug 19 17:48:07 UTC 2000


HongSong Li wrote:
> 
> Hi,
> Check the file "vectors.S" located at
> "rtems-4.5.0-beta3/c/src/lib/libcpu/powerpc/mpc860"
> directory for detail. It already includes external interrupt and further CPM
> interrupt
> handling routines. But CPM interrupt handler is hard-coded at PPC_IRQ_LVL1
> which requires
> BSP to conform with it(see comments in source code). All the codes will be
> linked to .vectors
> section which defined in "link_cmds" file so as to catch up exceptions.

I've seen this file and decided not to use it, because I need the
feature
that the IRQ handling stub-code is only copied into RAM when I install
the
vectore (like in the
c/src/exec/score/cpu/powerpc/old_exception_processing
code). 

But this code seems to be incomplete, therfore my qeustion.

> ----- Original Message -----
> From: "Peer Stritzinger" <pstrtems at gmx.net>
> To: "RTEMS Users" <rtems-users at oarcorp.com>
> Sent: Wednesday, August 16, 2000 5:17 PM
> Subject: MPC8xx exception handling (or is somebody using 4.5 with MPC8xx)
> 
> > Hi,
> >
> > I'm trying to build a BSP for a MPC850 board using the bare BSP
> > (MPC860) using RTEMS 4.5.0beta3.
> >
> > At the moment I have troubles getting the exception handling to run
> > for the on chip ``external'' interrupts.
> >
> > In the file:
> >
> >
> rtems-4.5.0-beta3/c/src/exec/score/cpu/powerpc/old_exception_processing/cpu.
> c
> >
> > there is support for the on chip interrupt handler irq's that are
> > routed to the external interrupt (at 0x500).  For example when I want
> > to have a handler for the LVL1 irq I can install it at vector
> > PPC_IRQ_LVL1.  This installs a pseudo irq stub but this stub is never
> > called because there is no generic external interrupt handler (that
> > should be installed at 0x500) to reroute the irq to the pseudo stub.
> >
> > Did I miss something?
> >
> > Is anybody using 4.5 with MPC8xx?
> >
> > If yes how are is the on chip interrupt handler used?
> >
> > Peer Stritzinger



More information about the users mailing list