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

📄 config.h

📁 VRTX 商用嵌入式实时操作系统
💻 H
字号:
/***************************************************************************
*
*               Copyright (c) 1993 READY SYSTEMS CORPORATION.
*
*       All rights reserved. READY SYSTEMS' source code is an unpublished
*       work and the use of a copyright notice does not imply otherwise.
*       This source code contains confidential, trade secret material of
*       READY SYSTEMS. Any attempt or participation in deciphering, decoding,
*       reverse engineering or in any way altering the source code is
*       strictly prohibited, unless the prior written consent of
*       READY SYSTEMS is obtained.
*
*
*       Module Name:            config.h
*
*       Identification:         @(#) 2.2 config.h
*
*       Date:                   9/16/94  17:53:25
*
****************************************************************************
*/

/*
 RCS header identifier - $Id: config.h,v 1.3 1995/04/23 03:03:31 sriram Exp $
*/
/*
 * Copyrighted as an unpublished work.
 * (c) Copyright 1993 Lachman Technology, Incorporated
 * All rights reserved.
 * 
 * RESTRICTED RIGHTS
 * 
 * These programs are supplied under a license.  They may be used,
 * disclosed, and/or copied only as permitted under such license
 * agreement.  Any copy must contain the above copyright notice and
 * this restricted rights notice.  Use, copying, and/or disclosure
 * of the programs is strictly prohibited unless otherwise provided
 * in the license agreement.
 */

#ifndef __CONFIG_H
#define __CONFIG_H

#ifdef __cplusplus
extern "C" {
#endif

/*
 * Applications
 */
/* #define ARP				   arp application */
#define NETSTAT				/* netstat application */
#define PING				/* ping application */
/* #define RLOGIN			   rlogin application */
#define RLOGIND				/* rlogind application */
#define TTCP				/* ttcp application */

#define IOCTL				/* STREAMware Test Suite ioctl_f app */
#define SYSCAL				/* STREAMware Test Suite syscal_f app */
#define MISC				/* STREAMware Test Suite misc_f app */
#define UTIL				/* STREAMware Test Suite util_f app */
#define STRESS				/* STREAMware Test Suite stress_f app */

#define STLI				/* TLI Test Suite server app */
#define CTLI				/* TLI Test Suite client app */
#define TLILOOK				/* TLI Test Suite look app */
#define TLILKTP				/* TLI Test Suite lktp app */
#define TLILOOP				/* TLI Test Suite loop app */
#define TLILPTP				/* TLI Test Suite lptp app */



/*
 * Package components
 */
#define SIGNALS				/* STREAMware signal support */
#define TLI				/* TLI library support */
#define SOCKETS				/* Socket library support */
#define SWTCP_RARP			/* Reverse ARP support */



/*
 * Drivers
 */
/* #define CONSOLE			   STREAMware console driver */
/* #define CONSOLE_MID 100		*/
/* #define CONSOLE_NAME "console"	*/

#define LOG				/* STREAMware strlog driver */
#define LOG_MID 101
#define LOG_NAME "log"

#define TCP				/* TCP networking TCP driver */
#define TCP_MID 300
#define TCP_NAME "tcp"

#define UDP				/* TCP networking UDP driver */
#define UDP_MID 301
#define UDP_NAME "udp"

#define ICMP				/* TCP networking ICMP driver */
#define ICMP_MID 302
#define ICMP_NAME "icmp"

#define RIP				/* TCP networking Raw IP driver */
#define RIP_MID 303
#define RIP_NAME "rip"

#define IP				/* TCP networking IP driver */
#define IP_MID 304
#define IP_NAME "ip"

#define LO				/* TCP networking Loopback driver */
#define LO_MID 305
#define LO_NAME "lo"

#define ARPPROC				/* TCP networking ARP proc module */
#define ARPPROC_MID 306
#define ARPPROC_NAME "arpproc"

#define ARP				/* TCP networking ARP driver */
#define ARP_MID 307
#define ARP_NAME "arp"

/* #define WDE0				   network IF WD ethernet driver */
/* #define WDE0_MID 308			*/
/* #define WDE0_NAME "wde0"		*/

#define	LE				/* network IF Lance ethernet driver */
#define LE_MID 310
#define LE_NAME "le"

#define SLIP				/* serial line IP driver SLIP */
#define SLIP_MID 311
#define SLIP_NAME "slip"

#define LLC				/* serial line IP driver SLIP */
#define LLC_MOD_ID 312
#define LLC_NAME "llc"

#define LOOP				/* STREAMware Test Suite LOOP driver */
#define LOOP_MID 400
#define LOOP_NAME "loop"

#define STN				/* STREAMware Test Suite STN module */
#define STN_MID 500
#define STN_NAME "stn"

#define STM				/* STREAMware Test Suite STM driver */
#define STM_MID 501
#define STM_NAME "stm"

#define STL				/* STREAMware Test Suite STL driver */
#define STL_MID 502
#define STL_NAME "stl"

#define TIRDWR				/* TLI read/write module */
#define TIRDWR_MID 309
#define TIRDWR_NAME "tirdwr"



/*
 * Misc. module IDs (used by strlog())
 */
#define STRHD_MID	1		/* stream head */



/*
 * Global option definitions
 */
#define SVR4_STYLE	1		/* new style open close interface */



/*
 * These are used by eeconfig.c
 */
#ifdef LE
#define LE_UNITS	1
#define LE_0_SIOA	0x330
#define LE_0_VECT	9
#define LE_CHAN		5
#endif

#ifdef WDE0
#define WDE
#define WDE_0_SIOA	0x300
#define WDE_0_VECT	10
#define WDE_0_SCMA	0xcc000
#define WDE_0_ECMA	0xcdfff
#define WDE_0_BOARDTYPE	SB16BIT		/* B8BIT B16BIT	*/
#endif

#ifdef __cplusplus
}
#endif

#endif /* __CONFIG_H */

⌨️ 快捷键说明

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