⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tmwrb_options.h

📁 可用于TM1300/PNX1300系列DSP(主要用于视频处理)压缩库即应用例子。
💻 H
字号:
/*
 *  +-------------------------------------------------------------------+
 *  | Copyright (c) 1995,2000 TriMedia Technologies Inc.                |
 *  |                                                                   |
 *  | This software  is furnished under a license  and may only be used |
 *  | and copied in accordance with the terms  and conditions of such a |
 *  | license  and with  the inclusion of this  copyright notice.  This |
 *  | software or any other copies of this software may not be provided |
 *  | or otherwise  made available  to any other person.  The ownership |
 *  | and title of this software is not transferred.                    |
 *  |                                                                   |
 *  | The information  in this software  is subject  to change  without |
 *  | any  prior notice  and should not be construed as a commitment by |
 *  | TriMedia Technologies.                                            |
 *  |                                                                   |
 *  | This  code  and  information  is  provided  "as is"  without  any |
 *  | warranty of any kind,  either expressed or implied, including but |
 *  | not limited  to the implied warranties  of merchantability and/or |
 *  | fitness for any particular purpose.                               |
 *  +-------------------------------------------------------------------+
 *
 *  Module name              : tmWRB_options.h    1.9
 *
 *  Module type              : header file
 *
 *  Title                    : tmWRB options file
 *
 *  Last update              : 16:19:51 - 00/06/16 
 *
 *  Description              : contains the tmWRB command line parser
 *                             options, Normal inclusion of this header
 *                             enumerates the option names for use with
 *                             Lib_CmdOpt in referring to options.
 */

/* 
    Defining _Eg_opts_impl, however, allows the header  to  be  included  as
    initialization data for an options table.
*/

#ifndef	_Eg_opts_impl
#ifndef	_Eg_opts_h
#undef	Def
#define	Def(name,o1,o2,typ,flags,dflt,descr)	Opt_##name,
enum {
#else
#undef	Def
#define	Def()
#endif
#endif

#ifdef _WIN32
#define MYSLASH "\\"
#else
#define MYSLASH "/"
#endif
   
/*  Table of option entries.
*/
Def(load,          "load",       "",  tsaCmdOptList,   0, "0x400000,0x800000",                "\t-load begin_mem,end_mem : Specify download memory region\n\t\tof input image-file\n")
Def(NoCompression, "nocomp",     "",  tsaCmdOptBool,   0, False,                              "\tDisable compression of image file\n")
Def(inmi,          "inmi",       "",  tsaCmdOptBool,   0, False,                              "\tSpecifies that input file contains a memory image\n\t\tDefault is that the input file is the standard application format.")
Def(out,           "out",        "",  tsaCmdOptBool,   0, False,                              "\tSpefies that packed input image will stored as \n\t\tstandard application format. Default is that the input file is stored as a memory image.")
Def(host,          "host",       "",  tsaCmdOptString, 0, "nohost",                           "\tSpecify one of the following types of host processor\n\t\tnohost    : No Host (default) \n\t\ttmsim     : TM Simulator is Host \n\t\tWin95     : Win95 is Host \n\t\tMacOS     : MacOS is Host \n\t\tWinNT     : WinNT is Host \n")
Def(tm_freq,       "tm_freq",    "",  tsaCmdOptInt,    0,	100000000,                          "\tSpecify the TM clock frequency.\n\t\t100000000 is default\n")
Def(mmio_base,     "mmio_base",  "",  tsaCmdOptInt,    0,	0xefe00000,                         "\tSpecify MMIO base address.\n\t\t0xefe00000 is default\n")
Def(cache_support, "cache",      "",  tsaCmdOptString, 0,"TMDwnLdr_LeaveCachingToDownloader", "\tSpecification of setting the resposiblity of setting\n\t\tthe cacheable limit and the cachelocked regions\n\tLeaveCachingToUser: cacheable limit and cachelocked\n\t\tregions are entirely under control of the user, the\n\t\tdownloader code won't touch it.\n\tLeaveCachingToDownloader: cachelocked regions and cacheble\n\t\tlimit are entirely under control of the downloader, which\n\t\twill use this control to intelligently map the different\n\t\tcached/uncached/ cachelocked sections within the specified\n\t\tsdram, partitioned in different caching property regions, \n\t\tand let the downloaded  program set cacheable limit and\n\t\tcachelocked regions accordingly. (default)\n\tCachesOff: cachelocked regions and cacheble limit are \n\t\tentirely under control of the downloader, which will let\n\t\tthe downloaded program run with 'cache off'.\n")
Def(bigendian,     "endian",     "e", tsaCmdOptString, 0, "b",                                "\tspecify endianness of WRB output file\n\t\t-eb for big endian (default)\n\t\t-el for little endian;\n")
Def(nostandard,    "nostandard", "",  tsaCmdOptBool,   0,False,                               "\tDisable usage of standard 'TriMedia' flash\n")
Def(flashbsp,     "flashbsp",  "fb",  tsaCmdOptBool,   0,True,                               "\tUse flash driver in BSP.\n")
Def(unshuffled,    "unshuffled", "",  tsaCmdOptBool,   0,False,                               "\tSpecifies that memory image input was build using the '-tmld -unshuffled --' parameter.")
Def(output,        "output",     "o", tsaCmdOptString, 0,"a.out",                             "\tname of WRB output-file that will be created.\n\t\tdefault output name is 'a.out'.\n")
Def(cflags,       "cflags",       "", tsaCmdOptString, 0,"",                                  "\tA string of arguements to pass to tmcc when compiling sources for WRB application.\n")
Def(ldflags,       "ldflags",    "",  tsaCmdOptString, 0,"",                                  "\tA string of arguements to pass to tmcc when linking for WRB application.\n")
Def(verbose,    "verbose",       "v", tsaCmdOptBool,  0,False,                               "\t specifies that out is verbose.")
#ifdef _WIN32
Def(tcspath,     "tcspath",      "tcs",  tsaCmdOptString, 0,"C:\\TriMedia",          "\t Current TCS path.\n")
Def(cpath,       "sourcefile", "cpath",  tsaCmdOptString, 0,".\\tmunpackboot","\t Path of required C file tmunpackboot.c.\n")
#else
Def(tcspath,     "tcspath",      "tcs",  tsaCmdOptString, 0,"/usr/local/tcs",          "\t Current TCS path.\n")
Def(cpath,       "sourcepath", "cpath",  tsaCmdOptString, 0,"./tmunpackboot","\t Path of required C file tmunpackboot.c.\n")
#endif

#if	!defined(_Eg_opts_impl) && !defined(_Eg_opts_h)
};					/* end of enum */
#define	_Eg_opts_h			/* prevent re-inclusion */
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -