IXP425的BSP代码

源代码在线查看: usrentry.c

软件大小: 23136 K
上传用户: zyb
关键词: IXP 425 BSP 代码
下载地址: 免注册下载 普通下载 VIP

相关代码

				/* usrEntry.c - user entry point for compressed images */								/* Copyright 1984-1998 Wind River Systems, Inc. */								/*				modification history				--------------------				01a,02jun98,ms   written				*/								/*				DESCRIPTION				The routine usrEntry() is the entry point for compressed images.				The decompression stub inflates the main VxWorks code into RAM,				and then jumps to it. This is the entry point (i.e., the first address).				It is important not to add any other routines before this one.				*/								#include "vxWorks.h"				#include "usrConfig.h"								/******************************************************************************				*				* usrEntry - entry point for _romCompress and _rom images.				*/ 								void usrEntry (int startType)				    {				#if     (CPU_FAMILY==I960)				    sysInitAlt (startType);             /* jump to the i960 entry point */				#endif								#if (CPU_FAMILY==MIPS) && __GNUC__				    __asm volatile (".extern _gp,0; la $gp,_gp");				#endif								    usrInit (startType);                /* all others procede below */				    }											

相关资源