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

📄 scb.h

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 H
字号:
/*	@(#)scb.h	4.1	ULTRIX	7/2/90	   *//************************************************************************ *									* *			Copyright (c) 1985,86 by			* *		Digital Equipment Corporation, Maynard, MA		* *			All rights reserved.				* *									* *   This software is furnished under a license and may be used and	* *   copied  only  in accordance with the terms of such license and	* *   with the  inclusion  of  the  above  copyright  notice.   This	* *   software  or  any  other copies thereof may not be provided or	* *   otherwise made available to any other person.  No title to and	* *   ownership of the software is hereby transferred.			* *									* *   The information in this software is subject to change  without	* *   notice  and should not be construed as a commitment by Digital	* *   Equipment Corporation.						* *									* *   Digital assumes no responsibility for the use  or  reliability	* *   of its software on equipment which is not supplied by Digital.	* *									* ************************************************************************//* ------------------------------------------------------------------------ * Modification History: /sys/vax/scb.h *	 * 	03-Feb-1986	jaw -- added macros for setting scb vectors * * ------------------------------------------------------------------------ *//* * VAX System control block layout */struct scb {	int	(*scb_stray)(); 	/* reserved */	int	(*scb_machchk)();	/* machine chack */	int	(*scb_kspinval)();	/* KSP invalid */	int	(*scb_powfail)();	/* power fail */	int	(*scb_resinstr)();	/* reserved instruction */	int	(*scb_custinst)();	/* XFC instr */	int	(*scb_resopnd)();	/* reserved operand */	int	(*scb_resaddr)();	/* reserved addr mode */	int	(*scb_acv)();		/* access control violation */	int	(*scb_tnv)();		/* translation not valid */	int	(*scb_tracep)();	/* trace pending */	int	(*scb_bpt)();		/* breakpoint instr */	int	(*scb_compat)();	/* compatibility mode fault */	int	(*scb_arith)(); 	/* arithmetic fault */	int	(*scb_stray2)();	int	(*scb_stray3)();	int	(*scb_chmk)();		/* CHMK instr */	int	(*scb_chme)();		/* CHME instr */	int	(*scb_chms)();		/* CHMS instr */	int	(*scb_chmu)();		/* CHMU instr */	int	(*scb_sbisilo)();	/* SBI silo compare */	int	(*scb_cmrd)();		/* corrected mem read data */	int	(*scb_sbialert)();	/* SBI alert */	int	(*scb_sbiflt)();	/* SBI fault */	int	(*scb_wtime)(); 	/* memory write timeout */	int	(*scb_stray4[8])();	int	(*scb_soft[15])();	/* software interrupt */	int	(*scb_timer)(); 	/* interval timer interrupt */	int	(*scb_stray5)();	int	(*scb_ctr1)();	       /* serial line units */	int	(*scb_ctx1)();	int	(*scb_ctr2)();	       /* serial line units */	int	(*scb_ctx2)();	int	(*scb_ctr3)();	       /* serial line units */	int	(*scb_ctx3)();	int	(*scb_stray6[4])();	int	(*scb_csdr)();		/* console storage receive */	int	(*scb_csdx)();		/* console storage transmit */	int	(*scb_ctr)();		/* console terminal receive */	int	(*scb_ctx)();		/* console terminal transmit */	int	(*scb_ipl14[16])();	/* device interrupts IPL 14 */	int	(*scb_ipl15[16])();	/*   "		"    IPL 15 */	int	(*scb_ipl16[16])();	/*   "		"    IPL 16 */	int	(*scb_ipl17[16])();	/*   "		"    IPL 17 */	struct	scb_pg {		int	(*scb_pageoff[128])();	/* Unibus 1 device intr */	}scb_page[32];};#define SCB_UNIBUS_PAGEOFFSET(ubanumber) \		(((((int) (UNIvec + (128*ubanumber))) << 1) \		- (((int) &scb.scb_stray) << 1)) >> 1)#define SCB_UNIBUS_PAGE(ubanumber) \	(UNIvec + (128*ubanumber))#ifdef KERNELextern	struct scb scb;/* scb.scb_ubaint is the same as UNIvec */#endif#define scbentry(f, how)		((int (*)())(((int)f)+how))#define SCB_KSTACK	0#define SCB_ISTACK	1#define SCB_WCS 	2#define SCB_HALT	3

⌨️ 快捷键说明

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