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

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

?? systffs.c

?? 是關于ARM TFFS文件系統的建立的一些原程序
?? C
?? 第 1 頁 / 共 2 頁
字號:
/* sysTffs.c - Motorola MVME177 system-dependent TrueFFS library *//* 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--------------------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_LV160#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() */#define	FLASH_BASE_ADRS			(0x02000000)#define	FLASH_SIZE		    	(0x00200000)#define FLASH_BOOT_ADRS			(0x02000000)#define	FLASH_BOOT_SIZE		    (0x00000000)/* 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 "tffs/tffsConfig.c"*/#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 ();    }/********************************************************************************* 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";        vol.serialNo = noOfDrives;    if  (noOfDrives == 0)    	vol.window.baseAddress = FLASH_BASE_ADRS >> 12;    else if(noOfDrives == 1)		vol.window.baseAddress = FLASH_BOOT_ADRS >> 12;	noOfDrives++;    /* 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/********************************************************************************* rfaVppOn - turns on Vpp (12 Volts)** This routine turns on Vpp (12 Volts). Vpp must be known to be good on exit.*

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩激情一区二区三区| 欧美三级电影在线观看| 亚洲国产精品影院| 综合久久国产九一剧情麻豆| 中文字幕不卡在线播放| 欧美mv日韩mv国产网站app| 欧美妇女性影城| 欧美一区二区美女| 欧美精品自拍偷拍动漫精品| 欧美精品亚洲二区| 欧美剧情片在线观看| 欧美美女喷水视频| 日韩一级二级三级精品视频| 欧美一区二区三区免费视频| 日韩一区二区在线看片| 欧美一区二区日韩| 久久天堂av综合合色蜜桃网| 国产亚洲欧美日韩在线一区| 中文字幕免费在线观看视频一区| 国产欧美日韩中文久久| 国产精品久久国产精麻豆99网站| 欧美国产精品劲爆| 一级女性全黄久久生活片免费| 亚洲综合在线观看视频| 日韩中文字幕麻豆| 国产乱码精品一区二区三区五月婷 | 一本久久综合亚洲鲁鲁五月天| 91在线视频在线| 欧美写真视频网站| 日韩欧美成人一区二区| 国产无一区二区| 亚洲视频免费观看| 三级一区在线视频先锋| 紧缚捆绑精品一区二区| 99久久伊人久久99| 欧美剧情片在线观看| 久久女同精品一区二区| 一区二区三区日韩精品| 久久精品国产亚洲一区二区三区| 国产黄人亚洲片| 欧美性色黄大片手机版| 亚洲精品一区二区三区四区高清| 国产精品二三区| 蜜桃91丨九色丨蝌蚪91桃色| aaa亚洲精品| 日韩一区国产二区欧美三区| 国产精品无码永久免费888| 亚洲成人av一区二区三区| 韩国欧美国产一区| 在线欧美一区二区| 国产日韩欧美a| 日韩专区中文字幕一区二区| 99精品在线免费| 久久综合久久久久88| 亚洲一区二区在线观看视频 | 日韩视频免费直播| 亚洲综合免费观看高清完整版在线| 免费久久99精品国产| 欧美在线视频日韩| 国产精品国产自产拍在线| 日本大胆欧美人术艺术动态| 91无套直看片红桃| 亚洲国产高清在线观看视频| 精品一区二区三区在线观看 | 在线播放91灌醉迷j高跟美女| 国产午夜精品在线观看| 热久久免费视频| 91福利精品第一导航| 亚洲欧洲精品一区二区三区| 国产麻豆午夜三级精品| 欧美mv日韩mv| 麻豆国产精品一区二区三区 | 欧美精品日韩一区| 亚洲精品中文字幕乱码三区| 成人精品视频.| 欧美国产禁国产网站cc| 国产精品自拍av| 精品国产污污免费网站入口 | 精品国产一二三区| 理论片日本一区| 日韩精品一区二区三区中文不卡| 日韩电影在线一区| 日韩欧美二区三区| 麻豆91精品91久久久的内涵| 欧美一区二区三区在线看| 欧美a级理论片| 精品粉嫩超白一线天av| 精品一区二区三区视频在线观看| 日韩精品一区二区三区三区免费| 蜜桃视频一区二区三区在线观看 | 日韩精品一区二区三区swag| 日韩av中文字幕一区二区| 欧美一级片在线| 国产一区二区三区四区五区入口| 久久久亚洲精品一区二区三区 | 国产精品911| 国产精品丝袜久久久久久app| 成人污污视频在线观看| 亚洲色图一区二区三区| 欧美亚洲精品一区| 男人操女人的视频在线观看欧美| 日韩免费视频一区二区| 国产成人三级在线观看| 亚洲三级在线免费| 欧美一区二区三区白人| 国内精品伊人久久久久av影院| 久久久三级国产网站| 91在线小视频| 免费欧美高清视频| 中文字幕亚洲不卡| 欧美久久久久久久久久| 国产精品综合久久| 亚洲午夜精品久久久久久久久| 欧美一区二区三区电影| caoporn国产一区二区| 亚洲bt欧美bt精品| 国产日韩欧美制服另类| 欧美在线一二三四区| 国产综合色在线| 亚洲一区二区在线视频| 精品国精品国产尤物美女| 色偷偷久久人人79超碰人人澡| 天堂一区二区在线| 久久影院电视剧免费观看| 91色.com| 国产精品一区二区你懂的| 亚洲一区二区三区四区五区中文| 精品免费日韩av| 色丁香久综合在线久综合在线观看| 免费人成网站在线观看欧美高清| 国产精品不卡视频| 精品国产一区二区精华| 欧美亚洲动漫精品| 成人av在线资源网| 久久成人免费网| 亚洲a一区二区| 亚洲免费观看高清完整版在线 | 日韩精品一区二区三区视频播放| 91视频国产资源| 国产激情精品久久久第一区二区 | 日韩精品最新网址| 欧美色综合天天久久综合精品| 福利电影一区二区三区| 久久91精品国产91久久小草| 亚洲6080在线| 亚洲自拍偷拍麻豆| 亚洲日本乱码在线观看| 国产精品色呦呦| 久久久久成人黄色影片| 欧美sm美女调教| 欧美成人video| 日韩片之四级片| 欧美一区二区三区视频| 777xxx欧美| 777午夜精品免费视频| 欧美日韩国产美| 欧美日韩三级一区| 欧美体内she精视频| 欧美性生活影院| 欧美日本在线观看| 欧美一区二区三区系列电影| 欧美高清视频在线高清观看mv色露露十八 | 亚洲自拍欧美精品| 亚洲国产视频在线| 日韩高清在线观看| 久久99精品国产| 国产精品一区不卡| av一区二区三区黑人| 91在线无精精品入口| 色哟哟一区二区三区| 欧美性一级生活| 91精品中文字幕一区二区三区| 欧美丰满嫩嫩电影| 精品久久久久香蕉网| 精品av久久707| 国产精品嫩草影院av蜜臀| 国产精品国产三级国产普通话三级| 国产精品国产精品国产专区不蜜| 亚洲女同女同女同女同女同69| 亚洲精品国产成人久久av盗摄 | 欧美美女视频在线观看| 日韩一级片在线播放| 国产午夜精品一区二区| 中文字幕一区二区三区蜜月| 亚洲午夜一区二区三区| 精品在线播放免费| 99久久er热在这里只有精品15| 欧美私模裸体表演在线观看| 日韩欧美国产1| 中文字幕一区二| 奇米色一区二区| av在线免费不卡| 日韩午夜av一区| 国产精品久久久久国产精品日日| 亚洲图片有声小说| 福利一区福利二区| 91麻豆精品国产91久久久更新时间| 久久人人爽爽爽人久久久| 亚洲一区在线观看免费观看电影高清| 热久久国产精品|