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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? systffs.c

?? INTEL IXP425的VXWORKS BSP
?? C
?? 第 1 頁 / 共 2 頁
字號:

/*******************************************************************************
*
* rfaVccOff - turn off Vcc (3.3/5 Volts)
*
* This routine turns off Vcc (3.3/5 Volts) (PCMCIA). Assumed to be ON 
* constantly in RFA environment.
*
* RETURNS: N/A
*/

LOCAL void rfaVccOff
    (
    FLSocket vol		/* pointer identifying drive */
    )
    {
    }

#ifdef SOCKET_12_VOLTS

/*******************************************************************************
*
* rfaVppOn - turns on Vpp (12 Volts)
*
* This routine turns on Vpp (12 Volts). Vpp must be known to be good on exit.
* Assumed to be ON constantly in RFA environment. This is not optional and 
* must always be implemented. 
*
* RETURNS: flOK always.
*/

LOCAL FLStatus rfaVppOn
    (
    FLSocket vol		/* pointer identifying drive */
    )
    {
    return (flOK);
    }

/*******************************************************************************
*
* rfaVppOff - turns off Vpp (12 Volts)
*
* This routine turns off Vpp (12 Volts). Assumed to be ON constantly 
* in RFA environment.This is not optional and must always be implemented.
*
* RETURNS: N/A
*/

LOCAL void rfaVppOff
    (
    FLSocket vol		/* pointer identifying drive */
    )
    {
    }

#endif	/* SOCKET_12_VOLTS */

/*******************************************************************************
*
* rfaInitSocket - perform all necessary initializations of the socket
*
* This routine performs all necessary initializations of the socket.
*
* RETURNS: flOK always.
*/

    /* TODO: 
     * This function is always board specific.
     * Please set this to your specific needs.
     */

LOCAL FLStatus rfaInitSocket
    (
    FLSocket vol		/* pointer identifying drive */
    )
    {
    return (flOK);
    }

/*******************************************************************************
*
* rfaSetWindow - set current window attributes, base address, size, etc
*
* This routine sets current window hardware attributes: Base address, size,
* speed and bus width.  The requested settings are given in the 'vol.window' 
* structure.  If it is not possible to set the window size requested in
* 'vol.window.size', the window size should be set to a larger value, 
* if possible. In any case, 'vol.window.size' should contain the 
* actual window size (in 4 KB units) on exit.
*
* RETURNS: N/A
*/

    /* TODO: set this to your specific needs */

LOCAL void rfaSetWindow
    (
    FLSocket vol		/* pointer identifying drive */
    )
    {
    /* Physical base as a 4K page */

    vol.window.baseAddress = FLASH_BASE_ADRS >> 12;

    flSetWindowSize (&vol, FLASH_SIZE >> 12);
    }

/*******************************************************************************
*
* rfaSetMappingContext - sets the window mapping register to a card address
*
* This routine sets the window mapping register to a card address.
* The window should be set to the value of 'vol.window.currentPage',
* which is the card address divided by 4 KB. An address over 128MB,
* (page over 32K) specifies an attribute-space address. On entry to this 
* routine vol.window.currentPage is the page already mapped into the window.
* (In otherwords the page that was mapped by the last call to this routine.)
* The page to map is guaranteed to be on a full window-size boundary.
* This is meaningful only in environments that use sliding window mechanism
* to view flash memory, like in PCMCIA. Not common in RFA environments. 
*
* RETURNS: N/A
*/

LOCAL void rfaSetMappingContext
    (
    FLSocket vol,		/* pointer identifying drive */
    unsigned page		/* page to be mapped */
    )
    {
    }

/*******************************************************************************
*
* rfaGetAndClearCardChangeIndicator - return the hardware card-change indicator
*
* This routine returns TRUE if the card has been changed and FALSE if not. It
* also clears the "card-changed" indicator if it has been set.
* Always return FALSE in RFA environments since device is not removable.
*
* RETURNS: FALSE, or TRUE if the card has been changed
*/

LOCAL FLBoolean rfaGetAndClearCardChangeIndicator
    (
    FLSocket vol		/* pointer identifying drive */
    )
    {
    return (FALSE);
    }

/*******************************************************************************
*
* rfaWriteProtected - return the write-protect state of the media
*
* This routine returns the write-protect state of the media
*
* RETURNS: FALSE, or TRUE if the card is write-protected
*/

LOCAL FLBoolean rfaWriteProtected
    (
    FLSocket vol		/* pointer identifying drive */
    )
    {
    return (FALSE);
    }

/*******************************************************************************
*
* flFitInSocketWindow - check whether the flash array fits in the socket window
*
* This routine checks whether the flash array fits in the socket window.
*
* RETURNS: A chip size guaranteed to fit in the socket window.
*/

