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

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

?? copy.c

?? MIPS YAMON, a famous monitor inc. source, make file and PDF manuals.
?? C
字號:
/************************************************************************ * *  copy.c * *  Shell copy command * *  copy [-f] <src> <dst> <size> * * ###################################################################### * * mips_start_of_legal_notice *  * Copyright (c) 2004 MIPS Technologies, Inc. All rights reserved. * * * Unpublished rights (if any) reserved under the copyright laws of the * United States of America and other countries. * * This code is proprietary to MIPS Technologies, Inc. ("MIPS * Technologies"). Any copying, reproducing, modifying or use of this code * (in whole or in part) that is not expressly permitted in writing by MIPS * Technologies or an authorized third party is strictly prohibited. At a * minimum, this code is protected under unfair competition and copyright * laws. Violations thereof may result in criminal penalties and fines. * * MIPS Technologies reserves the right to change this code to improve * function, design or otherwise. MIPS Technologies does not assume any * liability arising out of the application or use of this code, or of any * error or omission in such code. Any warranties, whether express, * statutory, implied or otherwise, including but not limited to the implied * warranties of merchantability or fitness for a particular purpose, are * excluded. Except as expressly provided in any written license agreement * from MIPS Technologies or an authorized third party, the furnishing of * this code does not give recipient any license to any intellectual * property rights, including any patent rights, that cover this code. * * This code shall not be exported, reexported, transferred, or released, * directly or indirectly, in violation of the law of any country or * international law, regulation, treaty, Executive Order, statute, * amendments or supplements thereto. Should a conflict arise regarding the * export, reexport, transfer, or release of this code, the laws of the * United States of America shall be the governing law. * * This code constitutes one or more of the following: commercial computer * software, commercial computer software documentation or other commercial * items. If the user of this code, or any related documentation of any * kind, including related technical data or manuals, is an agency, * department, or other entity of the United States government * ("Government"), the use, duplication, reproduction, release, * modification, disclosure, or transfer of this code, or any related * documentation of any kind, is restricted in accordance with Federal * Acquisition Regulation 12.212 for civilian agencies and Defense Federal * Acquisition Regulation Supplement 227.7202 for military agencies. The use * of this code by the Government is further restricted in accordance with * the terms of the license agreement(s) and/or applicable contract terms * and conditions covering this code from MIPS Technologies or an authorized * third party. * * * *  * mips_end_of_legal_notice *  * ************************************************************************//************************************************************************ *  Include files ************************************************************************/#include <sysdefs.h>#include <shell_api.h>#include <sysdev.h>#include <io_api.h>#include <flash_api.h>#include <sys_api.h>#include <string.h>#include <shell.h>/************************************************************************ *  Definitions ************************************************************************//************************************************************************ *  Public variables ************************************************************************//************************************************************************ *  Static variables ************************************************************************//* OPTIONS */static t_cmd_option options[] ={#define OPTION_FLUSH	0     { "f",  "Do not flush caches" }};#define OPTION_COUNT	(sizeof(options)/sizeof(t_cmd_option))/************************************************************************ *  Static function prototypes ************************************************************************/static UINT32get_options(    UINT32 argc,    char   **argv,    UINT32 *src,    UINT32 *dst,    UINT32 *size,    bool   *flush );/************************************************************************ *  Implementation : Static functions ************************************************************************//************************************************************************ *                          copy ************************************************************************/static MON_FUNC(copy){    /* Options */    UINT32                    rc ;    UINT32		      src, dst, size;    bool		      flush;    t_FLASH_write_descriptor  flash_write ;    rc = get_options( argc, argv, &src, &dst, &size, &flush );        if( rc != OK )        return rc;    else    {        if( size != 0 )	{            if(SHELL_PUTS( "Copying..." ))	    {	        SHELL_PUTC( '\n' );		return OK;            }            flash_write.adr =    dst;            flash_write.length = size;            flash_write.buffer = (UINT8 *)src;	    /* Possibly flush caches */	    if( flush )	        sys_flush_caches();	    /* This flash copy function can also handle RAM */            if( (rc = IO_write( SYS_MAJOR_FLASH_STRATA, 0, &flash_write )) != OK )            {	        SHELL_PUTC( '\n' );	        return rc;            }            else            {                if(SHELL_PUTS( "Done\n" )) return OK;            }	    /* Possibly flush caches */	    if( flush )	        sys_flush_caches();        }        return OK;    }}/************************************************************************ *                          get_options ************************************************************************/static UINT32get_options(    UINT32 argc,    char   **argv,    UINT32 *src,    UINT32 *dst,    UINT32 *size,    bool   *flush ){    t_shell_option decode;    UINT32	   type;    UINT32	   count = 0;    bool           ok    = TRUE;    UINT32	   arg;    UINT32	   error = SHELL_ERROR_SYNTAX;    /* Defaults */    *flush = TRUE;    for( arg = 1; 	          ok && 	          (arg < argc) &&                   shell_decode_token( argv[arg], &type, &decode );         arg++ )    {        switch( type )	{	  case SHELL_TOKEN_OPTION :	    if( strcmp(decode.option, options[OPTION_FLUSH].option) == 0 )	    {	        *flush = FALSE;	    }	    else	    {	        error	         = SHELL_ERROR_OPTION;	        shell_error_data = argv[arg];	        ok		 = FALSE;	    }	    break;	  case SHELL_TOKEN_NUMBER :	    switch( count )	    {	      case 0  : *src  = decode.number; break;	      case 1  : *dst  = decode.number; break;	      case 2  : *size = decode.number; break;	      default : ok    = FALSE; break;	    }    	    count++;	    break; 	  default :	    ok = FALSE;	    break;	}    }    if( count != 3 )        ok = FALSE;    if( !ok )        return error;    else    {        error = sys_validate_range( *src, *size, sizeof(UINT8), FALSE );	return 	    ( error != OK ) ?	        error :                sys_validate_range( *dst, *size, sizeof(UINT8), TRUE );    }}/* Command definition for help */static t_cmd cmd_def ={    "copy",     copy,    "copy [-f] <src> <dst> <size>",    "The number of bytes specified by <size> are copied from <src> to <dst>.\n"    "Both the source and destination can be located anywhere in the\n"    "address space. The copy command knows the address areas for the\n"    "flash memories in the system and is able to program them.\n"    "\n"     "If the destination is flash, the destination area must be cleared\n"    "using the 'erase' command prior to the copy operation.\n"    "\n"    "Note that the copy command prevents the user from overwriting the\n"    "environment flash area.\n"    "\n"    "Unless the -f option is applied, caches are flushed before and after\n"    "the copy operations (D-cache writeback and invalidate,\n"    "I-cache invalidate).",    options,    OPTION_COUNT,    FALSE};/************************************************************************ *  Implementation : Public functions ************************************************************************//************************************************************************ * *                          shell_copy_init *  Description : *  ------------- * *  Initialise command * *  Return values : *  --------------- * *  void * ************************************************************************/t_cmd *shell_copy_init( void ){    return &cmd_def;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产高清成人在线| 99热国产精品| 91网页版在线| 久久色在线观看| 亚洲自拍偷拍图区| 处破女av一区二区| 欧美xxxx老人做受| 亚洲二区在线视频| 成人国产一区二区三区精品| 精品国产髙清在线看国产毛片| 亚洲美女屁股眼交3| 成人午夜电影久久影院| 欧美tk丨vk视频| 视频一区二区三区在线| 色综合一个色综合| 中文在线资源观看网站视频免费不卡| 蜜桃精品视频在线观看| 欧美日韩综合在线免费观看| 一级特黄大欧美久久久| 色综合网站在线| 亚洲色图在线视频| 99国产精品国产精品久久| 欧美国产一区在线| 福利一区福利二区| 久久精品一区二区三区av| 极品瑜伽女神91| ww久久中文字幕| 黑人巨大精品欧美一区| 欧美精品一区二区不卡 | 国产很黄免费观看久久| 日韩欧美一级片| 精品一区二区av| 精品福利一区二区三区免费视频| 蜜臀av性久久久久av蜜臀妖精| 欧美日本精品一区二区三区| 亚洲成a人v欧美综合天堂下载 | 国产精品456露脸| 国产亚洲欧洲一区高清在线观看| 国产在线看一区| 国产亚洲午夜高清国产拍精品| 国产乱码精品一品二品| 欧美精彩视频一区二区三区| 波多野结衣在线aⅴ中文字幕不卡| 国产人成一区二区三区影院| 成人av资源网站| 一区二区三区 在线观看视频| 欧美日韩久久不卡| 麻豆精品一区二区av白丝在线| 精品久久久久久亚洲综合网| 国产激情一区二区三区| ...xxx性欧美| 欧美高清hd18日本| 国产一区二区日韩精品| 国产精品高潮久久久久无| 色老头久久综合| 蓝色福利精品导航| 成人欧美一区二区三区黑人麻豆 | 久88久久88久久久| 国产亚洲欧美色| 色先锋aa成人| 日本不卡123| 国产精品视频一二三区| 欧美日韩美少妇| 国产成人免费视频 | 综合自拍亚洲综合图不卡区| 欧洲生活片亚洲生活在线观看| 免费看精品久久片| 中文字幕日韩av资源站| 欧美一区二区在线免费播放| 国产成人精品综合在线观看 | 国产一区福利在线| 亚洲色图欧洲色图| 欧美videossexotv100| 懂色av中文字幕一区二区三区| 尤物视频一区二区| 欧美—级在线免费片| 欧美日韩成人综合天天影院| 成人午夜视频福利| 美女视频黄频大全不卡视频在线播放| 国产精品视频免费| 日韩免费观看高清完整版在线观看| 99在线精品观看| 国产呦萝稀缺另类资源| 亚洲成av人片一区二区三区| 中文字幕欧美激情一区| 日韩美女视频在线| 欧美日韩激情在线| 91蝌蚪porny九色| 国产成人在线免费观看| 奇米精品一区二区三区在线观看| 中文字幕一区二区三区四区不卡| 日韩一区二区免费在线电影| 欧美在线高清视频| www.欧美日韩| 高潮精品一区videoshd| 国产乱人伦偷精品视频不卡| 蜜臀久久99精品久久久久宅男 | 国产成人午夜电影网| 麻豆视频一区二区| 丝袜脚交一区二区| 天天免费综合色| 亚洲一区二区3| 亚洲免费观看高清在线观看| 1024成人网| 日韩美女视频一区| 中文字幕日韩精品一区| 国产精品情趣视频| 国产精品欧美一区喷水| 中文子幕无线码一区tr| 久久久久久电影| 国产拍欧美日韩视频二区| 国产欧美一区二区在线| 欧美韩国一区二区| 亚洲色图丝袜美腿| 亚洲香蕉伊在人在线观| 一区二区三区四区在线播放| 亚洲人妖av一区二区| 亚洲三级小视频| 亚洲精品国产一区二区精华液 | 亚洲午夜免费视频| 五月婷婷综合激情| 免费成人av在线| 另类成人小视频在线| 国产一区二区三区在线观看免费| 精品在线播放免费| 国产精品一区二区在线观看不卡| 国产福利精品导航| 99视频精品在线| 91成人免费在线| 欧美美女直播网站| 欧美xxxxx裸体时装秀| 亚洲精品在线免费播放| 欧美国产精品中文字幕| 自拍偷拍欧美激情| 日韩在线卡一卡二| 国产乱国产乱300精品| 91在线一区二区| 欧美色精品天天在线观看视频| 日韩欧美资源站| 国产农村妇女毛片精品久久麻豆| 久久婷婷国产综合精品青草| 亚洲欧洲国产日本综合| 日日夜夜一区二区| 国产自产高清不卡| 91成人免费在线| 精品福利二区三区| 一区二区三区在线视频观看58| 日韩精品一级中文字幕精品视频免费观看 | 色哟哟一区二区三区| 欧美一区二区三区啪啪| 国产欧美一区二区在线| 亚洲小说春色综合另类电影| 国产曰批免费观看久久久| 一本色道**综合亚洲精品蜜桃冫 | 欧洲激情一区二区| 精品国产乱码久久久久久老虎| 国产精品入口麻豆原神| 热久久一区二区| 99国产精品国产精品久久| 欧美一区二区在线观看| 国产精品福利电影一区二区三区四区| 调教+趴+乳夹+国产+精品| 丁香亚洲综合激情啪啪综合| 欧美丰满嫩嫩电影| 国产精品久久精品日日| 免费观看在线色综合| 91免费观看国产| 国产亚洲精品精华液| 蜜臀av性久久久久蜜臀aⅴ| 色综合久久精品| 中文字幕av不卡| 国产一区二区美女| 欧美日韩在线三级| 亚洲欧美日本韩国| 粉嫩在线一区二区三区视频| 日韩亚洲欧美成人一区| 亚洲国产成人va在线观看天堂| 国产精品性做久久久久久| 69av一区二区三区| 亚洲成人av免费| 一本久久精品一区二区| 亚洲国产精品传媒在线观看| 久久国产精品99久久人人澡| 4438成人网| 天堂va蜜桃一区二区三区漫画版| 色婷婷综合在线| 综合久久久久久| 成人性生交大片免费看中文| 久久亚洲精品国产精品紫薇| 麻豆成人综合网| 欧美va日韩va| 韩国视频一区二区| 精品国产123| 国内精品写真在线观看| 精品福利一区二区三区免费视频| 老鸭窝一区二区久久精品| 欧美变态口味重另类| 美女一区二区在线观看| 2欧美一区二区三区在线观看视频| 美女一区二区三区在线观看|