⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 usrentry.c

📁 IXP425的BSP代码
💻 C
字号:
/* usrEntry.c - user entry point for compressed images *//* Copyright 1984-1998 Wind River Systems, Inc. *//*modification history--------------------01a,02jun98,ms   written*//*DESCRIPTIONThe 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 */    }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -