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

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
FRAME(_CPU_Context_restore_fp,sp,0,ra)
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
cpu_asm.s?

2.What kind of function is needed to implemented in the cpu_asm.s?

Thanks.

ye mao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rtems.rtems.org/pipermail/rtems-users/attachments/20070623/058d7b7b/attachment.html