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

📄 swkconf.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:            %M%
*
*       Identification:         %Z% %I% %M%
*
*       Date:                   %G%  %U%
*
****************************************************************************
*/

/*
 RCS header identifier - $Id: swkconf.h,v 1.6 1993/12/14 19:14:14 robert Exp $
*/
/*
 * Copyrighted as an unpublished work.
 * (c) Copyright 1992-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 __SWKCONF_H
#define __SWKCONF_H

#ifdef __cplusplus
extern "C" {
#endif

#include "sys/conf.h"

/*******************************************************************************
 * driver / module configuration table
 */
struct sdev_tbl {
	char		sdt_name[FMNAMESZ+1];	/* driver/module name */
	int		sdt_attrib;		/* attributes */
	struct strapush	*sdt_apush;		/* auto push modules */
	struct streamtab *sdt_strtab;	/* driver/module streamtab */
};

/*
 * values for sdt_attrib
 */
#define SDT_SVR3	0x00	/* Release 3 open/close interface */
#define SDT_SVR4	0x01	/* Release 4 open/close interface */
#define SDT_MOD		0x02	/* Streams module */
#define SDT_DRV		0x04	/* Streams driver */

#ifdef KERNEL
extern struct sdev_tbl dmodsw[];
extern int swk_maxmajor;
#endif	/* KERNEL */

#ifdef __cplusplus
}
#endif

#endif	/* __SWKCONF_H */

⌨️ 快捷键说明

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