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

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

?? flash.h

?? Embeded bootloader (rrload by ridgerun) for TI linux based platform v5.36
?? H
字號:
/* * File: flash.h * * This is an interface to a utility which allows the caller to read and * write to non-volatile flash memory. This is an abstraction of generic * flash and the functionality presented by this interface is independent * of the actual device utilized. The module which is implemented to expose * this generic interface will handle the specifics of the physical flash * components utilized. * * See Also *   flash_intel.c   -- An implementation exposing a flash.h interface. *   flash_toshiba.c -- An implementation exposing a flash.h interface. * * Copyright (C) 2002 RidgeRun, Inc. * Author: RidgeRun, Inc  <skranz@ridgerun.com> * *  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;  either version 2 of the  License, or (at your *  option) any later version. * *  THIS  SOFTWARE  IS  PROVIDED  ``AS  IS''  AND   ANY  EXPRESS  OR IMPLIED *  WARRANTIES,   INCLUDING, BUT NOT  LIMITED  TO, THE IMPLIED WARRANTIES OF *  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN *  NO  EVENT  SHALL   THE AUTHOR  BE    LIABLE FOR ANY   DIRECT,  INDIRECT, *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT *  NOT LIMITED   TO, PROCUREMENT OF  SUBSTITUTE GOODS  OR SERVICES; LOSS OF *  USE, DATA,  OR PROFITS; OR  BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON *  ANY THEORY OF LIABILITY, WHETHER IN  CONTRACT, STRICT LIABILITY, OR TORT *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF *  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * *  You should have received a copy of the  GNU General Public License along *  with this program; if not, write  to the Free Software Foundation, Inc., *  675 Mass Ave, Cambridge, MA 02139, USA. * * Please report all bugs/problems to the author or <support@dsplinux.net> * * key: RRGPLCR (do not remove) * */#ifndef FLASH_H#define FLASH_H#include "memconfig.h"/* Common Flash Interface - see www.amd/com/products/nvd/overview/cfi.html */#define CFI_START_ADDR 0x10#define CFI_END_ADDR 0x4Ftypedef unsigned char (*GetByteCallBack_t)(void);typedef void (*GetValAtAddrCallBack_t)(unsigned short *vaddr, unsigned short *val);typedef void (*PutValAtAddrCallBack_t)(unsigned short *vaddr, unsigned short val);#ifdef BSPCONF_BTLDR_MEMMAP_DEBUGextern int read_device_codes(unsigned long *Code);extern int read_cfi_array(unsigned short array[], int array_size);extern int build_sector_map(unsigned int sector_map[], int sector_map_size);#endifextern void flash_read(unsigned int offset,   // Of flash.                       unsigned short *dest,  // Destination buffer                       unsigned int num_bytes,                       PutValAtAddrCallBack_t CBack); // NULL okay  // --flash_read--   //   Think of the flash part as starting at address  //   zero (the first read/writable location in the flash  //   device). The specified dest buffer is filled with flash  //   data found starting at the specified flash memory range  //   offset. Unless num_bytes == 0, a minimum of 2 bytes  //   will always be read into the supplied buffer. If  //   a CBack is supplied then it will be used to write the  //   the 16bit flash values, otherwise the supplied *dest  //   buffers is written to.  extern int flash_write(unsigned int offset,    // Of flash.                        unsigned short *src,    // source buffer.                        unsigned int num_bytes,                        GetValAtAddrCallBack_t CBack); // NULL okay  // --flash_write--   //   The src pointer indicates the start of the data block  //   which is to be copied to the flash memory range starting  //   at the specified offset. Note: unless num_bytes == 0, a  //   minimum of 2 bytes is always written. If a CBack is  //   supplied then it will be use to acquire each 16bit val  //   which is to be written to flash, otherwise the supplied  //   *src buffer is used for the copy.  //   Returns zero on success and non-zero on flash write failureextern int flash_flush(void);  // --flash_flush--  //   Similiar to the `fflush()` of standard Linux.  //   Use this after you have completed your set of  //   flash_write() calls to insure that any internally  //   buffered data has been written to flash.  //   returns -1 on success, otherwise returns the flash  //   offset for which a write error occured.extern void flash_erase(void);  // --flash_erase--  //   Erases the board's entire flash range.extern void flash_erase_range(int start_addr, int end_addr);  // --flash_erase_range--  //   Erases the indicated portion of the flash.  //   Note: the whole block containing the start_addr as well as  //   the whole block containing the end_addr, and all blocks  //   in-between, are erased. Keep this in mind when forming  //   your range request -- if not careful you will get more  //   erased than your range defines due to the erase constraints  //   of flash chips. They can only erase whole blocks.  //   +--- NOTE! ----  //   |  *revisit-skranz* This routine is an intermediate solution.  //   |  How does the client know which addresses fall on which  //   |  flash blocks without knowing the details of the underlying  //   |  flash chips used? Unfortunatley, at the moment, they will  //   |  just have to know. And in fact the areas of the flash map  //   |  which have been choosen to hold the various components  //   |  (bootloader, params, kernel, filesystem) have been defined  //   |  in the comp_flash_info[] array of btldr_pi.c in a way that  //   |  places them convieniently on flash block boundaries that  //   |  allow each component to be erased without effecting the  //   |  surrounding components. There is a coupling here that we  //   |  hope to remove in the future since ideally the client  //   |  shouldn't need to know anything about the underlying chips.  //   +--------------extern int flash_init(void);  // --flash_init--  //   Called once at bootloader init to initialize the module and make  //   it ready for client use.  //   +--- NOTE! ----  //   |  *revisit-skranz* At the moment this function has a return value  //   |  indicating to the caller the type of chips located on the  //   |  board so that the client can later make the correct type of  //   |  calls to the flash_erase_range() routine (see comments above).  //   |  Again, this exists only as part of the intermediate solution.  //   |  There is a coupling here that we hope to remove in the future. The  //   |  client shouldn't need to know anything about the underlying chips.  //   |  Current valid return values are: 128, 160, 320  //   +--------------#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕乱码一区二区免费| 亚洲精品在线一区二区| 成人在线视频一区二区| 国产成人免费视频一区| 国产曰批免费观看久久久| 国内一区二区在线| 国产成人精品免费看| 国产91高潮流白浆在线麻豆 | 精品99999| 久久久久久久久久久99999| 久久久精品影视| 欧美高清在线视频| 国产精品乱人伦中文| ...av二区三区久久精品| 一区二区三区不卡在线观看| 亚洲bdsm女犯bdsm网站| 人妖欧美一区二区| 国产揄拍国内精品对白| 高潮精品一区videoshd| 91极品视觉盛宴| 欧美老年两性高潮| www成人在线观看| 综合亚洲深深色噜噜狠狠网站| 亚洲精品成人精品456| 亚洲一区在线观看免费观看电影高清| 亚洲成人免费看| 捆绑调教美女网站视频一区| 成人福利视频网站| 欧美日韩mp4| 中国色在线观看另类| 一区二区三区在线视频播放| 免费成人性网站| 91亚洲精品乱码久久久久久蜜桃| 欧美一区二区三区播放老司机| 久久久99精品免费观看| 亚洲电影第三页| 国产不卡视频在线观看| 3d成人动漫网站| 欧美国产97人人爽人人喊| 丝袜美腿亚洲色图| 97久久人人超碰| 亚洲精品一区二区三区影院 | 国产一二三精品| 日本韩国视频一区二区| 久久久777精品电影网影网| 婷婷中文字幕综合| 91麻豆精东视频| 久久影院午夜论| 天堂久久久久va久久久久| 99久久国产综合色|国产精品| 日韩一区二区视频在线观看| 一区二区三区在线不卡| 成人深夜视频在线观看| 日韩一区二区三区精品视频| 一区二区三区毛片| 不卡的av网站| 国产亚洲欧美中文| 久久福利视频一区二区| 91麻豆精品国产91久久久资源速度| 国产精品久久久久9999吃药| 国产精品一级二级三级| 日韩精品一区二区三区蜜臀| 午夜一区二区三区视频| 欧美专区在线观看一区| 亚洲欧洲精品天堂一级| 成人动漫视频在线| 久久九九99视频| 国产激情一区二区三区四区| xfplay精品久久| 极品瑜伽女神91| 久久综合av免费| 国产乱国产乱300精品| 久久久久久久久久久久电影| 国模大尺度一区二区三区| 精品成人一区二区三区四区| 久久99国产精品成人| 精品美女在线播放| 国产精品一级二级三级| 中文字幕乱码亚洲精品一区| av电影在线不卡| 亚洲另类色综合网站| 色综合天天做天天爱| 国产日产精品1区| 韩国精品主播一区二区在线观看 | 中文字幕一区不卡| 色综合久久天天| 亚洲国产视频一区| 8v天堂国产在线一区二区| 免费在线看成人av| 精品国产一区久久| 国产精品系列在线观看| 国产精品欧美久久久久一区二区| 不卡影院免费观看| 一区二区三区免费看视频| 欧美二区在线观看| 国产一区二区在线观看免费| 国产日韩影视精品| 91久久精品国产91性色tv| 三级不卡在线观看| 久久日韩精品一区二区五区| 成人高清av在线| 亚洲18女电影在线观看| 久久综合久久久久88| 色乱码一区二区三区88| 裸体在线国模精品偷拍| 成人免费在线视频| 在线电影一区二区三区| 国产成人综合精品三级| 亚洲午夜在线电影| 国产欧美日韩综合精品一区二区| 在线一区二区观看| 久久精品二区亚洲w码| 亚洲乱码国产乱码精品精98午夜| 91.麻豆视频| www.日韩大片| 久久99蜜桃精品| 亚洲午夜精品在线| 国产精品视频在线看| 欧美一级一区二区| 色综合久久中文字幕| 国产成人精品网址| 久久精品国产免费看久久精品| 国产精品久久久久aaaa樱花| 日韩一级完整毛片| 色老汉一区二区三区| 福利视频网站一区二区三区| 全国精品久久少妇| 亚洲午夜影视影院在线观看| 国产精品亲子乱子伦xxxx裸| 精品国产乱码久久久久久牛牛| 欧美亚洲动漫另类| 成人自拍视频在线观看| 极品销魂美女一区二区三区| 亚洲国产日日夜夜| 亚洲综合999| 1024亚洲合集| 日韩一区在线免费观看| 欧美激情一区在线观看| 国产亚洲欧洲997久久综合 | 国产拍揄自揄精品视频麻豆| 欧美成人猛片aaaaaaa| 欧美嫩在线观看| 欧美挠脚心视频网站| 欧美日韩一区二区三区不卡| 一本色道综合亚洲| 色综合中文字幕国产| 国产一区二区三区最好精华液| 久久99日本精品| 韩国av一区二区三区四区| 狠狠色综合日日| 激情综合一区二区三区| 韩国理伦片一区二区三区在线播放| 蜜桃传媒麻豆第一区在线观看| 日本在线观看不卡视频| 日本成人在线视频网站| 免费精品99久久国产综合精品| 日本成人在线电影网| 久久精品久久99精品久久| 久久精品国产免费| 国产精品一级黄| 91一区二区在线观看| 91国产丝袜在线播放| 在线电影一区二区三区| 2024国产精品| 亚洲国产电影在线观看| 亚洲欧美日韩国产成人精品影院 | 极品销魂美女一区二区三区| 国产一二三精品| 91在线视频18| 欧美乱妇23p| 久久五月婷婷丁香社区| 国产精品久久久久久久第一福利| 一区二区三区丝袜| 日本强好片久久久久久aaa| 国产乱子轮精品视频| 色综合婷婷久久| 精品日韩一区二区| 亚洲视频一区二区在线| 肉丝袜脚交视频一区二区| 国产精品一区在线观看乱码| 91免费在线播放| 日韩欧美亚洲另类制服综合在线| 久久久亚洲精品一区二区三区 | 男女男精品视频网| 国产九色sp调教91| 欧美视频一区二区三区四区| 精品福利av导航| 亚洲已满18点击进入久久| 日本午夜精品一区二区三区电影| 国产不卡在线一区| 91麻豆精品国产无毒不卡在线观看 | 日韩一区二区电影网| 一区视频在线播放| 久久 天天综合| 在线观看欧美精品| 国产欧美日韩在线| 首页国产丝袜综合| 91色九色蝌蚪| 久久久久久免费网| 日韩国产精品91|