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

📄 swkextrn.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:            swkextrn.h
*
*       Identification:         @(#) 1.5 swkextrn.h
*
*       Date:                   1/6/94  16:28:33
*
****************************************************************************
*/

/*
 RCS header identifier - $Id: swkextrn.h,v 1.7 1993/10/05 18:08:19 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.
 */

/*******************************************************************************
 * swkextrn.h
 *
 * External data	- declared in startup.c
 *			- initialized in startup.c (unless otherwize stated)
 */
#ifndef __SWKEXTRN_H
#define __SWKEXTRN_H

#ifdef __cplusplus
extern "C" {
#endif

extern int nstrpush;		/* declared and initilaized in config.c */
extern int strmsgsz;		/* declared and initilaized in config.c */
extern int strctlsz;		/* declared and initilaized in config.c */
extern long strthresh;		/* declared and initilaized in config.c */

extern long strmemory;

extern int swk_maxmajor;	/* declared and initilaized in config.c */

extern stdata_t *swk_stractive;

extern queue_t *swk_strsrvhead;		/* head of queue service list */
extern queue_t *swk_strsrvtail;		/* tail of queue service list */

extern uchar	swk_iocidvalid[];
extern uchar	swk_iocids[];
extern int	swk_iocidfree;

struct bufcalls {
	struct bufcalls	*bc_next;
	unsigned int	bc_size;
	void		(*bc_func)(long);
	long		bc_arg;
	int		bc_id;
};
typedef struct bufcalls bufcall_t;

extern bufcall_t *swk_bcstrhead;
extern bufcall_t *swk_bcstrtail;
extern bufcall_t swk_bcstr[];
extern uchar	swk_bcstrids[];
extern int	swk_bcstridfree;

typedef struct {
	stdata_t *mx_ctrl;		/* controlling stream */
	stdata_t *mx_lower;	/* lower stream */
} swkmxid_t;
extern swkmxid_t swk_mxdata[];
extern char swk_mxidflst[];
extern int swk_mxidfree;

typedef struct {
	unsigned short	pmx_major;	/* internal major number of mux */
	stdata_t  *pmx_lower;	/* bottom queue */
} swkpmxid_t;
extern swkpmxid_t swk_pmxdata[];


int	swk_bumpref (dev_t, int);

#ifdef __cplusplus
}
#endif

#endif	/* __SWKEXTRN_H */

⌨️ 快捷键说明

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