About the use cpu_asm.s

Ray xr at trasin.net
Sat Jun 23 07:44:06 UTC 2007

From: mao ye
Date: 2007-06-23 01:34:00
To:   rtems-users at rtems.org
Sub:  About the use cpu_asm.s

>>I note some of function are implemented in the cpu_asm.s.
>But I do not know how they can be use in other places.
>Such as:
>in the cpu_asm.s
>and in some .c file it can be used.
>1,But in such .c file I can not find include"cpu_asm.s",how can the GCC know
>the _CPU_Context_restore_fp used in the .c file is implemented in the

.global/.globl makes the symbol visible to linker

>2.What kind of function is needed to implemented in the cpu_asm.s?
Contex switch related normally

>ye mao
>rtems-users mailing list
>rtems-users at rtems.com

Thanks & Best Regards!

More information about the users mailing list