[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Using smc91111.c on powerpc and libchip/network questions
- Date: Thu, 03 Sep 2009 13:15:24 +0200
- From: sebastian.huber at embedded-brains.de (Sebastian Huber)
- Subject: Using smc91111.c on powerpc and libchip/network questions
Peter Dufault wrote:
>
> On Sep 3, 2009, at 3:09 , Sebastian Huber wrote:
>
>> This is already cleaned up (the mpc55xx was the first BSP that uses
>> this, it is
>> required here due to the nearly 400 interrupt sources):
>
> I found this yesterday. This is based on the work Til provides in
> c/src/lib/libcpu/powerpc/new-exceptions/bspsupport, correct? I was
> comparing the BSP Makefile.am file with what Til says to do in his
> README and I think your changes supersede his recommendations. Maybe an
> addition to his README to reference your work is in order.
>
> Peter
The exception and interrupt handling are two completely different things here.
On PowerPC the external exception (among other types) handler code resides in
c/src/lib/libcpu/powerpc/new-exceptions. Here are the prologues and epilogues
that deal with the different exception types. The interrupt support stuff in
c/src/lib/libbsp/shared deals with the specific interrupt sources that cause an
external exception.
--
Sebastian Huber, embedded brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine gesch?ftliche Mitteilung im Sinne des EHUG.