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

📄 sysvars.h

📁 用于TM1300/PNX1300系列DSP(主要用于视频处理)的操作系统pSOS。包括全部源码
💻 H
字号:
/***********************************************************************//*                                                                     *//*   MODULE:  sysvars.h   1.5                                                *//*   DATE:    14:55:50 - 00/07/25                                                *//*   PURPOSE: System variables structure definition                    *//*                                                                     *//*---------------------------------------------------------------------*//*                                                                     *//*           Copyright 1991 - 1993, 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. *//*                                                                     *//***********************************************************************/#ifndef SYSVARS_H#define SYSVARS_H#if defined(__cplusplus)    extern "C" {#endif#define SERIAL_DRVRNUM(x)	(x)/*---------------------------------------------------------------------*//* These parameters correspond to the SD_ parameters in sys_conf.h     *//* They are the parameters which may be stored and retrieved in the    *//* board's parameter storage area.  In addition, the optional startup  *//* configuration dialog can be used to change them.                    *//*---------------------------------------------------------------------*/struct SD_parms    {    /*-----------------------------------------------------------------*/    /* Debug Mode determines how pROBE+ wil operate:                   */    /*   DBG_SA - Standalone mode                                      */    /*   DBG_XS - Communicating with host debugger via serial link     */    /*   DBG_XN - Communicating with host debugger via network         */    /*   DBG_AP - Start the application immediately (using "silent     */    /*            startup").  pROBE+ should be configured to run in    */    /*            standalone mode.                                     */    /*-----------------------------------------------------------------*/    unsigned char DebugMode;    unsigned char Pad1[3];    /*-----------------------------------------------------------------*/    /* These variables control miscellaneous basic characteristics     */    /* of the system:                                                  */    /*   StartupDelay - If the startup configuration dialog is         */    /*                  configured, it will wait this many seconds     */    /*                  for input from the serial channel              */    /*   DefBaud - Initial baud rate to use for the serial channels.   */    /*             (Applications may change the baud rate via          */    /*             de_ctrl() calls)                                    */    /*   VmeBaseAddr - The base address of the board's dual-ported     */    /*                 memory, as seen from the VMEbus.  Not used      */    /*                 on non-VME boards (BSP_VME = NO)                */    /*-----------------------------------------------------------------*/    unsigned long StartupDelay;    unsigned long DefBaud;    unsigned long VmeBaseAddr;    /*-----------------------------------------------------------------*/    /* DefGtwyIP is used when networking is enabled to specify a       */    /* "default gateway" node where packets should be sent in the      */    /* absence of other routing information.                           */    /*-----------------------------------------------------------------*/    unsigned long DefGtwyIP;    /*-----------------------------------------------------------------*/    /* These variables control the LAN interface.  If SC_PNA and/or    */    /* BSP_LAN1 is FALSE, they are ignored.                            */    /*   Lan1 - TRUE if LAN interface should be enabled                */    /*   Lan1IP - IP address for the LAN interface.  0 indicates that  */    /*            RARP should be used to obtain the IP address.        */    /*   Lan1SubnetMask - Subnet mask to use for the LAN interface     */    /*-----------------------------------------------------------------*/    unsigned char Lan1;    unsigned char Pad2[3];    unsigned long Lan1IP;    unsigned long Lan1SubnetMask;    /*-----------------------------------------------------------------*/    /* If a shared memory interface is to be used (either NI or KI or  */    /* both), it must have a node number, which is a small integer.    */    /* SmNode holds this number.                                       */    /*-----------------------------------------------------------------*/    unsigned long SmNode;      /*-----------------------------------------------------------------*/    /* These variables control the shared memory network interface.    */    /*   Nism - TRUE if SMNI should be enabled                         */    /*   NismIP - IP address to use for the interface                  */    /*   NismSubnetMask - Subnet mask to use for the interface         */    /*   NismDiraddr - Bus address of the system-wide "directory"      */    /*           structure for the interface.                          */    /* Note that SmNode, above, is also relevant to the SMNI.          */    /*-----------------------------------------------------------------*/    unsigned char Nism;       unsigned char Pad3[3];    unsigned long NismIP;      unsigned long NismSubnetMask;    unsigned long NismDiraddr;    /*-----------------------------------------------------------------*/    /* These variables control the shared memory kernel interface.     */    /*   Kism - 0 if KISM should not be enabled.  A non-zero value     */    /*          indicates that the SMKI should be enabled.  In this    */    /*          case "Kism" should be set to the total number of nodes */    /*          in the system.  SmNode (defined above here) is set     */    /*          to this node's node number, which must be in the range */    /*          1 through "Kism".                                      */    /*   KismDiraddr - Bus address of the system-wide "directory"      */    /*          structure for the interface                            */    /*-----------------------------------------------------------------*/    unsigned long Kism;    unsigned long KismDiraddr;    }; #if defined(__cplusplus)    }#endif#endif

⌨️ 快捷键说明

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