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

📄 sys_conf.h

📁 wm PNE 3.3 source code, running at more than vxworks6.x version.
💻 H
📖 第 1 页 / 共 5 页
字号:
#define SD_LAN1_IP            0x00000000  /* IP address of the node    */#define SD_LAN1_SUBNET_MASK   0x00000000  /* subnet mask for the node  *//***********************************************************************//*                                                                     *//*                B U S   C O N F I G U R A T I O N                    *//*                                                                     *//*                                                                     *//***********************************************************************/#define SD_VME_BASE_ADDR      0x01000000  /* VME bus base address      *//***********************************************************************//*                                                                     *//*      S H A R E D   M E M O R Y   C O N F I G U R A T I O N          *//*                                                                     *//*                                                                     *//***********************************************************************//*---------------------------------------------------------------------*//* If you want to build a "Shared Memory Interface" for the network    *//* set SD_SM_NODE to the node number of this node ( a non-zero value). *//*---------------------------------------------------------------------*/#define SD_SM_NODE            0      /* Node number for this node      *//*---------------------------------------------------------------------*//* Shared memory network interface (SMNI) - SC_NISM_LEVEL should be 1  *//* if this will be the FIRST system to use the SMNI on this board.  It *//* should be 2 if this will not be the first system to use SMNI on this*//* board.  Usually this means that SC_NISM_LEVEL should be 1 if you    *//* are building Boot ROMs, and 2 for a system that will be downloaded  *//* and started using the Boot ROMs.  See the comments at the beginning *//* of drivers/ni_smem.c for more explanation.                          *//*---------------------------------------------------------------------*/#define SD_NISM               NO       /* Disable/Enable Shared Mem NI */#define SD_NISM_IP            0x00000000    /* IP address of this node */#define SD_NISM_DIRADDR       0x00000400 /* Bus addr of SMNI directory */#define SC_NISM_BUFFS         30            /* Num of buffers for SMNI */#define SC_NISM_LEVEL         2         /* SMNI Level, 1 if first node */#define SD_NISM_SUBNET_MASK   0x00000000 /* Subnet mask for the SMNI   *//***********************************************************************//*                                                                     *//*         M I S C E L L A N E O U S   N E T W O R K I N G             *//*                       P A R A M E T E R S                           *//*                                                                     *//***********************************************************************/#define SD_DEF_GTWY_IP        0x00000000  /* Default gateway IP address*//***********************************************************************//* SC_RAM_SIZE define controls the end of RAM as seen by pSOSystem.    *//* If it is set to zero, then pSOSystem uses ALL of the memory         *//* remaining on a board for dynamic allocation ("region 0"). You may   *//* override this by setting SC_RAM_SIZE to a non-zero value. If you do,*//* pSOSystem will not touch any memory after the specified address.    *//*                                                                     *//* NOTE: This is useful when making a BOOT ROM and you want to ensure  *//* that the ROM's RAM area does not overflow the space allocated for it*//***********************************************************************/#define SC_RAM_SIZE           0/***********************************************************************//*                                                                     *//*                     I / O   D E V I C E S                           *//*                                                                     *//*  Each device may be included in the system by specifying a major    *//*  number for it, which determines its slot in the pSOS+ I/O switch   *//*  table.  To leave a device driver out of the system, use NO for     *//*  the major number.                                                  *//*                                                                     *//*  Note the following:                                                *//*                                                                     *//*    * Major device 0 is reserved and cannot be used for any of these *//*      devices.  Setting a device number to 0 here is the same as NO. *//*                                                                     *//*    * No device number may be higher than SC_DEVMAX (SC_DEVMAX may   *//*      be increased, if desired)                                      *//*                                                                     *//*    * The lines defining the symbols DEV_SERIAL, DEV_TIMER, etc,     *//*      should not be changed.  These are for use by application       *//*      programs as the "device number" parameter on de_* calls.       *//*                                                                     *//***********************************************************************/#define SC_DEV_SERIAL         1         /* 1  Serial driver            */#define SC_DEV_TIMER          2         /* 2  Periodic tick timer      */#define SC_DEV_RAMDISK       NO         /* 3  RAM disk                 */#define SC_DEV_CONSOLE       NO         /* 4  PC-Console driver        */#define SC_DEV_SCSI          NO         /* 5  SCSI bus                 */#define SC_DEV_SCSI_TAPE     NO         /* 6  SCSI bus, tape device    */#define SC_DEV_IDE           NO         /* 7  IDE Driver               */#define SC_DEV_FLOPPY        NO         /* 8  Floppy Driver            */#define SC_DEV_NTFTP         NO         /* 9  New TFTP pseudo driver   */#define SC_DEV_TFTP          NO         /* 10 TFTP pseudo driver       */#define SC_DEV_HTTP          NO         /* 11 HTTP pseudo driver       */#define SC_DEV_SPI           NO         /* 12 SPI driver               */#define SC_DEV_DLPI          NO         /* 13 DLPI pseudo driver       */#define SC_DEV_PSCONSOLE     NO         /* 14 Pseudo Console driver    */#define SC_DEV_MEMLOG        NO         /* 15 Memory log driver        */#define SC_DEV_RDIO          NO         /* 16 pROBE+ RDIO driver       */#define SC_DEV_NULL          17         /* 17 Null Device Driver       */#define SC_DEV_PARALLEL      NO         /* 18 Parallel Port Driver     */#define SC_DEV_CMOS          NO         /* 19 CMOS Driver              */#define SC_DEV_WATCHDOG      NO         /* 20 Watchdog Driver          */#define SC_DEV_LOG           NO         /* 21 STREAMS log driver       */#define SC_DEV_PSMUX         NO         /* 22 Sample Mux driver        */#define SC_DEV_PSLWR         NO         /* 23 Sample loopback driver   */#define SC_DEV_SLLWR         NO         /* 24 Sample loopback driver   */#define SC_DEV_PIPE          NO         /* 25 Pipe Driver              */#define SC_DEV_SIMCONSOLE    NO         /* 26 pSOSim Console Driver    */#define SC_DEVMAX            26         /* Maximum device number       */#define DEV_SERIAL      (SC_DEV_SERIAL     << 16)#define DEV_PARALLEL    (SC_DEV_PARALLEL   << 16)#define DEV_TIMER       (SC_DEV_TIMER      << 16)#define DEV_RAMDISK     (SC_DEV_RAMDISK    << 16)#define DEV_SCSI        (SC_DEV_SCSI       << 16)#define DEV_SCSI_TAPE   (SC_DEV_SCSI_TAPE  << 16)#define DEV_PSCONSOLE   (SC_DEV_PSCONSOLE  << 16)#define DEV_SYSCONSOLE  ((SC_DEV_PSCONSOLE  << 16) + SYSCONSOLE_DEV)#define DEV_PSEUDO      ((SC_DEV_PSCONSOLE  << 16) + PSEUDO_DEV)#define DEV_STDIN       ((SC_DEV_PSCONSOLE  << 16) + STDIN_DEV)#define DEV_STDOUT      ((SC_DEV_PSCONSOLE  << 16) + STDOUT_DEV)#define DEV_STDERR      ((SC_DEV_PSCONSOLE  << 16) + STDERR_DEV)#define DEV_NULL        (SC_DEV_NULL       << 16)#define DEV_MEMLOG      (SC_DEV_MEMLOG     << 16)#define DEV_RDIO        (SC_DEV_RDIO       << 16)#define DEV_DLPI        (SC_DEV_DLPI       << 16)#define DEV_TFTP        (SC_DEV_TFTP       << 16)#define DEV_NTFTP       (SC_DEV_NTFTP      << 16)#define DEV_HTTP        (SC_DEV_HTTP       << 16)#define DEV_SPI         (SC_DEV_SPI        << 16)#define DEV_WATCHDOG    (SC_DEV_WATCHDOG   << 16)#define DEV_FLOPPY      (SC_DEV_FLOPPY     << 16)#define DEV_IDE         (SC_DEV_IDE        << 16)#define DEV_CMOS        (SC_DEV_CMOS       << 16)#define DEV_CONSOLE     (SC_DEV_CONSOLE    << 16)#define DEV_LOG         (SC_DEV_LOG        << 16)#define DEV_PSMUX       (SC_DEV_PSMUX      << 16)#define DEV_PSLWR       (SC_DEV_PSLWR      << 16)#define DEV_SLLWR       (SC_DEV_SLLWR      << 16)#define DEV_PIPE        (SC_DEV_PIPE       << 16)#define DEV_SIMCONSOLE  (SC_DEV_SIMCONSOLE << 16)/***********************************************************************//*            p S E U D O   D R I V E R   D E F I N E S                *//*                                                                     *//* The defines below control the behavour of the pSEUDO driver if the  *//* SC_DEV_PSCONSOLE is enabled.                                        *//*                                                                     *//***********************************************************************/#define	SC_PSCNSL_SHARED_CHAN	2        /* Num of shared channels     */#define	SC_PSCNSL_PRIVATE_CHAN	4        /* Number of private channels */#define	SC_PSCNSL_MAX_CUSTOM	1        /* NUmber of custome device   */#define	SC_PSCNSL_DEFAULT_DEV	CONSOLE  /* Default console device     *//***********************************************************************//*           T F T P   D R I V E R   C O N F I G U R A T I O N         *//*                                                                     *//* The defines below define the Configuration Parameters needed by the *//* TFTP driver.                                                        *//*                                                                     *//***********************************************************************/#define SC_MAX_TFTP_CHAN    1       /* Maximum number of TFTP channels *//***********************************************************************//*           H T T P    S E R V E R   C O N F I G U R A T I O N        *//*                                                                     *//* The SC_MAX_HTTP_CHAN define controls the maximum number of HTTP     *//* channels in the system.                                             *//*                                                                     *//***********************************************************************/#define SC_MAX_HTTP_CHAN    1/***********************************************************************//*        P I P E   D R I V E R   C O N F I G U R A T I O N            *//*                                                                     *//* The SC_MAX_PIPE_CHAN define controls the maximum number of PIPE     *//* channels that will be configured in the system.                     *//*                                                                     *//***********************************************************************/#define SC_MAX_PIPE_CHAN    1/***********************************************************************//*                                                                     *//*              M M U   L I B R A R Y   P A R A M S                    *//*                                                                     *//* The SC_MMULIB define controls the MMU library call-outs when pROBE+ *//* is entered. Setting this to YES enables the callouts, while setting *//* this to NO disables the callouts when pROBE+ is entered and BSP_MMU *//* is enabled.                                                         *//*                                                                     *//***********************************************************************/#define SC_MMULIB  NO/***********************************************************************//*                                                                     *//* C O M P O N E N T   C O N F I G U R A T I O N   P A R A M E T E R S *//*                                                                     *//*  These parameters should work as is for this application.  You      *//*  may want to change some of them if you start customizing this      *//*  application.                                                       *//*                                                                     *//***********************************************************************/

⌨️ 快捷键说明

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