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

📄 sys_conf.h

📁 wince host 和 target PCI驱动程序
💻 H
📖 第 1 页 / 共 3 页
字号:
/***********************************************************************//*                                                                     *//*   MODULE:  sys_conf.h                                               *//*   DATE:    95/09/15                                                 *//*   PURPOSE: pSOSystem configuration definitions                      *//*                                                                     *//*---------------------------------------------------------------------*//*                                                                     *//*           Copyright 1991 - 1995, Integrated Systems, Inc.           *//*                      ALL RIGHTS RESERVED                            *//*                                                                     *//*   Permission is hereby granted to licensees of Integrated Systems,  *//*   Inc. products to use or abstract this computer program for the    *//*   sole purpose of implementing a product based on Integrated        *//*   Systems, Inc. products.   No other rights to reproduce, use,      *//*   or disseminate this computer program, whether in part or in       *//*   whole, are granted.                                               *//*                                                                     *//*   Integrated Systems, Inc. makes no representation or warranties    *//*   with respect to the performance of this computer program, and     *//*   specifically disclaims any responsibility for any damages,        *//*   special or consequential, connected with the use of this program. *//*                                                                     *//*---------------------------------------------------------------------*//*                                                                     *//*   This is a header file which defines all of the system-level       *//*   parameters that are likely to need changing.                      *//*                                                                     *//*   It has been set up to be as close as possible to the settings     *//*   which are appropriate for this application.  However, you may     *//*   need to make some changes to parameters to reflect your           *//*   environment, such as IP addresses, etc.                           *//*                                                                     *//*   Chapter 7 of the pSOSystem Getting Started manual contains a      *//*   complete description of the symbols that are defined in this      *//*   file.                                                             *//*                                                                     *//***********************************************************************/#if defined(__cplusplus)extern "C" {#endif#ifndef _SYS_CONF_H#define _SYS_CONF_H/***********************************************************************//*                                                                     *//*  These symbols are used to define other symbols in this file.       *//*  They should never be changed.                                      *//*                                                                     *//***********************************************************************/#define YES     1#define NO      0#define USE_RARP 0#define DBG_SA    1  /* Standalone pROBE debugging */#define DBG_XS    2  /* talk to host debugger via RS-232 */#define DBG_XN    3  /* talk to host debugger via network */#define DBG_AP    4  /* Run application (w/ pROBE in standalone mode) */#define STORAGE   5  /* Get SD_'s from storage area */#define SYS_CONF  6  /* Get SD_'s from #defines set in this file *//***********************************************************************//*                                                                     *//*                 B A S I C   P A R A M E T E R S                     *//*                                                                     *//*  The parameters in this section determine the fashion in which      *//*  many of the other parameters in this file will be used.            *//*                                                                     *//*  Many of the parameters in this file have names beginning with      *//*  either "SC_" or "SD_".  Those beginning with "SC_" are ALWAYS      *//*  controlled by the values you set in this file.  The values of      *//*  the "SD_" parameters can be determined either by the definitions   *//*  given in this file, or by the data found in the target board's     *//*  parameter storage area.  SC_SD_PARAMETERS determines this.  If     *//*  SC_SD_PARAMETERS is "SYS_CONF", then the values given in this      *//*  file will be used for the SD_ parameters.  If SC_SD_PARAMETERS     *//*  is "STORAGE", then pSOSystem will attempt to use the values found  *//*  in the board's parameter storage area for the SD_ variables.  If   *//*  the parameter storage area has not been initialized or has been    *//*  corrupted, then the values given in this file will be used.  They  *//*  will also be written to the storage area.                          *//*                                                                     *//*  If SC_SD_PARAMETERS is STORAGE, you may enable a "startup dialog"  *//*  which will allow you to view, and optionally change, the           *//*  parameter values found in the storage area.  The dialog is enabled *//*  by setting SC_STARTUP_DIALOG to YES.  In this case,                *//*  SD_STARTUP_DELAY specifies the number of seconds that the dialog   *//*  will wait for input before proceeding to boot the system.          *//*                                                                     *//*  SE_DEBUG_MODE determines how the system will operate, as follows:  *//*                                                                     *//*     DBG_SA: Boot pROBE+ in standalone mode.                         *//*                                                                     *//*     DBG_XS: Boot into pROBE+ and wait for the host debugger         *//*             via a serial connection                                 *//*                                                                     *//*     DBG_XN: Boot into pROBE+ and wait for the host debugger         *//*             via a network connection                                *//*                                                                     *//*     DBG_AP: Same as DBG_SA, but also does a pROBE+ "silent startup",*//*             meaning that pROBE+ initializes itself without          *//*             printing a startup banner.  pROBE+ then initializes     *//*             pSOS+ and starts the application running.   This mode   *//*             was created to simplify implementation of the pSOSystem *//*             Boot ROMs.  Note that when this mode is used, the value *//*             you specify for RC_SMODE (see "pROBE+ Configuration     *//*             Parameters", below) is overridden.                      *//*                                                                     *//*    STORAGE: Use the mode (DBG_SA, DBG_XS, or DBG_XN) found in the   *//*             parameter storage area.  If a valid mode is not found,  *//*             then use DBG_SA.                                        *//*                                                                     *//*  An important consequence of using SE_DEBUG_MODE = STORAGE should   *//*  be noted.  If you use the TFTP bootloader in the pSOSystem ROMs    *//*  to download and start your system, you will be setting             *//*  SE_DEBUG_MODE = DBG_AP in your target board's parameter storage    *//*  area.  Thus, if you have left SE_DEBUG_MODE set to STORAGE in      *//*  this file, your downloaded system will also use DBG_AP, meaning    *//*  that the application will begin running immediately after the      *//*  TFTP bootloader has loaded and started your system.                *//*                                                                     *//***********************************************************************/#define SC_SD_PARAMETERS    STORAGE#define SC_STARTUP_DIALOG   NO#define SC_BOOT_ROM         NO#define SD_STARTUP_DELAY    60#define SE_DEBUG_MODE       STORAGE/***********************************************************************//*                                                                     *//*        O P E R A T I N G   S Y S T E M   C O M P O N E N T S        *//*                                                                     *//*  Setting the definition line to YES will cause that component to    *//*  be built into the system.  NO means the component will NOT be      *//*  put into the system.  It is an error to specify both SC_PSOS       *//*  and SC_PSOSM as present!                                           *//*                                                                     *//***********************************************************************/#if 0     The choice between pSOS+ and pSOS+m and the choice for using PNA,     are now defined in TCS standard psos makefile.     See for instance $(TCS)/examples/psos/psos_demo1#define SC_PSOS             YES  /* pSOS+ real-time kernel */#define SC_PSOSM            NO   /* pSOS+ real-time multiprocessing kernel */#define SC_PNA              NO   /* pNA+ TCP/IP networking manager */#endif#define SC_PROBE            NO  /* pROBE+ (processor svcs) */#define SC_PROBE_DISASM     YES  /* pROBE+ (disassembler) */#define SC_PROBE_CIE        YES  /* pROBE+ (console executive) */#define SC_PROBE_QUERY      YES  /* pROBE+ (query services) */#define SC_PROBE_DEBUG      NO   /* pROBE+ (debug interface executive) */#define SC_PHILE            NO   /* pHILE+ file system manager */#define SC_PREPC            NO   /* pREPC+ C run-time library */#define SC_PRPC             NO   /* pRPC+ RPC component */#define SC_PSE              NO   /* pSE+ streams component */#define SC_PTLI             NO   /* pTLI+ TLI library component */#define SC_PSKT             NO   /* pSKT+ SKT library component */#define SC_PMONT            NO   /* pMONT+ *//***********************************************************************//*                                                                     *//*      S E R I A L   C H A N N E L   C O N F I G U R A T I O N        *//*                                                                     *//*  * SD_DEF_BAUD specifies the default baud rate to be used for the   *//*    serial channels                                                  *//*  * SC_APP_CONSOLE specifies the serial channel number (starting     *//*    from 1) which should be used for the application's "console".    *//*  * SC_PROBE_CONSOLE specifies the serial channel number (starting   *//*    from 1) which pROBE+ should use to display output and receive    *//*    commands, or to communicate with the host debugger.              *//*  * SC_RBUG_PORT specifies the serial channel number (starting       *//*    from 1) which should be used for the pROBE+ REMOTE DEBUG Channel.*//*    SC_APP_CONSOLE and SC_RBUG_PORT cannot be same port numbers.     *//*                                                                     *//***********************************************************************/#define SD_DEF_BAUD           9600#define SC_APP_CONSOLE        1#define SC_PROBE_CONSOLE      1#define SC_RBUG_PORT          0/***********************************************************************//* SC_NumNon_pSOSChan is the number of non pSOS users of serial        *//* channels. These are users that will be initiated before pSOS        *//* such as pROBE.                                                      *//* NOTE: These channels will not be closed on a soft reset.            *//***********************************************************************/#define SC_NumNon_pSOSChan 1/***********************************************************************//*                                                                     *//*              L A N   C O N F I G U R A T I O N                      */

⌨️ 快捷键说明

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