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

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

?? bootinit.c

?? s3c2410的vxworksBSP
?? C
?? 第 1 頁 / 共 2 頁
字號:
     */
    ((FUNCPTR)ROM_OFFSET(copyLongs)) (ROM_TEXT_ADRS, (UINT)K0_TO_K1(romInit),
		ROM_COPY_SIZE / sizeof (long));
#else	/* CPU_FAMILY == MIPS */
    ((FUNCPTR)ROM_OFFSET(copyLongs)) (ROM_TEXT_ADRS, (UINT)romInit,
		ROM_COPY_SIZE / sizeof (long));
#endif	/* CPU_FAMILY == MIPS */

#else	/* UNCOMPRESS */

#if	(CPU_FAMILY == MIPS)
    /*
     * copy text to uncached locations to avoid problems with
     * copy back caches
     * copy the entire data segment because there is no way to ensure that
     * binArray is the last thing in the data segment because of GP relative
     * addressing
     */
    ((FUNCPTR)ROM_OFFSET(copyLongs)) (ROM_TEXT_ADRS, (UINT)K0_TO_K1(romInit),
		((UINT)wrs_kernel_data_end - (UINT)romInit) / sizeof (long));
#else	/* CPU_FAMILY == MIPS */
    ((FUNCPTR)ROM_OFFSET(copyLongs)) (ROM_TEXT_ADRS, (UINT)romInit,
		((UINT)binArrayStart - (UINT)romInit)/ sizeof (long));

    ((FUNCPTR)ROM_OFFSET(copyLongs)) 
           ((UINT *)((UINT)ROM_TEXT_ADRS + ((UINT)BINARRAYEND_ROUNDOFF - 
           (UINT)romInit)), (UINT *)BINARRAYEND_ROUNDOFF, 
           ((UINT)wrs_kernel_data_end - (UINT)binArrayEnd) / sizeof (long));

#if (CPU==XSCALE)
    /* validate coherence, can not assume uncached area... */
    ((FUNCPTR)ROM_OFFSET(checkLongs))
                 (ROM_TEXT_ADRS, (UINT)romInit,
                 ((UINT)binArrayStart - (UINT)romInit) / sizeof (long));

    ((FUNCPTR)ROM_OFFSET(checkLongs))
           ((UINT *)((UINT)ROM_TEXT_ADRS + ((UINT)BINARRAYEND_ROUNDOFF - 
            (UINT)romInit)), (UINT *)BINARRAYEND_ROUNDOFF,
            ((UINT)wrs_kernel_data_end - (UINT)binArrayEnd) / sizeof (long));
#endif
#endif	/* CPU_FAMILY == MIPS */

#endif	/* UNCOMPRESS */
#endif	/* ROM_RESIDENT */


#if	(CPU_FAMILY != MIPS) && (!defined (BOOTCODE_IN_RAM))

    /* clear all memory if cold booting */

    if (startType & BOOT_CLEAR)
	{
#ifdef ROM_RESIDENT
	/* Clear memory not loaded with text & data.
	 *
	 * We are careful about initializing all memory (except
	 * STACK_SAVE bytes) due to parity error generation (on
	 * some hardware) at a later stage.  This is usually
	 * caused by read accesses without initialization.
	 */
	fillLongs ((UINT *)SYS_MEM_BOTTOM,
		((UINT) RESIDENT_DATA - STACK_SAVE - (UINT)SYS_MEM_BOTTOM)
		/ sizeof(long), 0);
	fillLongs (((UINT *) wrs_kernel_data_end),
	((UINT)SYS_MEM_TOP - ((UINT) wrs_kernel_data_end)) / sizeof(long), 0);

#else	/* ROM_RESIDENT */
	fillLongs ((UINT *)(SYS_MEM_BOTTOM),
		((UINT)romInit - STACK_SAVE - (UINT)SYS_MEM_BOTTOM) /
		sizeof(long), 0);

#if     defined (UNCOMPRESS)
	fillLongs ((UINT *)((UINT)romInit + ROM_COPY_SIZE),
		    ((UINT)SYS_MEM_TOP - ((UINT)romInit + ROM_COPY_SIZE))
		    / sizeof(long), 0);
#else
	fillLongs ((UINT *)wrs_kernel_data_end,
		((UINT)SYS_MEM_TOP - (UINT)wrs_kernel_data_end) / sizeof (long), 0);
#endif 	/* UNCOMPRESS */
#endif 	/* ROM_RESIDENT */

	/* 
	 * Ensure the boot line is null. This is necessary for those
	 * targets whose boot line is excluded from cleaning.
	 */

	*(BOOT_LINE_ADRS) = EOS;
	}

#endif	/* (CPU_FAMILY != MIPS) && (!defined (BOOTCODE_IN_RAM)) */

    /* jump to VxWorks entry point (after uncompressing) */

#if	defined (UNCOMPRESS) || defined (ROM_RESIDENT)
#if	(CPU_FAMILY == I960)
    absEntry = (FUNCPTR)sysInitAlt;			/* reinit proc tbl */
#else
    absEntry = (FUNCPTR)usrInit;			/* on to bootConfig */
#endif	/* CPU_FAMILY == I960 */

#else
    {
#if	(CPU_FAMILY == MIPS)
    volatile FUNCPTR absUncompress = (FUNCPTR) UNCMP_RTN;
    if ((absUncompress) ((UCHAR *)ROM_OFFSET(binArrayStart),
			 (UCHAR *)K0_TO_K1(RAM_DST_ADRS),
			 (int)((UINT)binArrayEnd - (UINT)binArrayStart)) != OK)
#elif	(CPU_FAMILY == I80X86) || (CPU_FAMILY == ARM)
    volatile FUNCPTR absUncompress = (FUNCPTR) UNCMP_RTN;
    if ((absUncompress) ((UCHAR *)ROM_OFFSET(binArrayStart),
	            (UCHAR *)RAM_DST_ADRS, binArrayEnd - binArrayStart) != OK)
#else
    if (UNCMP_RTN ((UCHAR *)ROM_OFFSET(binArrayStart),
	            (UCHAR *)RAM_DST_ADRS, binArrayEnd - binArrayStart) != OK)
#endif	/* (CPU_FAMILY == MIPS) */
	return;		/* if we return then ROM's will halt */

    absEntry = (FUNCPTR)RAM_DST_ADRS;			/* compressedEntry () */
    }
#endif	/* defined UNCOMPRESS || defined ROM_RESIDENT */

#if	((CPU_FAMILY == ARM) && ARM_THUMB)
    absEntry = (FUNCPTR)((UINT32)absEntry | 1);		/* force Thumb state */
#endif	/* CPU_FAMILY == ARM */

       (absEntry) (startType);
    }

#if     (CPU_FAMILY==ARM) && (!defined(ROM_RESIDENT))
#undef fillLongs
#endif  /* (CPU_FAMILY==ARM) */


#if (CPU_FAMILY==MC680X0) && !defined(ROM_RESIDENT) && !defined(BOOTCODE_IN_RAM)
#undef copyLongs	/* undo effects from above define */
#endif /* CPU_FAMILY==MC680X0 */

/*******************************************************************************
*
* copyLongs - copy one buffer to another a long at a time
*
* This routine copies the first <nlongs> longs from <source> to <destination>.
*/

LOCAL void copyLongs (source, destination, nlongs)
    FAST UINT *source;		/* pointer to source buffer      */
    FAST UINT *destination;	/* pointer to destination buffer */
    UINT nlongs;		/* number of longs to copy       */

    {
    FAST UINT *dstend = destination + nlongs;
    FAST UINT nchunks;

    /* Hop by chunks of longs, for speed. */
    for (nchunks = nlongs / 8; nchunks; --nchunks)
	{
#if (CPU_FAMILY == MC680X0)
	*destination++ = *source++;	/* 0 */
	*destination++ = *source++;	/* 1 */
	*destination++ = *source++;	/* 2 */
	*destination++ = *source++;	/* 3 */
	*destination++ = *source++;	/* 4 */
	*destination++ = *source++;	/* 5 */
	*destination++ = *source++;	/* 6 */
	*destination++ = *source++;	/* 7 */
#else
	destination[0] = source[0];
	destination[1] = source[1];
	destination[2] = source[2];
	destination[3] = source[3];
	destination[4] = source[4];
	destination[5] = source[5];
	destination[6] = source[6];
	destination[7] = source[7];
	destination += 8, source += 8;
#endif /* CPU_FAMILY == MC680X0 */
	}

    /* Do the remainder one long at a time. */
    while (destination < dstend)
	*destination++ = *source++;
    }

