亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? bootinit.c

?? vxworks 下ARM 2510的BSP
?? C
?? 第 1 頁 / 共 2 頁
字號:
/* bootInit.c - ROM initialization module *//* Copyright 1989-2002 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history--------------------05h,26mar02,sbs  correcting data section relocation for ROM compressed images                 (SPR 73785)05g,19mar02,dat  Removing previous fix for MIPS, no longer needed (72825)05f,18jan02,dat  Don't use loop unrolling for MIPS05f,22jan02,scm  Xscale specific validation added to update cache (to match                 updates...)05e,19dec01,aeg  prevented pc-relative addressing on MC680X0.05d,10dec01,sbs  Corrected conditions around call to copyLongs for ROM                  resident images.05c,27nov01,sbs  Added new labels, wrs_kernel_data_start and wrs_kernel_data_end                 for sdata and edata respectively. Added second copy for data 		 section of compressed ROM images. Corrected definition for                  binArrayEnd. Corrected definition for RESIDENT_DATA.05b,27nov01,tpw  Manually unroll copyLongs and fillLongs.05a,25oct01,pad  Removed definitions of _binArrayStart and _binArrayEnd, now                 unnecessary.04z,03oct01,dee  Merge from ColdFire T2.1.0 release04y,11jan01,scm  Xscale specific validation added to update cache, can not assume uncached area....04x,10jun99,jpd  fix error when BOOTCODE_IN_RAM defined (SPR #27775).04w,13nov98,cdp  make Thumb support for ARM CPUs dependent on ARM_THUMB.04w,10feb99,db   Fix to ensure that default bootline gets copied for		 standalone and rom-resident images(SPR #21763).04v,05oct98,jmp  doc: cleanup.04u,17apr98,cdp  backed out 04t and made absEntry volatile for ARM.04t,16apr98,cdp  for ARM, make UNCOMPRESS entry point in RAM.04s,20mar98,cdp  make ROM_COPY_SIZE subject to #ifndef.04r,11nov97,cdp  ARM7TDMI_T: force romStart to call entry point in Thumb state.		 (SPR# 9716)04q,14jul97,tam  changed remaining references to bfillLong to fillLong. 04p,12feb97,dat  Added USER_RESERVED_MEM, SYS_MEM_TOP, SYS_MEM_BOTTOM, SPR 803004o,04feb97,ms   fixed compiler warning about protoype for bcopyLongs.04o,28nov96,cdp  added ARM support.04n,03sep96,hdn  added the compression support for pc[34]86 BSP.04m,19aug96,ms   added UNCMP_RTN macro to use inflate instead of uncompress04l,21jun96,jmb  long modhist -- deleted entries prior to 1994.  SPR #652803k,10jun96,tam  added rom resident support for PPC architecture. 03j,14may96,dat  fixed compiler warnings for copyLongs, fillLongs. SPR #653603i,06mar96,tpr  changed absEntry to be volatile for PowerPC.03h,22aug95,hdn  added support for I80X86.03g,14mar95,caf  restored mips resident rom support (SPR #3856).03f,16feb95,jdi  doc format change.03f,23may95,yao  define binArrayStart and binArrayEnd for PowerPC		 because tools don't prepend "_".03e,09dec94,caf  undid mod 03a, use sdata for resident roms (SPR #3856).03d,22jun94,caf  undid 16-byte alignment portion of mod 03c, below.03c,14jun94,cd   corrected definitions of etext, edata and end.	   +caf  for R4000 resident ROMs: data starts on 16-byte boundary.		 for R4000 uncompressed ROMs: added volatile to absEntry type.*//*DESCRIPTIONThis module provides a generic boot ROM facility.  The target-specificromInit.s module performs the minimal preliminary board initialization andthen jumps to the C routine romStart().  This routine, still executing outof ROM, copies the first stage of the startup code to a RAM address andjumps to it.  The next stage clears memory and then uncompresses theremainder of ROM into the final VxWorks ROM image in RAM.A modified version of the Public Domain \f3zlib\fP library is used touncompress the VxWorks boot ROM executable linked with it.  Compressingobject code typically achieves over 55% compression, permitting muchlarger systems to be burned into ROM.  The only expense is the added fewseconds delay while the first two stages complete.ROM AND RAM MEMORY LAYOUTExample memory layout for a 1-megabyte board:.CS    --------------  0x00100000 = LOCAL_MEM_SIZE = sysMemTop()    |            |    |    RAM     |    |  0 filled  |    |            |    |------------| = (romInit+ROM_COPY_SIZE) or binArrayStart    | ROM image  |    |----------- |  0x00090000  = RAM_HIGH_ADRS    | STACK_SAVE |    |------------|    |            |  0x00080000  = 0.5 Megabytes    |            |    |            |    | 0 filled   |    |            |    |            |  0x00001000  = RAM_ADRS & RAM_LOW_ADRS    |            |    |            |  exc vectors, bp anchor, exc msg, bootline    |            |    |            |    --------------  0x00000000  = LOCAL_MEM_LOCAL_ADRS.CE.CS    --------------    |    ROM     |    |            |  0xff8xxxxx  = binArrayStart    |            |    |            |  0xff800008  = ROM_TEXT_ADRS    --------------  0xff800000  = ROM_BASE_ADRS.CESEE ALSO:inflate(), romInit(), and deflateAUTHORThe original compression software for zlib was written by Jean-loup Gaillyand Mark Adler. See the manual pages of inflate and deflate formore information on their freely available compression software.*/#include "vxWorks.h"#include "sysLib.h"#include "config.h"#include "errno.h"#include "sioLib.h"#define	UNCMP_RTN	inflate#ifndef USER_RESERVED_MEM#   define USER_RESERVED_MEM 0#endif/* * If memory is to be cleared, it will be cleared from SYS_MEM_BOTTOM * up to (but not including) SYS_MEM_TOP, except for text and data segments. * The user reserved area is not cleared. */#define	SYS_MEM_TOP \	(LOCAL_MEM_LOCAL_ADRS + LOCAL_MEM_SIZE - USER_RESERVED_MEM)#define SYS_MEM_BOTTOM \	(LOCAL_MEM_LOCAL_ADRS + RESERVED)#define BINARRAYEND_ROUNDOFF	(ROUND_DOWN(binArrayEnd, sizeof(long))) IMPORT void	romInit ();IMPORT STATUS	UNCMP_RTN ();IMPORT void	usrInit ();IMPORT void	sysInitAlt ();IMPORT void	start ();IMPORT UCHAR	binArrayStart [];	/* compressed binary image */IMPORT UCHAR	binArrayEnd [];		/* end of compressed binary image */IMPORT char	etext [];		/* defined by the loader */IMPORT char	end [];			/* defined by the loader */IMPORT UCHAR	wrs_kernel_data_start [];  /* defined by the loader */IMPORT UCHAR	wrs_kernel_data_end [];    /* defined by the loader */#if	((CPU_FAMILY == MIPS) || (CPU_FAMILY==PPC) || \	 (CPU_FAMILY==COLDFIRE))#define	RESIDENT_DATA	RAM_DST_ADRS#else#define	RESIDENT_DATA 	wrs_kernel_data_start	#endif#ifndef RAM_DST_ADRS                	/* default uncompress dest. */#define RAM_DST_ADRS        RAM_HIGH_ADRS#endif/* If the boot code is in RAM and the RAM is already initialized, * clearing the RAM is not necessary.  Macro BOOTCODE_IN_RAM is * used not to clear the RAM. */#ifdef	BOOTCODE_IN_RAM			/* not to clear RAM */#undef	ROM_TEXT_ADRS#undef	ROM_BASE_ADRS#define	ROM_TEXT_ADRS	((UINT)romInit)#define	ROM_BASE_ADRS	((UINT)romInit)#endif	/* BOOTCODE_IN_RAM *//* #if	defined (UNCOMPRESS) || defined (ROM_RESIDENT) */#ifndef ROM_COPY_SIZE#define	ROM_COPY_SIZE	(ROM_SIZE - (ROM_TEXT_ADRS - ROM_BASE_ADRS))#endif/* #endif*/	/* UNCOMPRESS */#define ROM_OFFSET(adr)	(((UINT)adr - (UINT)romInit) + ROM_TEXT_ADRS)/* forward declarations */LOCAL void copyLongs (FAST UINT *source, FAST UINT *destination, UINT nlongs);#ifndef	BOOTCODE_IN_RAMLOCAL void fillLongs (FAST UINT *buf, UINT nlongs, FAST UINT val);#endif	/* BOOTCODE_IN_RAM */#if (CPU==XSCALE)int checkLongs (FAST UINT *source, FAST UINT *destination, UINT nlongs);#endif/********************************************************************************* romStart - generic ROM initialization** This is the first C code executed after reset.** This routine is called by the assembly start-up code in romInit().* It clears memory, copies ROM to RAM, and possibly invokes the uncompressor.* It then jumps to the entry point of the uncompressed object code.** RETURNS: N/A*/void romStart    (    FAST int startType		/* start type */    )    {#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 = &copyLongs;  /* force call to ROM */#define copyLongs romcopyLongs#endif /* (CPU_FAMILY==MC680X0) */    /*     * Copy from ROM to RAM, minus the compressed image     * if compressed boot ROM which relies on binArray     * appearing last in DATA segment.     */#ifdef ROM_RESIDENT    /* If ROM resident code, then copy only data segment     * from ROM to RAM, initialize memory and jump     * to usrInit.     */    #if  (CPU_FAMILY == SPARC)    copyLongs ((UINT *)(etext + 8), (UINT *) RESIDENT_DATA,#else    copyLongs ((UINT *)etext, (UINT *) RESIDENT_DATA,#endif        ((UINT) wrs_kernel_data_end - (UINT) RESIDENT_DATA) / sizeof (long));#else	/* ROM_RESIDENT */#ifdef UNCOMPRESS#if	(CPU_FAMILY == MIPS)    /*     * copy text to uncached locations to avoid problems with     * copy back caches

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区视频导航| 亚洲一级电影视频| 日韩精品在线网站| 欧美一区二区视频网站| 欧美日本乱大交xxxxx| 欧美日韩国产中文| 51精品国自产在线| 91精品国产综合久久福利| 欧美精品久久99| 884aa四虎影成人精品一区| 欧美日韩精品欧美日韩精品一 | 欧美猛男gaygay网站| 欧洲精品在线观看| 欧美午夜电影在线播放| 欧美高清视频不卡网| 欧美xxxxxxxx| 欧美国产日韩a欧美在线观看| 国产欧美日韩另类视频免费观看| 欧美国产国产综合| 亚洲人成网站在线| 丝袜a∨在线一区二区三区不卡| 午夜欧美电影在线观看| 奇米影视一区二区三区| 国内成人自拍视频| 高清视频一区二区| av高清不卡在线| 337p亚洲精品色噜噜噜| 久久久久久久免费视频了| 亚洲欧洲另类国产综合| 亚洲h精品动漫在线观看| 久久国产精品99精品国产| 国产精品91一区二区| 91天堂素人约啪| 久久美女艺术照精彩视频福利播放| 久久综合中文字幕| 亚洲综合一区二区| 国产一区二区伦理片| 91丨国产丨九色丨pron| 日韩欧美国产小视频| 国产精品成人免费在线| 另类欧美日韩国产在线| 91在线观看视频| 精品成人一区二区三区四区| 亚洲人成7777| 国产精品亚洲一区二区三区在线| 日本久久电影网| 26uuu成人网一区二区三区| 亚洲综合清纯丝袜自拍| 国产精品亚洲视频| 欧美一区二区日韩一区二区| 亚洲色图.com| 国产精品99久久久久久有的能看| 欧美色图一区二区三区| 国产精品视频在线看| 另类成人小视频在线| 欧美在线不卡视频| 中文字幕一区二区在线播放 | 国内精品伊人久久久久av一坑 | 国产一区二区福利视频| 在线视频综合导航| 国产精品成人免费| 丁香天五香天堂综合| 精品三级在线观看| 成人app网站| 2021中文字幕一区亚洲| 视频一区视频二区在线观看| 色综合久久综合网97色综合| 国产欧美日韩亚州综合| 激情伊人五月天久久综合| 5858s免费视频成人| 亚洲国产成人tv| 欧美视频在线不卡| 一区二区三区在线观看视频| 99在线视频精品| 亚洲三级久久久| aaa欧美日韩| 亚洲欧洲中文日韩久久av乱码| 大陆成人av片| 中文字幕一区视频| 91香蕉视频在线| 亚洲手机成人高清视频| 色综合久久综合网欧美综合网| 亚洲欧美综合在线精品| 99精品久久久久久| 夜夜嗨av一区二区三区四季av| 色8久久精品久久久久久蜜| 一区二区三区中文字幕在线观看| 91丨九色porny丨蝌蚪| 一区二区三区四区不卡视频| 欧美性一二三区| 秋霞电影网一区二区| 日韩精品一区二区三区swag| 国内精品免费在线观看| 国产亚洲精久久久久久| k8久久久一区二区三区| 亚洲精品一二三| 制服.丝袜.亚洲.另类.中文| 久草中文综合在线| 欧美高清在线一区二区| 91小视频在线观看| 奇米精品一区二区三区在线观看一| 日韩美女在线视频| 成人黄色网址在线观看| 亚洲黄色小说网站| 精品国产一区二区三区久久影院| 成人精品一区二区三区中文字幕| 一区二区在线观看视频在线观看| 制服丝袜在线91| 91黄色免费版| 美女视频黄久久| 国产偷国产偷精品高清尤物| 日本韩国一区二区三区| 久久精品国产亚洲5555| 综合婷婷亚洲小说| 日韩欧美国产精品| 99视频精品免费视频| 日韩不卡一区二区三区| 国产精品久久久久aaaa樱花| 91麻豆精品国产91久久久更新时间 | 一区二区三区在线免费视频| 日韩视频一区在线观看| 99久久精品免费看| 精品一区二区三区免费视频| 亚洲久本草在线中文字幕| 26uuu精品一区二区| 欧美在线免费播放| 成人看片黄a免费看在线| 免费精品视频最新在线| 亚洲美女区一区| 久久精品日韩一区二区三区| 欧美日韩高清不卡| 在线免费精品视频| 成人亚洲一区二区一| 国内精品免费**视频| 三级亚洲高清视频| 亚洲精选在线视频| 国产精品国产三级国产| 久久综合给合久久狠狠狠97色69| 欧美日韩精品电影| 在线免费亚洲电影| 91网站在线播放| 成人va在线观看| 国产精品一二三四| 国产一区不卡在线| 狠狠色丁香婷婷综合| 免费一级片91| 视频一区视频二区在线观看| 亚洲综合在线电影| 一区二区三区精品| 一区二区三区鲁丝不卡| 亚洲欧美电影一区二区| 国产精品女人毛片| 中文字幕二三区不卡| 久久亚洲精精品中文字幕早川悠里 | 在线成人小视频| 欧美在线观看视频一区二区三区| 成人av小说网| 91在线porny国产在线看| 成人深夜视频在线观看| 99综合电影在线视频| 91国产丝袜在线播放| 欧美性生活一区| 欧美日韩免费视频| 这里只有精品视频在线观看| 日韩一级二级三级精品视频| 欧美成人aa大片| 欧美激情一区二区三区不卡| 国产精品日日摸夜夜摸av| 国产精品国产三级国产aⅴ入口| 中文字幕日韩精品一区| 亚洲在线一区二区三区| 日本麻豆一区二区三区视频| 国产综合久久久久久鬼色| 国产精品99久久久久久久女警| 成人三级伦理片| 欧美在线不卡视频| 精品国产一区二区国模嫣然| 欧美国产一区视频在线观看| 亚洲欧美国产高清| 日本不卡一区二区三区高清视频| 蜜桃视频在线观看一区二区| 制服丝袜在线91| 国产欧美日韩另类视频免费观看| 亚洲日本va午夜在线影院| 午夜激情一区二区三区| 精品一区二区在线视频| 99久久久免费精品国产一区二区| 欧美日韩中文国产| 久久亚洲欧美国产精品乐播 | 日本精品一区二区三区四区的功能| 欧美日韩色一区| 国产亚洲欧洲997久久综合| 亚洲欧美精品午睡沙发| 美国十次综合导航| 99在线精品一区二区三区| 欧美日韩午夜精品| 欧美激情在线免费观看| 日本成人在线一区| 色素色在线综合| 久久免费国产精品|