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

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

?? systffs.c

?? tornado開發 三星s3c44b0x開發板 bsp
?? C
?? 第 1 頁 / 共 2 頁
字號:
/* sysTffs.c - Motorola MVME177 system-dependent TrueFFS library *//* Copyright 2004-2005 Amine@263.net *//* Copyright 1984-1997 Wind River Systems, Inc. */#include "copyright_wrs.h"/* FAT-FTL Lite Software Development Kit * Copyright (C) M-Systems Ltd. 1995-1996	*//*modification history--------------------01o,29jul04,a_m  BSP定制 for 思創S3C44B0X黃金開發板01j,31may99,yp  Added comments suggested in SPR #2531901i,21apr98,yp   added tffs to files included from there01h,11mar98,yp   made including tffsConfig.c conditional so man page                 generation does not include it.01g,09mar99,kbw  made man page edits to fix problems found by QE01f,02jan98,yp   doc cleanup 01e,18dec97,hdn  added comment.  cleaned up.01d,05dec97,hdn  added tffsSocket[].  cleaned up.01c,11nov97,hdn  fixed typo.01b,05nov97,hdn  cleaned up.01a,09oct97,and  written by Andray in M-Systems*//*DESCRIPTIONThis library provides board-specific hardware access routines for TrueFFS.  In effect, these routines comprise the socket component driver (or drivers)for your flash device hardware.  At socket registration time, TrueFFS stores pointers to the functions of this socket component driver in an 'FLSocket' structure.  When TrueFFS needs to access the flash device, it uses these functions.  Because this file is, for the most part, a device driver that exports its functionality by registering function pointers with TrueFFS, very few of the functions defined here are externally callable.  For the record, these external functions are flFitInSocketWindow() and flDelayLoop().  You should never have any need to call these functions.  However, one of the most import functions defined in this file is neitherreferenced in an 'FLSocket' structure, nor is it externally callable.  Thisfunction is sysTffsInit().  TrueFFS calls this function at initialization time to register socket component drivers for all the flash devices attached to your target.  It is this call to sysTffs() that results in assigning drive numbers to the flash devices on your target hardware.  Drive numbers are assigned by the order in which the socket component drivers are registered.The first to be registered is drive 0, the second is drive 1, and so on up to 4.  As shipped, TrueFFS supports up to five flash drives.  After registering socket component drivers for a flash device, you may format the flash medium even though there is not yet a block device driverassociated with the flash (see the reference entry for the tffsDevCreate() routine).  To format the flash medium for use with TrueFFS, call tffsDevFormat() or, for some BSPs, sysTffsFormat().  The sysTffsFormat() routine is an optional but BSP-specific externally callable helper function.  Internally, it calls tffsDevFormat() with a pointer to a 'FormatParams' structure initialized to values that leave a space on the flash device for a boot image. This space is outside the region managed by TrueFFS.  This special region is necessary for boot images because the normal translation and wear-leveling services of TrueFFS are incompatible with the needs of the boot program and the boot image it relies upon.  To write a boot image (or any other data) into this area, use tffsBootImagePut().  Finally, this file also contains define statements for symbolic constants that determine which MTDs, translation layer modules, and other utilities are ultimately included in TrueFFS.  These defines are as follows:.IP "INCLUDE_TL_NFTL"To include the NAND-based translation layer module..IP "INCLUDE_TL_FTL"To include the NOR-based translation layer module..IP "INCLUDE_TL_SSFDC"To include the SSFDC-appropriate translation layer module..IP "INCLUDE_MTD_I28F016"For Intel 28f016 flash devices..IP "INCLUDE_MTD_I28F008"For Intel 28f008 flash devices..IP "INCLUDE_MTD_I28F008_BAJA"For Intel 28f008 flash devices on the Heurikon Baja 4700..IP "INCLUDE_MTD_AMD"For AMD, Fujitsu: 29F0{40,80,16} 8-bit flash devices..IP "INCLUDE_MTD_CDSN"For Toshiba, Samsung: NAND CDSN flash devices..IP "INCLUDE_MTD_DOC2"For Toshiba, Samsung: NAND DOC flash devices..IP "INCLUDE_MTD_CFISCS"For CFI/SCS flash devices..IP "INCLUDE_MTD_WAMD"For AMD, Fujitsu 29F0{40,80,16} 16-bit flash devices..IP "INCLUDE_TFFS_BOOT_IMAGE"To include tffsBootImagePut() in TrueFFS for Tornado..LPTo exclude any of the modules mentioned above, edit sysTffs.c and undefineits associated symbolic constant.INCLUDE FILES: flsocket.h, tffsDrv.hSEE ALSO : tffsDrv tffsConfig*/#include "vxWorks.h"#include "config.h"#include "tffs/flsocket.h"#include "tffs/tffsDrv.h"/* defines */#define INCLUDE_MTD_SST39VF160	/* Amine: sst39vf160 */#undef	INCLUDE_MTD_I28F016		/* Intel: 28f016 */#undef	INCLUDE_MTD_I28F008		/* Intel: 28f008 */#undef	INCLUDE_MTD_AMD			/* AMD, Fujitsu: 29f0{40,80,16} 8bit */#undef	INCLUDE_MTD_CDSN		/* Toshiba, Samsung: NAND, CDSN */#undef	INCLUDE_MTD_DOC2		/* Toshiba, Samsung: NAND, DOC */#undef	INCLUDE_MTD_CFISCS		/* CFI/SCS */#undef	INCLUDE_MTD_WAMD		/* AMD, Fujitsu: 29f0{40,80,16} 16bit */#undef	INCLUDE_TL_NFTL			/* NFTL translation layer */#define	INCLUDE_TL_FTL			/* FTL translation layer */#undef	INCLUDE_TL_SSFDC		/* SSFDC translation layer */#undef  INCLUDE_TFFS_BOOT_IMAGE		/* include tffsBootImagePut() *//*通mtd.c中的定義一致*/#if(BOARD_TYPE == BOARD_ARMEPS) /*ARMCORE V1.0*/#define	FLASH_BASE_ADRS		0x2000000#define	FLASH_SIZE			0x0400000#else#define	FLASH_BASE_ADRS		ROM_SIZE#define	FLASH_SIZE		(0x00200000-ROM_SIZE)#endif/* locals *//* forward declarations */LOCAL void		rfaWriteProtect (void);LOCAL void		rfaWriteEnable (void);LOCAL FLBoolean		rfaCardDetected (FLSocket vol);LOCAL void		rfaVccOn (FLSocket vol);LOCAL void		rfaVccOff (FLSocket vol);#ifdef	SOCKET_12_VOLTSLOCAL FLStatus		rfaVppOn (FLSocket vol);LOCAL void		rfaVppOff (FLSocket vol);#endif	/* SOCKET_12_VOLTS */LOCAL FLBoolean		rfaGetAndClearCardChangeIndicator (FLSocket vol);LOCAL FLBoolean		rfaWriteProtected (FLSocket vol);LOCAL void		rfaSetWindow (FLSocket vol);LOCAL void		rfaSetMappingContext (FLSocket vol, unsigned page);LOCAL FLStatus		rfaSocketInit (FLSocket vol);LOCAL FLStatus		rfaRegister (void);#ifndef DOC#include "tffsConfig.c"#endif /* DOC *//********************************************************************************* sysTffsInit - board-level initialization for TrueFFS** This routine calls the socket registration routines for the socket component* drivers that will be used with this BSP. The order of registration determines* the logical drive number given to the drive associated with the socket.** RETURNS: N/A*/LOCAL void sysTffsInit (void)    {    rfaRegister ();    }/********************************************************************************* rfaRegister - registration routine for the RFA on MVME177** This routine populates the 'vol' structure for a logical drive with the* socket component driver routines for the RFA on the MVME177 board. All* socket routines are referanced through the 'vol' structure and never * from here directly** RETURNS: flOK, or flTooManyComponents if there're too many drives*/LOCAL FLStatus rfaRegister (void)    {    FLSocket vol = flSocketOf (noOfDrives);    if (noOfDrives >= DRIVES)        return (flTooManyComponents);    tffsSocket[noOfDrives] = "RFA";    noOfDrives++;    vol.serialNo = 0;    vol.window.baseAddress = FLASH_BASE_ADRS >> 12;    /* fill in function pointers */    vol.cardDetected      = rfaCardDetected;    vol.VccOn             = rfaVccOn;    vol.VccOff            = rfaVccOff;#ifdef SOCKET_12_VOLTS    vol.VppOn             = rfaVppOn;    vol.VppOff            = rfaVppOff;#endif    vol.initSocket        = rfaSocketInit;    vol.setWindow         = rfaSetWindow;    vol.setMappingContext = rfaSetMappingContext;    vol.getAndClearCardChangeIndicator =                          rfaGetAndClearCardChangeIndicator;    vol.writeProtected    = rfaWriteProtected;    return (flOK);    }/********************************************************************************* rfaCardDetected - detect if a card is present (inserted)** This routine detects if a card is present (inserted).** RETURNS: TRUE, or FALSE if the card is not present.*/LOCAL FLBoolean rfaCardDetected    (    FLSocket vol    )    {    return (TRUE);    }/********************************************************************************* rfaVccOn - turn on Vcc (3.3/5 Volts)** This routine turns on Vcc (3.3/5 Volts).  Vcc must be known to be good* on exit.** RETURNS: N/A*/LOCAL void rfaVccOn     (    FLSocket vol    )    {    rfaWriteEnable ();    }/********************************************************************************* rfaVccOff - turn off Vcc (3.3/5 Volts)** This routine turns off Vcc (3.3/5 Volts). ** RETURNS: N/A*/LOCAL void rfaVccOff     (    FLSocket vol    )    {    rfaWriteProtect ();    }#ifdef SOCKET_12_VOLTS/********************************************************************************

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产成人免费在线观看不卡| 久久久久久久久久久久电影 | 青青草精品视频| 日本一区二区成人在线| 国产久卡久卡久卡久卡视频精品| 日本人妖一区二区| 欧美一区二区啪啪| 欧美午夜理伦三级在线观看| 99久久精品国产一区二区三区| 福利一区在线观看| 91在线一区二区| 在线观看一区不卡| 欧美一卡二卡三卡| 久久久噜噜噜久久中文字幕色伊伊 | 欧美在线视频全部完| 久久99久久精品欧美| 北条麻妃一区二区三区| 91麻豆国产精品久久| 欧美日韩国产高清一区二区三区| 在线观看亚洲一区| 欧美一卡2卡3卡4卡| 久久久www成人免费毛片麻豆| 国产精品丝袜久久久久久app| 亚洲天天做日日做天天谢日日欢 | 97久久超碰国产精品电影| 91麻豆成人久久精品二区三区| 欧美日本一区二区| 久久精品视频一区| 亚洲福利视频三区| 国产一区二区调教| 欧美婷婷六月丁香综合色| 国产无遮挡一区二区三区毛片日本| 亚洲婷婷国产精品电影人久久| 91网上在线视频| 精品国产伦一区二区三区免费| 亚洲黄色录像片| 欧美色国产精品| 99在线精品免费| 欧美日韩国产经典色站一区二区三区| 久久机这里只有精品| 不卡的av在线| 日韩一区二区免费在线电影| 国产精品网友自拍| 蜜桃久久av一区| 色婷婷久久一区二区三区麻豆| 欧美电影免费观看高清完整版| 国产精品卡一卡二| 另类综合日韩欧美亚洲| 91福利视频在线| 国产情人综合久久777777| 日韩中文字幕不卡| 在线中文字幕一区二区| 久久嫩草精品久久久久| 亚洲国产精品久久不卡毛片| 北条麻妃国产九九精品视频| 欧美精品一区二区三区一线天视频| 亚洲激情在线播放| 成人在线一区二区三区| 精品国产a毛片| 青青草原综合久久大伊人精品| 色综合天天综合在线视频| 久久影视一区二区| 日韩成人免费看| 欧美精品日韩精品| 一区二区三区精品久久久| www.在线成人| 中文字幕免费观看一区| 久久精品国产999大香线蕉| 欧美久久久久久蜜桃| 亚洲不卡一区二区三区| 99久久国产综合精品女不卡| 国产色一区二区| 国产福利一区在线观看| 久久亚洲一区二区三区四区| 久久精品噜噜噜成人av农村| 91精品国产综合久久福利| 日韩av在线免费观看不卡| 欧美另类videos死尸| 五月天激情小说综合| 欧美放荡的少妇| 亚洲成人综合视频| 555www色欧美视频| 人禽交欧美网站| 精品国产3级a| 国v精品久久久网| 一区免费观看视频| 欧美午夜片在线看| 日韩av电影免费观看高清完整版 | 欧美日韩中文国产| 日韩精品91亚洲二区在线观看| 91精品国产色综合久久不卡蜜臀 | 91丨porny丨在线| 亚洲欧美一区二区久久| 欧美天堂一区二区三区| 丝袜a∨在线一区二区三区不卡| 欧美精品一二三| 美脚の诱脚舐め脚责91| 欧美国产日韩精品免费观看| 一本到高清视频免费精品| 中文字幕不卡一区| 成人伦理片在线| 久久久精品免费网站| 国产乱一区二区| 亚洲欧美日韩国产手机在线| 一本一本大道香蕉久在线精品| 亚洲一区二区四区蜜桃| 欧美www视频| 波多野结衣亚洲一区| 亚洲一区影音先锋| 精品国产1区二区| 色先锋aa成人| 激情综合亚洲精品| 一区二区三区免费网站| 91精品国产黑色紧身裤美女| 成人免费av网站| 亚洲成人动漫一区| 欧美国产日韩一二三区| 在线播放视频一区| www.亚洲色图.com| 六月丁香婷婷久久| 亚洲一区二区三区激情| 欧美激情在线免费观看| 日韩一区二区三区在线视频| 91美女在线视频| 国产黄人亚洲片| 免费成人美女在线观看| 亚洲综合在线视频| 国产农村妇女精品| 欧美xxxxx裸体时装秀| 欧美中文字幕不卡| 91同城在线观看| 国产超碰在线一区| 国内成人免费视频| 免费成人美女在线观看.| 国产精品一区二区久久不卡 | 欧美日韩二区三区| 色视频一区二区| 99久久久久免费精品国产 | 综合电影一区二区三区| 久久综合成人精品亚洲另类欧美 | 色中色一区二区| 成人午夜免费av| 高清不卡一二三区| 国产露脸91国语对白| 国产精品一区免费视频| 久久99精品久久只有精品| 免费成人你懂的| 免费看日韩a级影片| 蜜桃精品在线观看| 日本美女一区二区三区视频| 亚洲成a人片综合在线| 亚洲国产精品久久一线不卡| 夜色激情一区二区| 亚洲综合色噜噜狠狠| 亚洲在线成人精品| 亚洲一区二区三区中文字幕在线| 樱花草国产18久久久久| 亚洲女爱视频在线| 亚洲成人你懂的| 免费在线观看成人| 国产伦精品一区二区三区在线观看| 六月丁香婷婷色狠狠久久| 国产伦精品一区二区三区视频青涩| 韩国午夜理伦三级不卡影院| 国产成人av影院| 不卡的av在线播放| 色乱码一区二区三区88| 日本韩国一区二区三区视频| 欧美色大人视频| 日韩一区二区高清| 国产欧美日韩在线看| 亚洲女人的天堂| 日本欧美一区二区三区乱码| 国产河南妇女毛片精品久久久| 欧美电影免费观看高清完整版在线观看| 6080午夜不卡| 精品国产成人在线影院| 国产精品精品国产色婷婷| 一区二区三区精品| 精品在线播放免费| 93久久精品日日躁夜夜躁欧美| 欧美色视频在线观看| 亚洲精品一区二区三区蜜桃下载 | 成人午夜在线播放| 欧美日韩一区二区三区视频| 欧美xxxxx牲另类人与| 国产精品国产三级国产普通话三级| 亚洲午夜激情网页| 国产乱码一区二区三区| 日本精品视频一区二区| 26uuu国产日韩综合| 亚洲一区二区偷拍精品| 国产精品99久久久久久似苏梦涵| 欧洲国产伦久久久久久久| 精品裸体舞一区二区三区| 亚洲少妇30p| 国产乱子伦一区二区三区国色天香| 色国产精品一区在线观看| wwww国产精品欧美| 日韩电影在线一区二区三区|