[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can anyone tell me the define of "LABEL" and "mfpc" in irq_stub.S?



Hi,

wow, this was a short posting. maybe a bit too short. It would have
helped if you had written which rtems version you are working on and
which architecture you are interested in.

You can find the definitions in

c/src/lib/libcpu/powerpc/old-exceptions/cpu_asm.S

LABEL is a wrapper to adapt C level identifiers to assembly level labels.

MFPC is a macro to read SRR0 (which holds the previous PC after an
exception).

wkr,
Thomas.


junercb schrieb:
>     
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users


-- 
--------------------------------------------
embedded brains GmbH
Thomas Doerfler           Obere Lagerstr. 30
D-82178 Puchheim          Germany
Tel. : +49-89-18 90 80 79-2
Fax  : +49-89-18 90 80 79-9
email: Thomas.Doerfler at embedded-brains.de
PGP public key available on request