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

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

?? partition.c

?? filesystem for at91sam9263ek,編輯器為keil for arm mdk
?? C
字號:
/*****************************************************************************\*              efs - General purpose Embedded Filesystem library              **          --------------------- -----------------------------------          **                                                                             ** Filename : partition.c                                                      ** Description : These functions are partition specific. Searching FAT type    **               partitions and read/write functions to partitions.            **                                                                             ** 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 "partition.h"/*****************************************************************************//* ****************************************************************************   * void part_initPartition(Partition *part,Disc* refDisc) * Description: This function searches the 4 partitions for a FAT class partition * and marks the first one found as the active to be used partition.*/void part_initPartition(Partition *part,Disc* refDisc){	eint16 c;		part->disc=refDisc;	part->activePartition=-1; /* No partition selected */	part_setError(part,PART_NOERROR);	for(c=3;c>=0;c--){		if(part_isFatPart(part->disc->partitions[c].type))			part->activePartition=c;	} }/*****************************************************************************/ /* ****************************************************************************   * eint16 part_isFatPart(euint8 type) * Description: This functions checks if a partitiontype (eint8) is of the FAT * type in the broadest sense. I * Return value: If it is FAT, returns 1, otherwise 0.*/eint16 part_isFatPart(euint8 type){	if(type == PT_FAT12  ||	   type == PT_FAT16A ||	   type == PT_FAT16  ||	   type == PT_FAT32  ||	   type == PT_FAT32A ||	   type == PT_FAT16B   )	{		return(1);	}	return(0);}/*****************************************************************************/ esint8 part_readBuf(Partition *part, euint32 address, euint8* buf){	return(if_readBuf(part->disc->ioman->iface,part_getRealLBA(part,address), buf));}/* ****************************************************************************   * eint16 part_writeBuf(Partition *part,euint32 address,euint8* buf) * Description: This function writes 512 bytes, from buf. It's offset is address * sectors from the beginning of the partition. * Return value: It returns whatever the hardware function returns. (-1=error)*/eint16 part_writeBuf(Partition *part,euint32 address,euint8* buf){	/*DBG((TXT("part_writeBuf :: %li\n"),address));*/	return(if_writeBuf(part->disc->ioman->iface,part_getRealLBA(part,address),buf));}/*****************************************************************************/ /* ****************************************************************************   * euint32 part_getRealLBA(Partition *part,euint32 address) * Description: This function calculates what the partition offset for * a partition is + the address. * Return value: Sector address.*/euint32 part_getRealLBA(Partition *part,euint32 address){	return(part->disc->partitions[part->activePartition].LBA_begin+address);}/*****************************************************************************/ /* ****************************************************************************   * euint8* part_getSect(Partition *part, euint32 address, euint8 mode) * Description: This function calls ioman_getSector, but recalculates the sector * address to be partition relative. * Return value: Whatever getSector returns. (pointer or 0)*/euint8* part_getSect(Partition *part, euint32 address, euint8 mode){	return(ioman_getSector(part->disc->ioman,part_getRealLBA(part,address),mode));}/* ****************************************************************************   * esint8 part_relSect(Partition *part, euint8* buf) * Description: This function calls ioman_releaseSector. * Return value: Whatever releaseSector returns.*/esint8 part_relSect(Partition *part, euint8* buf){	return(ioman_releaseSector(part->disc->ioman,buf));}esint8 part_flushPart(Partition *part,euint32 addr_l, euint32 addr_h){	return( 		ioman_flushRange(part->disc->ioman,part_getRealLBA(part,addr_l),part_getRealLBA(part,addr_h)) 	);	}esint8 part_directSectorRead(Partition *part,euint32 address, euint8* buf){	return(		ioman_directSectorRead(part->disc->ioman,part_getRealLBA(part,address),buf)	);}esint8 part_directSectorWrite(Partition *part,euint32 address, euint8* buf){	return(		ioman_directSectorWrite(part->disc->ioman,part_getRealLBA(part,address),buf)	);}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91香蕉视频mp4| 久久五月婷婷丁香社区| 日韩一级片在线观看| 国产精品麻豆99久久久久久| 日本一道高清亚洲日美韩| 大尺度一区二区| 欧美一区二区三区电影| 亚洲一区自拍偷拍| 99精品国产一区二区三区不卡| 91精品国产91热久久久做人人| 日韩美女精品在线| 国产高清久久久久| 欧美tk—视频vk| 亚洲成人av一区| 94-欧美-setu| 国产精品久久久久影院亚瑟 | 亚洲风情在线资源站| 成人免费视频国产在线观看| 欧美videossexotv100| 午夜欧美一区二区三区在线播放| 色噜噜狠狠成人中文综合| 国产精品午夜在线| 国产精品一级在线| 久久亚洲免费视频| 国产精品中文欧美| 欧美精品一区二区三区四区| 粉嫩aⅴ一区二区三区四区五区| 欧美日韩视频在线观看一区二区三区| 中文字幕一区二区三区在线播放 | 国产成人av电影在线播放| 欧美成人官网二区| 精品无人码麻豆乱码1区2区| 日韩欧美国产午夜精品| 天天av天天翘天天综合网色鬼国产 | 午夜a成v人精品| 在线观看视频一区二区| 一区二区三区欧美激情| 91久久精品一区二区三| 亚洲伊人色欲综合网| 7777精品伊人久久久大香线蕉超级流畅 | 26uuu另类欧美| 精品亚洲porn| 亚洲国产精品传媒在线观看| 成人一区二区三区视频在线观看| 国产三级三级三级精品8ⅰ区| 国产成人一区在线| 国产精品丝袜一区| 91色视频在线| 日韩高清一区在线| 久久精品一二三| av一二三不卡影片| 亚洲h动漫在线| 亚洲精品一区二区三区蜜桃下载 | 亚洲国产成人av网| 精品久久久网站| 91婷婷韩国欧美一区二区| 亚洲午夜久久久| 久久伊人中文字幕| 91啦中文在线观看| 麻豆精品一区二区| 椎名由奈av一区二区三区| 欧美日韩国产首页在线观看| 久久99国产精品麻豆| 国产精品久久久久永久免费观看| 91久久精品一区二区| 精品亚洲aⅴ乱码一区二区三区| 国产精品久久福利| 欧美二区在线观看| 成年人国产精品| 久久精品99国产精品| 亚洲欧美日韩国产另类专区 | 亚洲欧美aⅴ...| 日韩精品中文字幕一区| 99精品视频在线播放观看| 日韩精品欧美精品| 椎名由奈av一区二区三区| 日韩欧美综合在线| 91久久国产综合久久| 麻豆精品视频在线观看免费| 亚洲精品成人在线| 日本一区二区三区dvd视频在线| 欧美午夜精品一区二区蜜桃| 国产成人综合视频| 理论片日本一区| 午夜精品久久久久久不卡8050| 中文字幕第一页久久| 亚洲精品在线电影| 在线成人av网站| 一本大道综合伊人精品热热| 国产成人在线视频网址| 久久精品国产精品亚洲红杏| 一卡二卡欧美日韩| 亚洲欧洲日韩女同| 国产人久久人人人人爽| 精品乱人伦小说| 欧美电影一区二区三区| 日本国产一区二区| 91丨九色丨尤物| 懂色av一区二区三区蜜臀 | 日韩精品一区二区三区老鸭窝| 欧美性欧美巨大黑白大战| 99亚偷拍自图区亚洲| 国产盗摄精品一区二区三区在线 | 国产午夜三级一区二区三| 欧美成人高清电影在线| 日韩限制级电影在线观看| 欧美日韩国产成人在线91| 欧美亚洲国产一区二区三区va | 亚洲成人一区二区| 五月综合激情网| 婷婷激情综合网| 美女mm1313爽爽久久久蜜臀| 日韩高清在线不卡| 麻豆成人免费电影| 国产伦精品一区二区三区免费迷| 国产永久精品大片wwwapp| 国产成人免费高清| 国产成人av一区| 一本大道久久a久久精品综合| 91网站黄www| 欧美视频在线一区| 欧美一区二区视频在线观看2020| 日韩一区二区在线观看视频 | 成人自拍视频在线| 成人18视频在线播放| 色老汉一区二区三区| 欧美日韩一二三| 欧美tickling挠脚心丨vk| 久久久久久**毛片大全| 中文字幕乱码日本亚洲一区二区| 亚洲人精品一区| 日韩二区三区在线观看| 黄色资源网久久资源365| 成人97人人超碰人人99| 欧美性xxxxx极品少妇| 日韩欧美中文一区| 国产女同互慰高潮91漫画| 亚洲精品乱码久久久久| 日本中文字幕不卡| 成人激情av网| 欧美视频一区在线| 久久久精品人体av艺术| 亚洲精品国产精华液| 青青草91视频| 91免费看`日韩一区二区| 4438亚洲最大| 国产精品免费视频网站| 亚洲成在人线在线播放| 国产成人av资源| 欧美精品18+| |精品福利一区二区三区| 日韩国产欧美在线播放| 成人美女在线观看| 在线综合+亚洲+欧美中文字幕| 久久品道一品道久久精品| 亚洲精品国产视频| 国内精品不卡在线| 欧美三区在线观看| 国产女人18水真多18精品一级做| 午夜精品福利一区二区三区av| 国产成人在线看| 日韩精品一区二区三区swag| 亚洲精品免费看| 成人免费黄色在线| 欧美tickling挠脚心丨vk| 亚洲国产一二三| 播五月开心婷婷综合| 欧美不卡视频一区| 亚洲成人av电影在线| av一区二区三区黑人| 久久久久久久久久久电影| 日韩高清一区在线| 欧美视频中文一区二区三区在线观看 | 午夜欧美视频在线观看| jizz一区二区| 国产亚洲一区二区三区| 久色婷婷小香蕉久久| 欧美一区二区三区免费视频 | 一区二区三区美女视频| 成人午夜又粗又硬又大| 精品电影一区二区三区| 欧美a级理论片| 欧美日韩另类国产亚洲欧美一级| 日韩理论片一区二区| 成人免费毛片片v| 国产精品亲子伦对白| 国产传媒日韩欧美成人| 久久久久久久久99精品| 国内精品免费**视频| 久久婷婷色综合| 国产精品一区久久久久| 久久久久久综合| 粉嫩aⅴ一区二区三区四区| 国产视频一区二区在线| 国产精品中文字幕欧美| 国产精品天美传媒| 99re热这里只有精品视频| 亚洲欧洲成人自拍| 色狠狠av一区二区三区| 亚洲欧美日韩在线|