PowerPC Exceptions: Raw Exception API

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Dec 17 09:23:32 UTC 2008


Hi,

the current PowerPC Exception API is defined in:

c/src/lib/libcpu/powerpc/new-exceptions/raw_exceptions.h

In has the capability to invoke special on and off functions whenever a
handler is connected or disconnected.  Unfortunately this requires non
constant memory space.  Currently a static table is used and it demands
896 Bytes.  This is to much for systems with a small memory.

The features of this API are not used.  The API is used in

c/src/lib/libbsp/powerpc/shared/irq/irq.c

This file is deprecated.  See

c/src/lib/libbsp/powerpc/shared/irq/README.deprecated

We should consider to remove these files in the CVS HEAD.

BSPs that use the API to install exception handler code:

  o score603e
  o mpc8260ads
  o mbx8xx

It should be easy to modify them if the API changes.  I want to remove
the existing API and replace it with something that requires no non
constant memory.  It will allow the installation of exception handlers
based on the existing category infrastructure.

-- 
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.



More information about the users mailing list