各位大虾,小弟是刚开始接触vxworks,现在看bsp的一些代码,但是很多地方很迷糊,现在列一些出来,望各位不吝赐教,多谢了。
1,IMPORT STATUS UNCMP_RTN ();这个IMPORT和 STATUS分别表示什么?
2,IMPORT char etext [];这是个什么东东?
3,#if ((CPU_FAMILY==SPARC) || (CPU_FAMILY==MIPS) || (CPU_FAMILY==I80X86) || \
(CPU_FAMILY==PPC) || (CPU_FAMILY==ARM))
volatile /* to force absolute adressing */
#endif /* (CPU_FAMILY==SPARC) */
FUNCPTR absEntry; /* to avoid PC Relative Jump Subroutine */
#if (CPU_FAMILY==ARM) && (!defined(ROM_RESIDENT)) && !defined(BOOTCODE_IN_RAM)
VOIDFUNCPTR ramfillLongs = fillLongs; /* force call to RAM */
#define fillLongs(a,b,c) ramfillLongs(a,b,c)
#endif /* (CPU_FAMILY==ARM) */
#if (CPU_FAMILY==MC680X0) && !defined(ROM_RESIDENT) && !defined(BOOTCODE_IN_RAM)
volatile VOIDFUNCPTR romcopyLongs = ©Longs; /* force call to ROM */
#define copyLongs romcopyLongs
#endif /* (CPU_FAMILY==MC680X0) */
能不能给小弟来个详细的注解?
不胜感激!!
[align=right][color=#000066][此贴子已经被作者于2005-10-21 11:22:12编辑过][/color][/align]