#ifndef	BOOTCODE_IN_RAM
/*******************************************************************************
*
* fillLongs - fill a buffer with a value a long at a time
*
* This routine fills the first <nlongs> longs of the buffer with <val>.
*/

LOCAL void fillLongs (buf, nlongs, val)
    FAST UINT *buf;	/* pointer to buffer              */
    UINT nlongs;	/* number of longs to fill        */
    FAST UINT val;	/* char with which to fill buffer */

    {
    FAST UINT *bufend = buf + nlongs;
    FAST UINT nchunks;

    /* Hop by chunks of longs, for speed. */
    for (nchunks = nlongs / 8; nchunks; --nchunks)
	{
#if (CPU_FAMILY == MC680X0)
	*buf++ = val;	/* 0 */
	*buf++ = val;	/* 1 */
	*buf++ = val;	/* 2 */
	*buf++ = val;	/* 3 */
	*buf++ = val;	/* 4 */
	*buf++ = val;	/* 5 */
	*buf++ = val;	/* 6 */
	*buf++ = val;	/* 7 */
#else
	buf[0] = val;
	buf[1] = val;
	buf[2] = val;
	buf[3] = val;
	buf[4] = val;
	buf[5] = val;
	buf[6] = val;
	buf[7] = val;
	buf += 8;
#endif /* CPU_FAMILY == MC680X0 */
	}

    /* Do the remainder one long at a time. */
    while (buf < bufend)
	*buf++ = val;
    }
#endif	/* BOOTCODE_IN_RAM */

#if (CPU==XSCALE)
int checkLongs (source, destination, nlongs)
    FAST UINT *source;          /* pointer to source buffer      */
    FAST UINT *destination;     /* pointer to destination buffer */
    UINT nlongs;                /* number of longs to copy       */

    {
    int fine = 1;

    FAST UINT *dstend = destination + nlongs;

    while (destination < dstend)
        {
        if (*destination++ != *source++)
            {
            fine = 0;
            break;
            }
        }
    return fine;
    }