long int flFitInSocketWindow 
    (
    long int chipSize,		/* size of single physical chip in bytes */
    int      interleaving,	/* flash chip interleaving (1,2,4 etc) */
    long int windowSize		/* socket window size in bytes */
    )
    {
    if (chipSize*interleaving > windowSize) /* doesn't fit in socket window */
        {
        int  roundedSizeBits;

        /* fit chip in the socket window */
        chipSize = windowSize / interleaving;

        /* round chip size at powers of 2 */
        for (roundedSizeBits = 0; (0x1L << roundedSizeBits) <= chipSize;
             roundedSizeBits++)
	    ;

        chipSize = (0x1L << (roundedSizeBits - 1));
        }

    return (chipSize);
    }

/*******************************************************************************
*
* flDelayMsecs - wait for specified number of milliseconds
*
* This routine waits for the specified number of milliseconds.
*
* RETURNS: N/A
*
* NOMANUAL
*/

void flDelayMsecs
    (
    unsigned milliseconds       /* milliseconds to wait */
    )
    {
    UINT32 ix;
    UINT32 iy = 1;
    UINT32 iz = 2;

    /* it doesn't count time consumed in interrupt level */

    for (ix = 0; ix < milliseconds; ix++)
        for (ix = 0; ix < sysTffsMsecLoopCount; ix++)
	    {
	    tickGet ();			/* dummy */
	    iy = KILL_TIME_FUNC;	/* consume time */
	    }
    }

/*******************************************************************************
*
* flDelayLoop - consume the specified time
*
* This routine delays for the specified time.
*
* RETURNS: N/A
*/

void flDelayLoop 
    (
    int  cycles
    )
    {
    while (--cycles)
	;
    }
#if TRUE
/*******************************************************************************
*
* sysTffsFormat - format the flash memory above an offset
*
* This routine formats the flash memory.  Because this function defines 
* the symbolic constant, HALF_FORMAT, the lower half of the specified flash 
* memory is left unformatted.  If the lower half of the flash memory was
* previously formated by TrueFFS, and you are trying to format the upper half,
* you need to erase the lower half of the flash memory before you format the
* upper half.  To do this, you could use:
* .CS
* tffsRawio(0, 3, 0, 8)  
* .CE
* The first argument in the tffsRawio() command shown above is the TrueFFS 
* drive number, 0.  The second argument, 3, is the function number (also 
* known as TFFS_PHYSICAL_ERASE).  The third argument, 0, specifies the unit 
* number of the first erase unit you want to erase.  The fourth argument, 8,
* specifies how many erase units you want to erase.  
*
* RETURNS: OK, or ERROR if it fails.
*/

STATUS sysTffsFormat (void)
    {
    STATUS status;
    tffsDevFormatParams params = 
	{
#define	HALF_FORMAT	/* lower 0.5MB for bootimage, upper 1.5MB for TFFS */
#ifdef	HALF_FORMAT
	{0x800000l, 99, 1, 0x10000l, NULL, {0,0,0,0}, NULL, 2, 0, NULL},
#else
	{0x000000l, 99, 1, 0x10000l, NULL, {0,0,0,0}, NULL, 2, 0, NULL},
#endif	/* HALF_FORMAT */
	FTL_FORMAT_IF_NEEDED
	};

    /* we assume that the drive number 0 is RFA */

    status = tffsDevFormat (0, (int)&params);
    return (status);
    }
