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

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

?? readvsb.c

?? 在flash上實現vsb文件系統的源碼資料
?? C
字號:
#ifndef EXCLUDE_VSB/*;# ***********************************************************************;# *             Intel Confidential                                      *;# *             Copyright (C) Intel Corporation 1994-2000               *;# *             All Rights Reserved.                                    *;# ************************************************************************//***************************************************************** INTEL OEM SOFTWARE LICENSE AGREEMENT* BETWEEN INTEL CORPORATION AND OEM/Licensee ("You")*  (Rev 10/04/99)** BY USING THIS SOFTWARE, YOU ("You" or "Licensee") ARE AGREEING * TO BE BOUND BY THE TERMS OF THIS AGREEMENT.  DO NOT USE THE * SOFTWARE UNTIL YOU HAVE CAREFULLY READ AND AGREED TO THE * FOLLOWING TERMS AND CONDITIONS.  IF YOU DO NOT AGREE TO THE * TERMS OF THIS AGREEMENT, PROMPTLY RETURN THE SOFTWARE AND ANY * ACCOMPANYING ITEMS. LICENSEE MUST BE AN ORIGINAL EQUIPMENT * MANUFACTURER ("OEM") SYSTEM DEVELOPER TO ACQUIRE ANY RIGHTS * IN THE SOFTWARE UNDER THIS LICENSE AGREEMENT.** LICENSE: Intel Corporation ("Intel") grants the Licensee the * non-exclusive right to use the software program ("Software") * in source and / or object code form on the terms set forth * below.  Licensee will not use, copy, modify, rent, sell or * transfer the Software or any portion thereof, except as * provided in this Agreement.  ** USE RESTRICTION:* THIS ROYALTY FREE LICENSE ALLOWS LICENSEE TO USE THE SOFTWARE * WITH INTEL FLASH PRODUCTS ONLY. USE OF THE SOFTWARE WITH ANY * OTHER FLASH PRODUCTS IS EXPRESSLY PROHIBITED UNLESS AND UNTIL * LICENSEE APPLIES FOR, AND IS GRANTED, IN INTEL'S SOLE DISCRETION.* A SEPARATE WRITTEN SOFTWARE LICENSE AGREEMENT BETWEEN LICENSEE * AND INTEL IS NECESSARY BEFORE ANY SUCH USE.** LICENSEE MAY:* 1. Copy the Software for support, backup or archival purposes;* 2. Install or distribute the Software in object code form only;* 3. Install, use, modify, distribute, and/or make or have made * Derivatives based on the Software subject to the terms and * conditions in this Agreement;* 4. Modify and/or use Software source code that Intel provides to* the Licensee, provided that Licensee does not remove or modify * the "Compatibility" module, if any, in the Software or in any * Derivatives and subject to the other restrictions contained * herein;* 5. Allow authorized contractors ("Subcontractors") engaged by * the Licensee for the sole purpose of product development work to* have access to the Software solely for that purpose. * Subcontractors do NOT acquire any of the Licensee rights to the * Software provided in this Agreement.** RESTRICTIONS:  * LICENSEE IS NOT ALLOWED TO: * 1.  Copy, disclose or distribute the Software, in whole or in * part, except as provided for in this Agreement;* 2.  Remove or modify the "Compatibility" module, if any, in * the Software or in any Derivatives;* 3.  Decompile or reverse engineer any Software delivered in * object code form.** LICENSEE MUST:* Execute the "Compatibility" module if provided with the * Software.** TRANSFER:  Except as provided above, Licensee may not * transfer or disclose the Software to any other party.** OWNERSHIP AND COPYRIGHT OF SOFTWARE: Title to the Software * and all copies thereof remain with Intel.  The Software is * copyrighted and is protected by United States and * international copyright laws.  Licensee will not remove * the copyright notice from the Software.  Licensee agrees * to prevent the unauthorized copying of the Software.** DERIVATIVES: "Derivatives" are any work that is based upon the * Software, such as a revision, modification, translation, or * compilation in which the Software is recast, transformed or * adapted; any adaptation, subset, addition, improvement or * combination of or including the Software; and any new material, * information or data derived from the Software, including new * material which may be protectable by copyright, patent or other* proprietary rights.  Licensee is not required to provide Intel * with a copy of the source or object code for any Derivatives * created by Licensee. Licensee may use, market, sell, and/or * distribute Derivatives in object code form only at Licensee's own* risk and expense.  Licensee may use, but may not market, sell or * distribute, source code for any Derivatives, subject to the Use * Restriction and other restrictions contained in this Agreement. * Title to Derivatives, other than the portion(s) of the * Derivatives consisting of any portion of the Software, shall * remain with Licensee.** CONFIDENTIALITY: Licensee will maintain the confidentiality of * the source code for the Software with at least the same degree * of care that Licensee uses to protect Licensee's own confidential * and proprietary information, but with no less than a reasonable * degree under the circumstances. Disclosure of source code will * only be made to Licensee's employees on a need-to-know basis. * Subject to the licenses granted hereunder, Licensee shall * maintain the Software source code and all other proprietary * information relating to the Software in confidence and shall * not disclose to others any such source code or other Intel * proprietary information relating to the Software. Any * Subcontractors to whom Licensee discloses the source code for * the Software must sign a written confidentiality agreement * which contains terms regarding the Software no less restrictive * than those set forth in this Agreement.** WARRANTY:  The Software is provided "AS IS". Intel warrants * that the media on which the Software is furnished will be free * from defects in material and workmanship for a period of one * year upon receipt. ** THE ABOVE WARRANTIES ARE THE ONLY WARRANTIES OF ANY KIND GIVEN * BY INTEL UNDER THIS AGREEMENT. INTEL SPECIFICALLY DISCLAIMS ANY * OTHER WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WARRANTIES OF * MERCHANTABILITY, NONINFRINGEMENT OR FITNESS FOR ANY PARTICULAR * PURPOSE.** LIMITATION OF LIABILITY: NEITHER INTEL NOR ITS VENDORS OR AGENTS * SHALL BE LIABLE FOR ANY LOSS OF PROFITS, LOSS OF USE, LOSS OF * DATA, INTERRUPTION OF BUSINESS, NOR FOR INDIRECT, SPECIAL, * INCIDENTAL OR CONSEQUENTIAL DAMAGES OF ANY KIND WHETHER UNDER * THIS AGREEMENT OR OTHERWISE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGES.** TERMINATION OF THIS LICENSE: Intel reserves the right to conduct * or have conducted audits to verify Licensee's compliance with * this Agreement.  Intel may terminate this Agreement at any * time if Licensee is in breach of any of its terms and conditions.* Upon termination, Licensee will immediately destroy, and certify * in writing the destruction of, the Software and return all copies * of the Software and documentation to Intel.** U.S. GOVERNMENT RESTRICTED RIGHTS: The Software and documentation* were developed at private expense and are provided with * "RESTRICTED RIGHTS".  Use, duplication or disclosure by the * Government is subject to restrictions as set forth in * FAR52.227-14 and DFAR252.227-7013 et seq. or its successor.** EXPORT LAWS: The distribution and export/re-export of the * Software shall be in compliance with the laws, regulations, * orders or other restrictions of the U.S. Export Administration * Regulations.** APPLICABLE LAW: This Agreement is governed by the laws of the * State of Delaware and the United States, including patent and* copyright laws.  Any claim arising out of this Agreement will be * brought in Delaware.  ** Intel reserves the right to use and/or include Licensee's name* in public relations activities and marketing material after the * product is publicly announced.******************************************************************/ /*-----------------------------------------------------------------------------     readvsb.c -- Read data from a VSB-----------------------------------------------------------------------------*/#include "datatype.h"#include "vsb.h"#include "flashdef.h"#include "vsbdata.h"#include "lowlvl.h"/******************************************************************************     ReadVSB -- Read VSB_SIZE bytes from a VSB**     ENTRY -*        BYTE * - Pointer to data destination buffer**     EXIT -*        WORD -   ERR_NONE    ERR_READ      ERR_NOT_FOUND******************************************************************************/WORD ReadVSB( BYTE *Buffer )           /* destination of read data */{   WORD     RetVal;                    /* Function return value */   if( VSBFound == FALSE )             /* FindVSB called yet? */   {      return( ERR_NOT_FOUND );   }   /* move data from flash to destination*/   /* corforming to API -cnc */   /*Comment- No need to change this for E2.3.41, uses CurrentVSB which is changed in FindVSB*/   RetVal = MoveVSB((DWORD)Buffer,MOVE_RAM,CalculateFlashAddr(CurrentComponent,                     CurrentBlock[CurrentComponent],CurrentVSB[CurrentComponent]),                     MOVE_FLASH, (WORD)VSB_SIZE);   return( RetVal );}#if SUP_READBYTES/******************************************************************************     ReadBytes -- Read specified number of bytes from VSB**     ENTRY -*        BYTE * - Pointer to data destination buffer*        WORD -   Number of bytes to read**     EXIT -*        WORD -   ERR_NONE    ERR_VSB_OVERFOLW    ERR_NOT_FOUND     ERR_READ******************************************************************************/WORD ReadBytes( BYTE *Buffer,    /* destination of read */                WORD ByteCount ) /* number of bytes to read */{   BYTE     RetVal = ERR_NONE;   /* Function return value */   DWORD    FlashAddr;           /* Physical address of data stored in VSB */    if( VSBFound == FALSE )      /* FindVSB called yet? */    {      return( ERR_NOT_FOUND );   }   /* will read overrun VSB */   if( CurrentByte[CurrentComponent] + ByteCount > VSB_SIZE )    {        VSBFound = FALSE;                      /* bail out */        return( ERR_VSB_OVERFLOW );    }    /* get physical address of byte to read */    /*Comment- No need to change this for E2.3.41, uses CurrentVSB which is changed in FindVSB*/    FlashAddr = CalculateFlashAddr( CurrentComponent,                                    CurrentBlock[CurrentComponent],                                    CurrentVSB[CurrentComponent] +                                    CurrentByte[CurrentComponent] );    /* read bytes from flash */    RetVal = FlashDevRead( FlashAddr, (DWORD)ByteCount, Buffer );    if(RetVal != ERR_NONE)       RetVal = ERR_READ;    CurrentByte[CurrentComponent] += ByteCount; /* adjust byte count read */    return( RetVal );}#endif#elsestatic const char file_name[] = "readvsb.c";#endif /* EXCLUDE_VSB */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人av免费在线播放| 国产一区啦啦啦在线观看| 久久综合九色综合97_久久久| 欧美三级视频在线播放| 色综合天天综合网天天狠天天| 99这里都是精品| 99免费精品视频| 91蝌蚪porny九色| 91久久久免费一区二区| 欧亚洲嫩模精品一区三区| 在线欧美日韩精品| 欧美特级限制片免费在线观看| 欧美三级在线播放| 日韩免费视频一区| 久久久久久久久久美女| 国产精品久久久久久久久免费丝袜 | 欧美电影一区二区| 欧美精品 日韩| 精品国产乱子伦一区| 久久夜色精品国产噜噜av| 久久久久免费观看| 亚洲欧洲99久久| 午夜精品久久久久久久久| 美女尤物国产一区| 成人免费视频一区| 欧美美女一区二区在线观看| 91精品黄色片免费大全| 国产亚洲人成网站| 一区二区三区丝袜| 麻豆精品精品国产自在97香蕉| 国产乱人伦偷精品视频不卡| 色综合色狠狠天天综合色| 91精品国产综合久久婷婷香蕉| 日韩欧美www| 亚洲品质自拍视频| 免费一级片91| 色综合久久精品| 911精品国产一区二区在线| 国产亚洲一区字幕| 亚洲一区影音先锋| 国产99久久久国产精品免费看| 91黄色在线观看| 国产午夜精品久久| 日韩精品一区第一页| 成人黄色在线看| 日韩一区和二区| 一区二区三区在线免费| 国产一区三区三区| 91精品国产麻豆| 亚洲三级视频在线观看| 色综合天天综合网天天狠天天| 欧美一区二区三区白人| 亚洲视频一二区| 国产成人av电影在线| 8v天堂国产在线一区二区| 自拍偷拍亚洲综合| 国产精品一区二区在线播放| 欧美一卡二卡在线| 亚洲成人综合视频| 99视频在线精品| 国产片一区二区| 精品一区二区三区欧美| 欧美精品乱码久久久久久按摩| 中文字幕一区二区视频| 国产一区二区三区av电影| 制服.丝袜.亚洲.另类.中文| 伊人性伊人情综合网| av一二三不卡影片| 国产精品久久久久久久久久久免费看 | 国产成人午夜99999| 欧美一级片免费看| 日韩va亚洲va欧美va久久| 色欧美乱欧美15图片| 亚洲人123区| 91在线视频官网| 中文字幕亚洲欧美在线不卡| 国产成人av自拍| 国产拍欧美日韩视频二区| 一本一本大道香蕉久在线精品 | 欧洲精品一区二区三区在线观看| 蜜臀a∨国产成人精品| 专区另类欧美日韩| 在线亚洲高清视频| av一区二区三区在线| 国产一区二区三区美女| 国产白丝精品91爽爽久久| 国产麻豆91精品| 亚洲国产你懂的| 日本网站在线观看一区二区三区| 亚洲影视资源网| 国产很黄免费观看久久| 中文字幕av一区 二区| 成人免费观看av| 一区二区日韩电影| 欧美一区2区视频在线观看| 国内外成人在线| 国产精品国产精品国产专区不蜜 | 欧美午夜电影在线播放| 亚洲第一在线综合网站| 日韩亚洲欧美在线| 国产精品99久久久久久似苏梦涵| 国产精品久久久久久久久快鸭| 色久优优欧美色久优优| 丝袜美腿亚洲综合| 久久久精品人体av艺术| 91视频在线看| 蜜桃av噜噜一区二区三区小说| 国产欧美日韩精品一区| 欧美性xxxxxxxx| 老司机精品视频一区二区三区| 亚洲国产精品99久久久久久久久| 欧美视频一二三区| 国产伦精一区二区三区| 亚洲影院久久精品| 久久久精品国产免大香伊| 日本高清不卡视频| 国产乱码字幕精品高清av| 亚洲黄网站在线观看| 精品福利一区二区三区| 色欧美乱欧美15图片| 国产美女精品在线| 午夜激情一区二区| 国产精品久久三| 精品伦理精品一区| 欧美日韩黄视频| 成人sese在线| 韩国女主播一区| 日韩中文字幕麻豆| 一区二区三区中文字幕电影 | 成人99免费视频| 视频一区在线视频| 亚洲人成网站在线| 精品国产乱码久久| 欧美精品日韩精品| 一本久久精品一区二区| 国产成人在线色| 久久成人久久鬼色| 日本vs亚洲vs韩国一区三区| 亚洲精品五月天| 中文字幕一区二区三区蜜月| 欧美精品一区二区不卡| 91精品欧美综合在线观看最新| 91视频观看免费| 91在线观看地址| 99精品国产99久久久久久白柏| 国产精品一区一区三区| 精品一区二区三区在线播放 | 欧美午夜寂寞影院| 色综合一个色综合亚洲| 99久久综合色| 91香蕉视频污| 91黄色免费观看| 在线视频欧美区| 在线亚洲人成电影网站色www| 色综合天天狠狠| 欧美主播一区二区三区美女| 日本高清不卡视频| 欧美日韩激情一区二区| 欧美乱妇15p| 日韩视频永久免费| 精品黑人一区二区三区久久| 久久日韩精品一区二区五区| 久久这里只有精品6| 久久久精品欧美丰满| 国产精品色呦呦| 亚洲免费在线观看视频| 亚洲国产精品久久一线不卡| 五月天亚洲精品| 精品一区二区在线观看| 国产电影一区在线| 91美女在线视频| 欧美日韩一区二区不卡| 日韩精品一区二区三区老鸭窝| 精品久久久久久久久久久久久久久 | 日韩精品一区二区三区在线播放| 欧美一级理论片| 久久天堂av综合合色蜜桃网| 国产日韩欧美一区二区三区综合| 国产精品全国免费观看高清 | 成人av在线观| 欧美tickle裸体挠脚心vk| 精品国产乱码久久久久久1区2区| 欧美国产1区2区| 亚洲成人免费观看| 国内精品视频666| 一本色道久久加勒比精品| 6080日韩午夜伦伦午夜伦| 久久久久88色偷偷免费| 亚洲一区二区视频在线| 精久久久久久久久久久| 99re这里只有精品首页| 日韩欧美专区在线| 亚洲天堂a在线| 美国毛片一区二区三区| 91免费小视频| 久久综合色8888| 性久久久久久久| 成人av在线网站| 久久综合色8888| 午夜电影久久久|