#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
eeuss鲁片一区二区三区在线观看| 岛国一区二区三区| 国产成人精品在线看| 色婷婷综合久色| 精品免费视频.| 午夜视频在线观看一区| 99久久免费视频.com| 精品99999| 天天操天天色综合| 欧美优质美女网站| 国产精品久久久久三级| 国内偷窥港台综合视频在线播放| 91高清视频在线| 17c精品麻豆一区二区免费| 精一区二区三区| 欧美麻豆精品久久久久久| 日韩毛片视频在线看| 国产成人在线色| 久久夜色精品国产欧美乱极品| 首页亚洲欧美制服丝腿| 在线免费观看不卡av| 中文字幕亚洲一区二区av在线| 激情成人午夜视频| 日韩一级片网址| 喷水一区二区三区| 欧美二区乱c少妇| 三级亚洲高清视频| 在线精品视频免费播放| 亚洲人精品午夜| 99久久国产综合精品女不卡| 欧美国产精品专区| 波多野结衣在线aⅴ中文字幕不卡| 日韩精品一区二区三区四区视频| 天堂久久一区二区三区| 欧美另类z0zxhd电影| 亚洲国产精品久久久久秋霞影院 | 中文字幕亚洲成人| 国产99久久久精品| 中文字幕一区二区三区在线不卡| av激情综合网| 樱花影视一区二区| 欧美三级一区二区| 日韩精品1区2区3区| 久久欧美一区二区| 国产成人精品亚洲午夜麻豆| 久久精品人人爽人人爽| 国产一区二区h| 国产欧美日韩视频一区二区| 国产成人av一区二区| 亚洲色图色小说| 欧美午夜理伦三级在线观看| 亚洲一区二区在线播放相泽| 在线不卡中文字幕播放| 六月丁香婷婷色狠狠久久| www国产精品av| 高清成人免费视频| 亚洲高清免费视频| 久久综合资源网| 91在线你懂得| 麻豆国产91在线播放| 久久久精品综合| 一本到三区不卡视频| 日本中文在线一区| 国产日韩三级在线| 欧美色国产精品| 国产精品一区在线观看乱码| 亚洲免费看黄网站| 欧美一区二区三区的| 成人一二三区视频| 日韩成人午夜电影| 国产精品女同一区二区三区| 欧美性猛片xxxx免费看久爱| 麻豆精品在线看| 亚洲精品成人天堂一二三| 日韩视频在线观看一区二区| av日韩在线网站| 韩日欧美一区二区三区| 国产很黄免费观看久久| 亚洲电影中文字幕在线观看| 国产亚洲视频系列| 欧美日本一道本| 91蜜桃视频在线| 国产一区二区网址| 亚洲国产va精品久久久不卡综合| 欧美极品美女视频| 日韩亚洲欧美中文三级| 91国偷自产一区二区开放时间 | 精品免费一区二区三区| 在线国产亚洲欧美| 不卡电影免费在线播放一区| 激情五月播播久久久精品| 一级日本不卡的影视| 国产天堂亚洲国产碰碰| 精品少妇一区二区三区视频免付费 | 午夜亚洲福利老司机| 欧美激情资源网| 精品乱码亚洲一区二区不卡| 欧洲精品视频在线观看| bt7086福利一区国产| 国产超碰在线一区| 国模冰冰炮一区二区| 日本在线不卡视频| 午夜久久久久久电影| 樱花草国产18久久久久| 亚洲天堂免费在线观看视频| 国产亚洲va综合人人澡精品| 日韩免费视频一区二区| 欧美一级一区二区| 91精品国产综合久久婷婷香蕉| 在线观看一区二区视频| 色视频一区二区| 在线视频你懂得一区| 色综合色狠狠天天综合色| 97se狠狠狠综合亚洲狠狠| 97久久精品人人做人人爽| www.亚洲在线| 91视频在线观看| 一本大道综合伊人精品热热| av成人动漫在线观看| 精品久久久久久最新网址| 日韩一区二区精品葵司在线| 欧美一区二区三区精品| 欧美成人三级电影在线| 精品福利一区二区三区| 久久久久一区二区三区四区| 久久久久久夜精品精品免费| 久久久国产午夜精品| 国产亲近乱来精品视频| 中文成人综合网| 亚洲美女区一区| 丝袜美腿亚洲一区| 久久99精品久久久久婷婷| 精品亚洲成av人在线观看| 懂色av一区二区在线播放| 成人黄色大片在线观看| 色婷婷精品大视频在线蜜桃视频| 欧美性色黄大片| 精品理论电影在线观看| 国产精品免费网站在线观看| 亚洲欧美日韩国产一区二区三区| 亚洲一区二区三区在线播放| 麻豆精品视频在线观看视频| 国产成人在线观看免费网站| 99精品久久久久久| 欧美高清一级片在线| 日韩欧美二区三区| 国产精品国产三级国产| 亚洲国产综合91精品麻豆| 久久超碰97中文字幕| 波多野结衣91| 日韩午夜三级在线| 中文字幕永久在线不卡| 丝袜国产日韩另类美女| 国产mv日韩mv欧美| 欧美精品九九99久久| 国产欧美一区二区精品性色 | 蜜桃视频一区二区三区| 成人黄色在线视频| 在线播放欧美女士性生活| 日本一区二区三区四区| 亚洲国产精品影院| 成人网页在线观看| 3d成人动漫网站| 自拍av一区二区三区| 国产一区在线精品| 欧美日韩高清一区二区三区| 国产欧美精品在线观看| 日韩高清一级片| 91在线视频免费观看| 久久综合色8888| 午夜精品久久久久久| 北岛玲一区二区三区四区| 精品欧美一区二区久久 | 国产精品久久夜| 久久国产精品99久久久久久老狼| 日本韩国一区二区| 国产精品你懂的在线欣赏| 精彩视频一区二区三区 | 欧美日韩一区二区不卡| 国产精品成人一区二区艾草 | 亚洲第一成人在线| av午夜一区麻豆| 国产欧美日本一区视频| 激情偷乱视频一区二区三区| 欧美日韩国产片| 一区二区三区电影在线播| 成人爽a毛片一区二区免费| 日韩一区二区三区视频| 午夜精品福利一区二区三区av| 91香蕉视频污在线| 国产精品久久久久久久久免费相片| 久久99精品网久久| 日韩午夜电影在线观看| 美腿丝袜一区二区三区| 欧美一区二区三区喷汁尤物| 日日摸夜夜添夜夜添精品视频| 在线精品视频一区二区三四| 一区二区三区在线不卡| 色综合激情久久| 亚洲一区二区在线观看视频|