#endif /* FALSE */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
aaa欧美大片| 伊人一区二区三区| 国产麻豆视频精品| 国产色综合一区| 成人午夜精品在线| 亚洲欧洲成人精品av97| 99riav久久精品riav| 综合精品久久久| 在线观看www91| 久久精品久久久精品美女| 精品国产免费久久| 成人av资源在线| 亚洲一区二区在线观看视频| 欧美日韩国产综合视频在线观看| 日韩精品91亚洲二区在线观看| 欧美一三区三区四区免费在线看| 激情五月婷婷综合网| 国产欧美综合在线观看第十页| 99国产精品一区| 视频一区视频二区中文| 久久久久久久久久久99999| 国产69精品久久久久777| 亚洲免费电影在线| 日韩丝袜情趣美女图片| 国产成人精品www牛牛影视| 亚洲另类中文字| 精品剧情在线观看| 97久久精品人人澡人人爽| 日韩精品三区四区| 国产精品丝袜91| 欧美肥大bbwbbw高潮| 成人精品视频一区二区三区| 亚洲国产欧美在线| 久久久电影一区二区三区| 欧美日韩中文字幕一区| 国产精品中文有码| 五月综合激情婷婷六月色窝| 国产欧美精品在线观看| 欧美日韩aaaaaa| 99久久精品情趣| 韩国中文字幕2020精品| 亚洲制服丝袜在线| 国产精品久久久久一区| 日韩欧美国产wwwww| 91视频91自| 国产成人一区在线| 日韩avvvv在线播放| 亚洲视频在线一区| 国产亚洲精品aa| 欧美成人精品高清在线播放| 在线观看亚洲a| 成人动漫视频在线| 狠狠久久亚洲欧美| 日韩电影免费在线看| 亚洲精品成人在线| 国产精品美女久久久久久2018| 欧美一级片免费看| 欧美性生活大片视频| 97se亚洲国产综合自在线| 国产麻豆精品久久一二三| 日韩—二三区免费观看av| 亚洲精品第1页| 亚洲欧美日本韩国| 国产精品久久久久永久免费观看| 精品国产91久久久久久久妲己| 欧美高清精品3d| 欧美日韩在线播放三区| 日本精品免费观看高清观看| 成av人片一区二区| 国产成人免费视频网站| 国产丶欧美丶日本不卡视频| 狠狠色综合播放一区二区| 蜜臀av性久久久久av蜜臀妖精| 亚洲小说欧美激情另类| 亚洲国产视频一区| 亚洲成a人v欧美综合天堂下载 | 欧美老女人第四色| 欧美色图12p| 欧美无人高清视频在线观看| 欧美专区在线观看一区| 欧美探花视频资源| 欧美色图片你懂的| 91精品国产一区二区人妖| 欧美狂野另类xxxxoooo| 欧美老女人第四色| 欧美电视剧免费全集观看| 日韩美女视频一区二区在线观看| 欧美一区二区三区免费观看视频| 3d成人动漫网站| 日韩精品一区二区三区四区视频| 日韩欧美一区在线| 久久一二三国产| 国产精品久久久久一区| 亚洲精品va在线观看| 亚洲bt欧美bt精品777| 日本一不卡视频| 国产一区二区精品在线观看| 国产精品正在播放| 色综合av在线| 欧美一区二区三区小说| wwwwxxxxx欧美| 亚洲同性同志一二三专区| 亚洲一区二区三区四区在线| 日韩在线一区二区三区| 国产一区中文字幕| 91福利国产成人精品照片| 欧美日韩国产天堂| 久久综合色婷婷| 伊人婷婷欧美激情| 九色|91porny| www.欧美.com| 欧美一区二区黄色| 欧美国产视频在线| 亚洲成年人网站在线观看| 国产一区二区影院| 色婷婷亚洲一区二区三区| 在线不卡中文字幕| 国产精品美女久久久久高潮| 亚洲电影一级片| 国产福利一区二区三区视频在线 | 91麻豆精品国产91久久久更新时间 | 国产伦精一区二区三区| 91麻豆免费观看| 精品日韩在线一区| 亚洲精品国久久99热| 国产一本一道久久香蕉| 欧美性生活久久| 国产精品久久久久久久第一福利| 同产精品九九九| 91在线视频网址| 久久综合色播五月| 天天综合日日夜夜精品| 成人深夜福利app| 欧美xxxx老人做受| 亚洲午夜av在线| zzijzzij亚洲日本少妇熟睡| 精品国产一区二区三区忘忧草 | 麻豆91在线观看| 色94色欧美sute亚洲线路二| 国产日产欧美一区二区视频| 琪琪久久久久日韩精品| 91麻豆swag| 欧美国产精品一区| 久久不见久久见免费视频7| 在线视频中文字幕一区二区| 国产亚洲精品aa午夜观看| 免费看日韩a级影片| 欧美日韩一区不卡| 亚洲欧美国产77777| 国产成人久久精品77777最新版本| 日韩视频一区二区在线观看| 亚洲自拍偷拍欧美| 色欧美片视频在线观看 | 欧美一级夜夜爽| 日韩电影免费一区| 欧美中文字幕一二三区视频| **网站欧美大片在线观看| 国产高清一区日本| 亚洲国产高清aⅴ视频| 国产精品一区二区你懂的| 欧美成va人片在线观看| 美国十次综合导航| 欧美一区二区三区视频免费播放| 亚洲成人免费观看| 欧美巨大另类极品videosbest | 日韩欧美一区二区三区在线| 日韩av高清在线观看| 日韩一区二区三区免费看| 欧美aaa在线| 欧美一区二区网站| 免费在线观看视频一区| 日韩一区二区精品在线观看| 蜜臀久久99精品久久久久久9| 3d成人h动漫网站入口| 日韩中文字幕av电影| 欧美一区永久视频免费观看| 久久国产麻豆精品| 久久久久久久综合色一本| 韩国理伦片一区二区三区在线播放 | 日本女人一区二区三区| 制服视频三区第一页精品| 青青草精品视频| 久久精品视频一区二区三区| 国产成人激情av| 亚洲伦理在线精品| 欧美亚男人的天堂| 免费成人小视频| 久久久久久久久久久久久女国产乱| 国产不卡视频在线观看| 亚洲欧美在线另类| 精品污污网站免费看| 日韩精品91亚洲二区在线观看| 精品国产乱码久久久久久免费| 国产精品1024| 亚洲精品水蜜桃| 日韩一区二区在线看片| 国产99久久久国产精品免费看| 亚洲人吸女人奶水| 日韩欧美激情一区| av毛片久久久久**hd|