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

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

?? linuxfile.c

?? efs文件系統源代碼
?? C
字號:
/*****************************************************************************\*                     EFSL - Embedded Filesystems Library                     **                     -----------------------------------                     **                                                                             ** Filename : linuxfile.c                                                      ** Release  : 0.3 - devel                                                      ** Description : This file contains the functions needed to use efs for        **               accessing files under linux. This interface is meant          **               to be used for debugging purposes.                            **                                                                             ** This program is free software; you can redistribute it and/or               ** modify it under the terms of the GNU General Public License                 ** as published by the Free Software Foundation; version 2                     ** of the License.                                                             **                                                                             ** This program is distributed in the hope that it will be useful,             ** but WITHOUT ANY WARRANTY; without even the implied warranty of              ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               ** GNU General Public License for more details.                                **                                                                             ** As a special exception, if other files instantiate templates or             ** use macros or inline functions from this file, or you compile this          ** file and link it with other works to produce a work based on this file,     ** this file does not by itself cause the resulting work to be covered         ** by the GNU General Public License. However the source code for this         ** file must still be made available in accordance with section (3) of         ** the GNU General Public License.                                             **                                                                             ** This exception does not invalidate any other reasons why a work based       ** on this file might be covered by the GNU General Public License.            **                                                                             **                                                    (c)2006 Lennart Yseboodt **                                                    (c)2006 Michael De Nil   *\*****************************************************************************//*****************************************************************************/#include "linuxfile.h"/*****************************************************************************//* ****************************************************************************   * short if_initInterface(hwInterface* file, char* fileName) * Description: This function should bring the hardware described in file in a * ready state to receive and retrieve data. * Return value: Return 0 on succes and -1 on failure.*/esint8 lf_init(void* LFI){	eint32 sc;		Fopen(&(((linuxFileInterface*)LFI)->imageFile),(eint8*)((linuxFileInterface*)LFI)->fileName);	sc=getFileSize(((linuxFileInterface*)LFI)->imageFile);	((linuxFileInterface*)LFI)->sectorCount=sc/512;	return(0);}/*****************************************************************************/ /* ****************************************************************************   * short if_readBuf(hwInterface* file,unsigned long address,unsigned char* buf) * Description: This function should fill the characterpointer buf with 512  * bytes, offset by address*512 bytes. Adress is thus a LBA address. * Return value: Return 0 on success and -1 on failure.*/esint8 lf_readBuf(void* LFI,euint32 address,euint8* buf){	/*printf("READ  %li\n",address);*/	if(lf_setPos(LFI,address))return(-1);	if( fread((void*)buf,512,1,((linuxFileInterface*)LFI)->imageFile) != 1) return(-1);	return(0);}/*****************************************************************************/ /* ****************************************************************************   * short if_writeBuf(hwInterface* file,unsigned long address,unsigned char* buf) * Description: This function writes 512 bytes from uchar* buf to the hardware * disc described in file. The write offset should be address sectors of 512 bytes. * Return value: Return 0 on success and -1 on failure.*/esint8 lf_writeBuf(void* LFI,euint32 address,euint8* buf){	/*printf("WRITE %li\n",address);*/	if(lf_setPos(LFI,address))return(-1);	if((fwrite((void*)buf,512,1,((linuxFileInterface*)LFI)->imageFile))!=1){		perror("cf_writeBuf:");		exit(-1);	}	fflush(((linuxFileInterface*)LFI)->imageFile);	return(0);}/*****************************************************************************/ esint8 lf_ioctl(void* LFI,euint16 ctl,void* data){	switch(ctl){		case IOCTL_NOP:			return(0);			break;		case IOCTL_SECTORCOUNT:			*((euint32*)data)=getFileSize(((linuxFileInterface*)LFI)->imageFile)/512;			return(0);			break;		default:			return(-1);			break;	}}/* ****************************************************************************   * short if_setPos(hwInterface* file,unsigned long address) * Description: This function may or may not be required. It would set the write * or read buffer offset by 512*address bytes from the beginning of the disc. * Return value: Return 0 on success and -1 on failure.*/esint8 lf_setPos(void* LFI,euint32 address){	if(address>(((linuxFileInterface*)LFI)->sectorCount-1)){		DBG((TXT("Illegal address\n")));		exit(-1);	}	if((fseek(((linuxFileInterface*)LFI)->imageFile,512*address,SEEK_SET))!=0){		perror("cf_setPos:");		exit(-1);	}	return(0);}/*****************************************************************************/ 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲精品福利视频网站| 日本不卡中文字幕| 久久99久久久久久久久久久| 欧美精品vⅰdeose4hd| 亚洲成人黄色小说| 久久女同精品一区二区| 成人app网站| 日本视频中文字幕一区二区三区| 久久久精品tv| 粉嫩aⅴ一区二区三区四区五区| 成人av网在线| 日本女人一区二区三区| 久久久久99精品国产片| 欧美性xxxxxx少妇| 97se亚洲国产综合自在线观| 国产精品国产三级国产有无不卡 | 国产精品中文欧美| 91麻豆精品国产自产在线观看一区 | 日韩精品中午字幕| 日韩一级黄色大片| 97久久精品人人爽人人爽蜜臀| 久久91精品久久久久久秒播 | 极品美女销魂一区二区三区免费| 免费成人结看片| 高清久久久久久| 在线看日韩精品电影| 这里是久久伊人| 成人黄色av网站在线| 麻豆精品蜜桃视频网站| 美女网站在线免费欧美精品| av高清久久久| 国产乱国产乱300精品| 成人免费观看视频| 国产不卡视频在线播放| 免费成人结看片| 久久91精品久久久久久秒播| 麻豆成人久久精品二区三区红| 奇米影视一区二区三区| 99久久精品国产毛片| 欧美国产精品中文字幕| 久久福利资源站| 黄一区二区三区| 国产精品一区三区| 国产麻豆精品在线| 91在线丨porny丨国产| 91浏览器入口在线观看| 91女神在线视频| 国产福利一区二区三区视频| 美国精品在线观看| 蜜臀国产一区二区三区在线播放 | 国产欧美精品区一区二区三区| 欧美mv日韩mv国产网站app| 亚洲国产一区二区三区 | 成人午夜视频网站| 欧美一区二区三区免费大片| 国产精品系列在线| 秋霞电影网一区二区| 91免费精品国自产拍在线不卡| 日韩精品资源二区在线| 中文字幕一区二区在线观看| 精品一区二区久久久| 欧美日韩国产高清一区| 午夜天堂影视香蕉久久| voyeur盗摄精品| 中文字幕二三区不卡| 国产在线精品国自产拍免费| 欧美日韩国产片| 一区二区国产视频| 99国产精品久久久久久久久久 | 亚洲精品成人天堂一二三| 成人午夜免费av| 亚洲一线二线三线视频| 欧美一级高清大全免费观看| 国产高清无密码一区二区三区| 国产精品久久久久久久久动漫| 国产一区免费电影| youjizz国产精品| 亚洲高清免费观看| 欧美一区二区三区在线观看视频| 久久久久国产精品免费免费搜索| 亚洲激情在线播放| 91.成人天堂一区| 国产九色精品成人porny | 国产精品水嫩水嫩| 国产91综合一区在线观看| 亚洲男人天堂一区| 欧美亚洲动漫精品| 蜜臀av性久久久久蜜臀aⅴ| 精品成人私密视频| 91丨九色丨蝌蚪丨老版| 亚洲第一主播视频| 4438成人网| 99精品偷自拍| 亚洲一区二区在线免费看| 2020国产成人综合网| 不卡的av在线播放| 日本不卡1234视频| 精品国产乱子伦一区| 国产一区二区在线视频| 国产.欧美.日韩| 国产91在线观看| 色久优优欧美色久优优| 欧美日本在线看| 51精品视频一区二区三区| 欧美成人r级一区二区三区| 26uuu国产日韩综合| 国产精品剧情在线亚洲| 一区二区三区鲁丝不卡| 首页综合国产亚洲丝袜| 成人丝袜高跟foot| 欧日韩精品视频| 久久综合久久久久88| 亚洲午夜三级在线| 国产精品一级二级三级| 在线观看av不卡| 国产欧美日韩三区| 五月激情综合网| 色噜噜狠狠成人网p站| 精品国产sm最大网站| 亚洲成人免费影院| 国产 欧美在线| 日韩欧美色电影| 水野朝阳av一区二区三区| 99热这里都是精品| 日韩欧美区一区二| 国产精品视频麻豆| 亚洲男同性恋视频| 日韩电影一二三区| 国产成人在线色| 日韩一区二区三区精品视频| 久久精品亚洲精品国产欧美kt∨ | 91国偷自产一区二区三区成为亚洲经典 | 成人丝袜高跟foot| 欧美一级艳片视频免费观看| 一区二区三区免费网站| 粉嫩在线一区二区三区视频| 欧美性猛交xxxxxx富婆| 中文在线一区二区| 成人综合在线网站| 中文字幕一区av| 99国产精品久久久久| 成人激情综合网站| 国产精品国产三级国产| 成年人午夜久久久| 一区二区免费在线| 欧美理论片在线| 国产乱人伦偷精品视频不卡| 久久九九影视网| 96av麻豆蜜桃一区二区| 亚洲国产精品久久久久秋霞影院 | 欧美日韩午夜在线| 久久久久一区二区三区四区| 午夜a成v人精品| 91官网在线免费观看| 亚洲色图欧洲色图婷婷| 国产成人免费在线观看不卡| 日韩一级视频免费观看在线| 亚洲无线码一区二区三区| 91免费视频观看| 性感美女久久精品| 欧美日韩国产综合一区二区| 中文字幕中文字幕一区二区| 日韩高清一区在线| 欧美高清www午色夜在线视频| 亚洲第一激情av| 91精品福利在线一区二区三区| 视频一区在线播放| 日韩午夜电影在线观看| 日韩高清欧美激情| 久久精品网站免费观看| 不卡的av电影| 无吗不卡中文字幕| 欧美国产精品v| 在线观看av一区二区| 日韩精品久久理论片| 国产欧美综合色| 一本久道中文字幕精品亚洲嫩| 日韩影院精彩在线| 欧美国产乱子伦 | 亚洲成av人片在线| 国产日韩欧美麻豆| 在线中文字幕不卡| 成人一级片在线观看| 亚洲成在人线免费| 亚洲色图一区二区| 久久综合国产精品| 91精品在线观看入口| 色综合天天综合在线视频| 韩国成人福利片在线播放| 伊人色综合久久天天| 久久久777精品电影网影网| 欧美一区二区三区四区在线观看 | 99久久婷婷国产| 成人黄色软件下载| 国产精品99久久久久久似苏梦涵 | 另类综合日韩欧美亚洲| 日韩精品一二区| 日本va欧美va精品发布| 亚洲va欧美va天堂v国产综合| 亚洲一区二区三区四区在线免费观看 |