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

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

?? flash.h

?? 針對德州儀器DM270開發(fā)板的bootloader,其實現(xiàn)了內(nèi)核的下載以及文件系統(tǒng)的下載
?? 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

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩 欧美一区二区三区| 国产日韩欧美麻豆| 91老司机福利 在线| 国产高清在线观看免费不卡| 亚洲国产精品高清| 国产精品女同一区二区三区| 国产日韩欧美a| 中文字幕精品一区二区三区精品| 日韩欧美黄色影院| 久久只精品国产| 国产亚洲欧洲997久久综合| 久久午夜国产精品| 亚洲国产精品二十页| 亚洲激情网站免费观看| 亚洲妇女屁股眼交7| 蜜桃91丨九色丨蝌蚪91桃色| 精品一区二区三区免费毛片爱| 国产美女在线观看一区| 91色乱码一区二区三区| 欧美亚一区二区| 久久综合狠狠综合| 久久久久国产免费免费| 一区二区三区中文字幕在线观看| 五月婷婷久久丁香| 不卡视频免费播放| 日韩免费看网站| 国产精品萝li| 美洲天堂一区二卡三卡四卡视频| 不卡av电影在线播放| 欧美一级久久久| 亚洲欧美经典视频| 日韩高清不卡一区二区三区| 成年人网站91| 国产欧美一区二区精品性色超碰| 日韩—二三区免费观看av| 成人av电影观看| 欧美岛国在线观看| 日本aⅴ亚洲精品中文乱码| 不卡的av在线| 久久欧美一区二区| 久久99精品久久久久久动态图 | 亚洲黄色小视频| 成人性生交大片免费看中文| 精品99一区二区| 男人的天堂久久精品| 欧美日韩国产一二三| 一区二区三区精品在线观看| 成人美女视频在线看| 国产女主播在线一区二区| 日韩av中文在线观看| 欧美视频一区二区三区四区 | 午夜视频久久久久久| 4hu四虎永久在线影院成人| 亚洲国产一二三| 欧美一级视频精品观看| 久久精品国产99国产| 久久久久久日产精品| 成人激情小说网站| 中文字幕欧美区| 欧美中文字幕一区二区三区亚洲| 一区二区欧美视频| 欧美在线免费播放| 视频在线观看国产精品| 26uuu另类欧美| av动漫一区二区| 日本亚洲电影天堂| 中文字幕一区二区三区视频 | 国产乱码精品1区2区3区| 亚洲欧洲国产专区| 日韩视频在线观看一区二区| 成人一区二区三区在线观看| 亚洲福利视频一区二区| 26uuu亚洲综合色欧美| 91国产成人在线| 国产激情视频一区二区三区欧美| 亚洲人成精品久久久久久| 2021国产精品久久精品| 欧美日韩一区久久| 99九九99九九九视频精品| 国产精品一区二区三区网站| 亚洲国产精品一区二区www | 成人性生交大片免费看视频在线| 亚洲国产精品一区二区尤物区| 久久久精品综合| 日韩欧美另类在线| 欧美在线短视频| 99国产精品视频免费观看| 国产99久久久国产精品免费看 | 天天综合色天天综合色h| 综合久久一区二区三区| 国产精品久久久久影院老司| 日韩一区二区免费视频| 欧美日韩成人在线| 在线中文字幕一区二区| 国产精品88av| 99精品国产一区二区三区不卡| 国产99久久久国产精品潘金| 国产成人免费在线观看| jiyouzz国产精品久久| 91香蕉视频黄| 91福利国产成人精品照片| 在线观看一区不卡| 欧美精三区欧美精三区| 欧美一区二区成人| 精品免费视频一区二区| 精品理论电影在线| 欧美激情综合在线| 亚洲午夜免费电影| 国产精品网站在线观看| 亚洲va欧美va人人爽| 不卡影院免费观看| 久久久一区二区三区| 日韩激情中文字幕| 在线一区二区三区| 国产女人水真多18毛片18精品视频| 亚洲成人激情社区| 色爱区综合激月婷婷| 国产三级一区二区三区| 麻豆精品国产传媒mv男同| 欧美系列日韩一区| 一片黄亚洲嫩模| 91天堂素人约啪| 国产精品午夜电影| jvid福利写真一区二区三区| 精品国产制服丝袜高跟| 久久精品国产久精国产| 日韩美女视频一区二区在线观看| 亚洲国产综合在线| 7777精品伊人久久久大香线蕉 | 国产资源精品在线观看| 久久久综合视频| 懂色av一区二区三区免费观看| 久久夜色精品国产欧美乱极品| 久久av资源站| 久久精品视频在线看| 91影院在线观看| 日韩专区在线视频| 精品对白一区国产伦| 国产精品自拍一区| 亚洲黄色片在线观看| 91精品欧美一区二区三区综合在| 久久国产精品99精品国产| 国产婷婷色一区二区三区在线| hitomi一区二区三区精品| 亚洲成人免费电影| 久久精品视频免费| 欧美无砖专区一中文字| 国产成人日日夜夜| 亚洲国产日韩a在线播放性色| 日韩欧美在线影院| 色婷婷av一区二区三区软件| 奇米色一区二区| 伊人开心综合网| 国产亚洲精品资源在线26u| 欧美人狂配大交3d怪物一区| 成人免费视频一区| 蜜臀av国产精品久久久久| 亚洲日本欧美天堂| 国产午夜精品一区二区三区四区| 欧美体内she精高潮| voyeur盗摄精品| 国产成人av资源| 国产综合一区二区| 奇米精品一区二区三区在线观看 | 日日欢夜夜爽一区| 夜夜嗨av一区二区三区网页| 国产精品久久久久毛片软件| 久久免费看少妇高潮| 欧美电影免费观看高清完整版 | 中文字幕亚洲成人| 国产欧美日韩在线| 亚洲国产成人自拍| 国产精品免费久久久久| 国产精品免费久久久久| 一区精品在线播放| 亚洲手机成人高清视频| 亚洲伦理在线免费看| 一区二区三区资源| 天堂蜜桃一区二区三区 | 色素色在线综合| 欧美日韩亚洲综合一区| 日韩一区二区免费视频| 国产精品天干天干在观线 | 国产精品123区| 91麻豆国产自产在线观看| 在线视频一区二区三| 欧美精品久久一区| 久久久青草青青国产亚洲免观| 亚洲欧美区自拍先锋| 免费精品视频在线| 91美女片黄在线观看91美女| 91麻豆精品国产无毒不卡在线观看| 亚洲精品在线电影| 一二三区精品福利视频| 韩国女主播成人在线| 欧美三区免费完整视频在线观看| 日韩免费高清视频| 一区二区三区在线观看视频 | 欧美伊人久久久久久久久影院| 日韩一区二区三区av|