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

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

?? bootinit.c

?? tornado開發 三星s3c44b0x開發板 bsp
?? C
?? 第 1 頁 / 共 2 頁
字號:
/* bootInit.c - ROM initialization module *//* Copyright 2004-2005 Amine@263.net *//* Copyright 1989-2002 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history--------------------01o,23jul04,a_m  BSP定制 for 思創S3C44B0X黃金開發板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.     */  rPDATE  = 0x1FF;      /*060828*/  rPCONE  = 0x029;      /*0x5569*/ /* ARMCORE V1.0 GPE0->運行燈 */  rPUPE   = 0x0;  rPDATE &= ~(0x01);	/*ARMCORE V1.0 運行燈控制*/#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

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美高清视频在线高清观看mv色露露十八| 国产v日产∨综合v精品视频| 精品久久久久久久久久久久久久久 | 日韩精品五月天| 欧美日韩在线观看一区二区 | 奇米色777欧美一区二区| 欧美精品 国产精品| 国产精品影音先锋| 中文字幕一区二区视频| 欧美日韩精品欧美日韩精品一综合| 亚洲国产另类精品专区| 久久综合九色综合欧美98| 高清日韩电视剧大全免费| 成人欧美一区二区三区黑人麻豆| 91麻豆高清视频| 免费观看一级特黄欧美大片| 日本一区二区三区高清不卡| 欧美乱妇23p| 91蝌蚪porny九色| 国产一区二区在线观看免费| 亚洲一二三四在线| 久久久影视传媒| 日韩一区二区在线观看视频播放| av电影在线观看一区| 国产精品996| 经典三级一区二区| 另类欧美日韩国产在线| 图片区小说区国产精品视频| 亚洲少妇中出一区| 亚洲视频1区2区| 一区二区三区波多野结衣在线观看| 精品国产乱码久久久久久老虎| 欧美自拍丝袜亚洲| 欧美中文字幕不卡| 91福利在线看| 欧美高清dvd| 欧美一级夜夜爽| 精品国产露脸精彩对白 | 欧美日本在线播放| 欧美精选午夜久久久乱码6080| 欧美人伦禁忌dvd放荡欲情| 欧美图区在线视频| 精品日韩欧美一区二区| 精品88久久久久88久久久| 久久久蜜臀国产一区二区| 亚洲国产精品传媒在线观看| 国产精品久久久久一区二区三区共| 久久精品亚洲精品国产欧美 | 亚洲男人都懂的| 亚洲国产中文字幕在线视频综合| 午夜影院在线观看欧美| 毛片不卡一区二区| 成人av小说网| 日韩一区二区电影在线| 日韩电影一区二区三区四区| 亚洲欧美一区二区视频| 老司机精品视频导航| 成人av在线网| 日韩欧美视频一区| 一区二区三区四区不卡视频| 国内精品在线播放| 欧美色图天堂网| 国产精品丝袜91| 精品中文字幕一区二区| 91蜜桃在线观看| 中文一区在线播放| 久久不见久久见中文字幕免费| 色综合久久综合网欧美综合网| 日韩视频在线永久播放| 一区二区三区国产精华| 粉嫩av一区二区三区在线播放 | 欧美色图片你懂的| 亚洲精品高清在线观看| av电影一区二区| 中文字幕av免费专区久久| 国产成人亚洲精品青草天美| www欧美成人18+| 国产精品99久久久久久久女警 | 蜜臀av亚洲一区中文字幕| 欧美性色黄大片| 天堂av在线一区| 日韩欧美123| 成人免费av在线| 亚洲人精品一区| 欧美日韩国产大片| 国内外精品视频| 亚洲国产成人私人影院tom| av中文一区二区三区| 亚洲欧洲综合另类| 欧美日韩一区二区在线观看视频| 亚洲成年人影院| 久久久噜噜噜久久中文字幕色伊伊 | 国产亚洲成年网址在线观看| 不卡在线观看av| 日本亚洲欧美天堂免费| 久久精品视频一区| 欧美日韩国产中文| 成人午夜av电影| 美女视频黄 久久| 中文字幕一区二区三区不卡| 欧美猛男gaygay网站| 国产乱码精品一区二区三 | 午夜av一区二区三区| 精品久久久久久无| 欧美高清www午色夜在线视频| 国产不卡在线一区| 国内外成人在线| 奇米888四色在线精品| 亚洲黄色片在线观看| 亚洲国产成人午夜在线一区| 4438x成人网最大色成网站| 色综合天天综合网天天看片| 国产综合色产在线精品| 日韩二区三区四区| 婷婷综合久久一区二区三区| 欧美丝袜自拍制服另类| 亚洲卡通动漫在线| 日韩免费观看高清完整版| 欧美日韩国产大片| 91麻豆精品国产自产在线观看一区| 一本大道久久a久久综合婷婷| 国产精品一卡二卡| 99久久国产综合精品色伊| 白白色 亚洲乱淫| 国产精品一二三| 成人性视频免费网站| 成人性生交大合| 色婷婷综合久色| 欧美精品aⅴ在线视频| 欧美日韩一级黄| 欧美精品一区二区三区在线 | 国产一区二区按摩在线观看| 国产大陆亚洲精品国产| www.亚洲免费av| 91精品国产综合久久久久久久| 欧美一区二区三区日韩视频| 精品久久久久久综合日本欧美| 久久久久国产精品人| 国产精品剧情在线亚洲| 蜜桃视频在线观看一区| caoporm超碰国产精品| 91精品国产入口| 国产精品欧美一区二区三区| 日韩成人精品视频| 日本高清不卡视频| 国产午夜精品一区二区三区四区 | 亚洲高清免费观看高清完整版在线观看| 亚洲一区二区高清| 成人av在线播放网站| 欧美精品一区二区不卡| 亚洲自拍偷拍欧美| jlzzjlzz亚洲日本少妇| 精品久久久久久久久久久院品网 | 一二三四区精品视频| 国模娜娜一区二区三区| 制服丝袜亚洲色图| 午夜伊人狠狠久久| 欧美怡红院视频| 亚洲精品欧美在线| 色成年激情久久综合| 一区二区三区在线视频播放| 国产精品1区2区3区| 欧美国产综合色视频| 成人自拍视频在线观看| 久久久国产精华| 高清不卡一区二区| 中文字幕欧美三区| 7777精品久久久大香线蕉| 日韩主播视频在线| 欧美一级夜夜爽| 国产91露脸合集magnet| 国产精品久久久久三级| 成人性色生活片| 亚洲嫩草精品久久| 欧美一区二区在线免费播放| 国产一区二区三区免费播放 | 欧美一区二区久久久| 精品一区二区三区蜜桃| 欧美国产综合一区二区| 欧美中文字幕一区二区三区 | 国产精品久久久久影视| 精品视频在线免费看| 国产一区二区三区电影在线观看| ●精品国产综合乱码久久久久| 精品粉嫩aⅴ一区二区三区四区| 日韩欧美国产一区二区三区 | 91精品久久久久久久99蜜桃| 国产福利一区二区三区视频在线| 亚洲欧美国产毛片在线| 欧美电影免费提供在线观看| 91美女精品福利| 成人小视频免费在线观看| 日韩黄色免费电影| 一区二区久久久久久| 国产精品天干天干在观线| 日韩欧美一二区| 欧美福利一区二区| 欧美老肥妇做.爰bbww| 色综合天天狠狠| 色综合一区二区三区|