PowerPC: new_exceptions status

Thomas Doerfler Thomas.Doerfler at imd-systems.de
Thu Jun 23 17:04:39 UTC 2005


Hello Nickolay,

the two exception handling schemes are definitively a problem for
portable drivers (and everything in libchip).

Attached you will find a patch that is not nice, but it works at least
for powerpc BSPs (or at least one BSP :-)) This patch is aganst
rtems-4.6.2, but should work with other versions aswell.

wkr,
Thomas.

Nickolay Kolchin schrieb:
> Hello,
> 
> It looks like new_exceptions model in current RTEMS CVS tree is a stub
> and don't work in reality. The problem is in _CPU_ISR_install_vector
> definitions (/c/src/lib/libbsp/powerpc/new-exceptions/cpu.c)
> 
> void _CPU_ISR_install_vector(
>   uint32_t    vector,
>   proc_ptr    new_handler,
>   proc_ptr   *old_handler 
> ) 
> {
>   BSP_panic("_CPU_ISR_install_vector called\n");
> }
> 
> This mean that rtems_interrupt_catch function don't work and it is
> used in ATA driver (/c/src/libchip/ide/ata.c).
> 
> Can somebody clarify what is current status of new_exceptions
> interface in PowerPC and what should be used instead of
> rtems_interrupt_catch?
> 
> --
> Nickolay


-- 
--------------------------------------------
IMD Ingenieurbuero fuer Microcomputertechnik
Thomas Doerfler           Herbststrasse 8
D-82178 Puchheim          Germany
email:    Thomas.Doerfler at imd-systems.de
PGP public key available at:
     http://www.imd-systems.de/pgp_keys.html
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ata.c.new-exception-handling.diff
URL: <http://lists.rtems.org/pipermail/users/attachments/20050623/9b892f93/attachment.ksh>


More information about the users mailing list