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

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

?? yaffs_direct.html

?? 嵌入式linux yaffs文件系統(tǒng)源代碼
?? HTML
字號(hào):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"><HTML><HEAD>	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1">	<TITLE></TITLE>	<META NAME="GENERATOR" CONTENT="StarOffice/5.2 (Linux)">	<META NAME="AUTHOR" CONTENT=" ">	<META NAME="CREATED" CONTENT="20021129;9042700">	<META NAME="CHANGEDBY" CONTENT=" ">	<META NAME="CHANGED" CONTENT="20030121;16011900"></HEAD><BODY><H1>YAFFS Direct Interface (YDI)</H1><H2>Now hear this!</H2><P>YAFFS code is GPL. The YAFFS Direct Interface(YDI) is reallyintended to provide a direct interface to YAFFS in an embedded/RTOSenvironment. Using YAFFS in this way might violate GPL. Aleph One arelooking at ways to make YAFFS licensing more flexible to support bothGPL and YDI users. For further info, please contact Aleph One.</P><H3>Purpose</H3><P>The purpose of the YAFFS Direct Interface is to provide YAFFS toembedded/RTOS environments where full file system support is notavailable. Typically, therefore, YDI is intended for smaller embeddedsystems.</P><H3>Software Modules</H3><P>The software is designed in a modular fashion to facilitateintegration and configuration.</P><P>The software comprises the following main sections:</P><UL>	<LI><P>yaffscfg.c Configuration. Set up various device features etc	and some OS integration (eg. locking function). Allows tuning.</P>	<LI><P>yaffsfs.c: File system interface functions (and associated	header file for inclusion in application code). 	</P>	<LI><P>yaffs_flashif.c NAND integration functions (to be completed	by the integrator) This currently holds a second ramdisk for test	purposes.</P>	<LI><P>yaffs_guts.c: The file system algorithms for yaffs.</P>	<LI><P>nand_ecc.c: The ECC algorithms.</P>	<LI><P>yaffs_ramdisk.c: RAMdisk support code.</P>	<LI><P>yaffs_fileem.c: Flash emulation on a host file. This is for	testing purposes only.</P>	<LI><P>dtest.c: Test harness functions.</P></UL><P><BR><BR></P><H2>General Notes</H2><H3>Licensing</H3><P>The YAFFS file system is GPL.</P><P>The YAFFS bootloader and header files are LGPL to allowincorporation of these into proprietary code.</P><P>nand_ecc.c, copyright SJ Hill, is LGPL.</P><H3>File names</H3><P>Multiple partitions are defined by setting up the partition tablein yaffscfg.c.</P><P>The system has no concept of current directory, therefore allnames and paths must be fully specified. eg. &quot;/boot/xxx&quot;</P><P>Names are case sensitive. </P><P>The divider between path elements is '/'. eg &quot;/ram/dir/file&quot;.</P><H3>Permissions and attributes</H3><P>The following permissions are supported in mode: S_IREAD,S_IWRITE.</P><P>The following opening modes are checked: O_RDONLY, O_WRONLY,O_RDWR, O_EXCL.</P><P>Times are just flat 32-bit numbers. The meaning of these numbersis OS dependent and is defined by completing the funbctiuonyaffsfs_CurrentTime() in yaffscfg.c</P><P>Attributes are stored as a 32-bit unsigned value. Some of theseare reserved. Others are used transparently (and may be used foradditional information by the application). Reserved are:</P><UL>	<LI><P>S_IREAD, S_IWRITE.</P>	<LI><P>S_IFMT, the file type bit-field for S_IFREG, S_IFDIR and	S_IFLNK.</P></UL><P><BR><BR></P><H3>Threading</H3><P>All yaffs routines are thread safe when called through thespecified interface.</P><P>All yaffs routines are controlled by a single lockingmutex/semaphore by defining yaffsfs_Lock() and yaffsfs_Unlock() inyaffscfg.c. </P><P>Thus, only one thread is able to execute yaffs functions at atime. Most yaffs functions execute quickly, so this generally not alimitation.</P><H3>Compilation Configuration</H3><P>Configuration is done in four places: </P><UL>	<LI><P>yaffscfg.c: OS specific functions</P>	<LI><P>yaffscfg.h: Preferably only change YAFFSFS_N_HANDLES, the	number of files that can be simultaneously opened.</P>	<LI><P>yportenv.h: Preferably do not change this.</P>	<LI><P>Compile options. The valid compile options for the YAFFS	direct interface are:</P>	<LI><P>CONFIG_YAFFS_DIRECT must be enabled to use the direct	interface.</P>	<LI><P>CONFIG_YAFFS_SHORT_NAMES_IN_RAM define to enable short name	caching. This is suggested in cases unless RAM is very limited.</P></UL><H3>Device Configuration</H3><P>The device configuration table is set up in yaffscfg.c andspecifies what devices are in the system. The order is importantsince this is the order that is used when searching forfiles/directories and provides the &quot;switch&quot; mechanism tosupport multiple &quot;mount points&quot;</P><P>The device configuration has the form:</P><P STYLE="margin-left: 2cm"><FONT FACE="Courier, monospace">struct {<BR>const char *prefix;<BR>yaffs_Device *dev;<BR>};</FONT></P><P>eg.</P><P STYLE="margin-left: 2cm"><FONT FACE="Courier, monospace">{<BR>{&quot;/ram&quot;,ramDevice},<BR>{&quot;/boot&quot;,bootDevice},<BR>{&quot;/flash&quot;,flashDevice},<BR>{NULL,NULL}<BR>}</FONT></P><P>Note that multiple yaffs_Devices can share a single physical NANDdevice by &quot;partitioning&quot;. Thus, for instance, /boot and/data may be on the same physical device, just with non-overlappingregions.</P><P>Different properties may be attached to the different yaffs_Deviceentries. For example note that the RAM disk is set up with differentNANDECC flags.</P><H4>API Notes</H4><P>int yaffs_open(const char *path, int oflag, int mode) ;</P><P>Supported flags O_CREAT, O_EXCL, O_TRUNC, O_APPEND, O_RDONLY,O_RDWR, O_WRONLY.</P><P>int yaffs_read(int fd, void *buf, unsigned int nbyte) ;</P><P>int yaffs_write(int fd, const void *buf, unsigned int nbyte) ;</P><P>int yaffs_close(int fd) ;</P><P>off_t yaffs_lseek(int fd, off_t offset, int whence) ;</P><P>int yaffs_unlink(const char *path) ;</P><P>int yaffs_rename(const char *old, const char *new) ;</P><P>int yaffs_stat(const char *path, struct stat *buf) ;</P><P>int yaffs_lstat(const char *path, struct stat *buf) ;</P><P>int yaffs_fstat(int fd, struct, struct stat *buf) ;</P><P>int yaffs_chmod(const char *path, mode_t mode) ;</P><P>int yaffs_fchmod(int fd, struct, mode_t mode) ;</P><P>int yaffs_mkdir(const char *path, mode_t mode) ;</P><P>int yaffs_rmdir(const char *path) ;</P><P>yaffs_DIR *yaffs_opendir(const char *dirname) ;</P><P>struct yaffs_dirent *yaffs_readdir(yaffs_DIR *dirp) ;</P><P>void yaffs_rewinddir(yaffs_DIR *dirp) ;</P><P>int yaffs_closedir(yaffs_DIR *dirp) ;</P><P>int yaffs_mount(const char *path) ;</P><P>int yaffs_unmount(const char *path) ;</P><P>int yaffs_symlink(const char *oldpath, const char *newpath); </P><P>int yaffs_readlink(const char *path, char *buf, size_t bufsiz); </P><P>int yaffs_link(const char *oldpath, const char *newpath); </P><P>int yaffs_mknod(const char *pathname, mode_t mode, dev_t dev);</P><P>off_t yaffs_freespace(const char *path);</P><H3><BR><BR></H3><P>$Id: yaffs_direct.html,v 1.1 2003/01/21 03:34:12 charles Exp $</P><P><BR><BR></P></BODY></HTML>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩高清在线电影| 久久夜色精品国产噜噜av| 欧美极品xxx| 国产高清一区日本| 久久久久综合网| 国产传媒欧美日韩成人| 亚洲国产高清不卡| 日本高清视频一区二区| 一级精品视频在线观看宜春院 | 亚洲国产中文字幕| 欧美日韩中字一区| 秋霞成人午夜伦在线观看| 日韩免费高清av| 国产高清不卡一区二区| 亚洲婷婷综合色高清在线| 91福利资源站| 美女在线视频一区| 欧美韩日一区二区三区四区| 色婷婷综合久色| 免费看精品久久片| 国产人伦精品一区二区| 色婷婷国产精品| 蜜桃视频在线观看一区二区| 国产婷婷一区二区| 欧美专区日韩专区| 久久爱另类一区二区小说| 亚洲欧洲一区二区三区| 91超碰这里只有精品国产| 国产大陆a不卡| 亚洲国产婷婷综合在线精品| 久久色视频免费观看| 色悠久久久久综合欧美99| 奇米影视在线99精品| 国产精品色眯眯| 欧美一区在线视频| 成人av网站免费| 麻豆成人av在线| 亚洲精品免费在线| 久久精品一区二区三区四区| 精品视频在线免费| 成人国产一区二区三区精品| 免费三级欧美电影| 亚洲日本乱码在线观看| 精品国产污网站| 欧美体内she精高潮| 国产69精品久久99不卡| 强制捆绑调教一区二区| 亚洲精品高清在线| 国产欧美一区二区三区沐欲| 3751色影院一区二区三区| 一本久久综合亚洲鲁鲁五月天| 久久国产福利国产秒拍| 亚洲一卡二卡三卡四卡无卡久久| 久久久www成人免费无遮挡大片| 欧美日本在线播放| 色综合久久久久综合体桃花网| 国产精品综合在线视频| 三级欧美韩日大片在线看| 亚洲免费大片在线观看| 欧美激情中文字幕| 久久久久久久av麻豆果冻| 欧美一区二区网站| 欧美色欧美亚洲另类二区| 91丨九色porny丨蝌蚪| 国产在线精品不卡| 美女免费视频一区二区| 亚洲高清免费视频| 亚洲午夜精品一区二区三区他趣| 国产精品福利在线播放| 国产色产综合色产在线视频| 欧美v日韩v国产v| 日韩午夜激情av| 91精品国产乱| 日韩三级精品电影久久久| 欧美美女黄视频| 欧美剧情片在线观看| 欧美日韩在线直播| 欧美视频日韩视频| 欧美日韩一区二区三区视频| 在线观看亚洲精品| 欧美偷拍一区二区| 538prom精品视频线放| 911国产精品| 日韩欧美电影在线| 欧美不卡一二三| 久久九九久精品国产免费直播| 久久精品亚洲一区二区三区浴池| 久久九九99视频| 国产精品国模大尺度视频| 中文字幕综合网| 一区二区三区欧美日| 午夜欧美2019年伦理| 日韩成人精品在线观看| 国产一区欧美二区| 成人手机在线视频| 色噜噜狠狠色综合中国| 欧美日韩你懂的| 欧美电影免费观看高清完整版在线观看| 日韩一区二区中文字幕| 久久亚洲二区三区| 中文字幕佐山爱一区二区免费| 亚洲一级片在线观看| 狂野欧美性猛交blacked| 国产精品亚洲人在线观看| av在线免费不卡| 欧美三级电影网站| 精品久久国产97色综合| 亚洲欧洲成人自拍| 亚洲第一成人在线| 国产在线播放一区三区四| 99在线热播精品免费| 欧美乱妇15p| 国产人妖乱国产精品人妖| 一区二区三区日韩欧美精品| 人人狠狠综合久久亚洲| 成人亚洲一区二区一| 欧美日韩国产综合草草| 久久噜噜亚洲综合| 一区二区高清视频在线观看| 久久爱另类一区二区小说| 99久久er热在这里只有精品15| 56国语精品自产拍在线观看| 国产精品情趣视频| 日本不卡一二三区黄网| 97国产一区二区| 精品久久久久久久人人人人传媒 | 亚洲成人激情自拍| 国产91丝袜在线18| 欧美一区二区在线不卡| 中文字幕视频一区| 精品一区二区在线观看| 91精品福利视频| 国产欧美视频一区二区| 天天操天天色综合| 色婷婷国产精品| 国产女人18水真多18精品一级做| 五月婷婷综合在线| 91一区一区三区| 国产日韩影视精品| 蜜臀av一区二区三区| 在线观看av一区| 国产精品成人在线观看| 国产一区二区主播在线| 欧美老人xxxx18| 一区二区三区中文字幕精品精品| 国产成人超碰人人澡人人澡| 91精品免费观看| 亚洲国产成人va在线观看天堂 | 94色蜜桃网一区二区三区| 精品国产sm最大网站| 日韩av电影天堂| 欧美日韩一卡二卡三卡| 亚洲色图色小说| 91在线一区二区三区| 国产精品热久久久久夜色精品三区| 精品亚洲国内自在自线福利| 91精品国产丝袜白色高跟鞋| 一区二区三区91| 91久久精品日日躁夜夜躁欧美| 欧美国产丝袜视频| 国产99久久久国产精品潘金网站| 日韩美女视频一区二区在线观看| 亚洲成人午夜电影| 欧美三级在线视频| 亚洲与欧洲av电影| 欧美视频一区二区| 亚洲高清久久久| 在线综合+亚洲+欧美中文字幕| 亚洲国产中文字幕| 欧美日韩在线观看一区二区 | 免费在线看成人av| 欧美一区二区三区在线视频| 日韩在线观看一区二区| 欧美群妇大交群中文字幕| 性做久久久久久免费观看| 欧美日本不卡视频| 免费一级片91| 久久网站热最新地址| 成人午夜又粗又硬又大| 日韩毛片一二三区| 在线观看视频91| 日本怡春院一区二区| 欧美xingq一区二区| 国产精品综合一区二区三区| 国产精品日韩成人| 色综合久久久网| 日韩高清欧美激情| 欧美精品一区视频| 不卡的av网站| 亚洲一级在线观看| 精品免费国产一区二区三区四区| 国内国产精品久久| 国产精品网站导航| 在线观看91视频| 看片网站欧美日韩| 国产精品乱子久久久久| 欧美在线免费播放| 精品一区二区在线播放| 亚洲欧洲精品一区二区精品久久久| 色94色欧美sute亚洲13|