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

📄 civar.c

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 C
📖 第 1 页 / 共 3 页
字号:
    { CF_RPORT,  "cable a: transitioned from good to bad" },    { CF_RPORT,  "cable b: transitioned from good to bad" },    { CF_RPORT,  "cables: transitioned from uncrossed to crossed" },    { CF_LPORT,  "cable a: connectivity transitioned from good to bad" },    { CF_LPORT,  "cable b: connectivity transitioned from good to bad" },    { CF_UCODE,  "port microcode: not at supported revision level" },    { CF_LPORT,  "port lost power" },    { CF_LPORT,	 "stray interrupt" }},		ci_clre[] = {		/* CI Remote Error Event Table	     */    { CF_RPORT,  "remote port: state precludes communication" }},		ci_cle[] = {		/* CI Error Event Table		     */    { CF_NONE,   "port initialization: insufficient memory" },    { CF_NONE,   "port initialization: microcode verification error" },    { CF_REGS,   "port initialization: unable to start port" },    { CF_NONE,   "cables: all failed" },    { CF_PKT,    "received message: virtual circuit closed" },    { CF_NONE,   "remote port: invalid state" }},		ci_clse[] = {		/* CI Severe Error Event Table	     */    { CF_PKT,    "block data transfer: buffer memory system error" },    { CF_PKT,    "remote packet: invalid size" },    { CF_PKT,    "remote packet: unrecognized port operation code" },    { CF_PKT,    "received message: out-of-sequence" },    { CF_PKT,    "local/remote packet: invalid destination/source" },    { CF_PKT,    "local packet: invalid local buffer name" },    { CF_PKT,    "local packet: invalid local buffer length" },    { CF_PKT,    "block data transfer: local buffer access violation" },    { CF_PKT,    "local packet: invalid size" },    { CF_PKT,    "local packet: invalid destination" },    { CF_PKT,    "local packet: unknown port command" },    { CF_PKT,    "local packet: aborted port command" },    { CF_PKT,    "local packet: unknown status" },    { CF_PKT,    "local packet: unknown port operation code" },    { CF_PKT,    "local packet: invalid port operation code" },    { CF_REGS,   "port lost power" },    { CF_REGS,   "port lost and recovered power" },    { CF_NONE,   "port command queue 0: insertion failure" },    { CF_NONE,   "port command queue 1: insertion failure" },    { CF_NONE,   "port command queue 2: insertion failure" },    { CF_NONE,   "port command queue 3: insertion failure" },    { CF_NONE,   "port datagram free queue: insertion failure"},    { CF_NONE,   "port message free queue: insertion failure" },    { CF_NONE,   "port response queue: removal failure" },    { CF_NONE,   "port datagram free queue: removal failure" },    { CF_NONE,   "port message free queue: removal failure" },    { CF_REGS,   "memory system error occurred" },    { CF_BIREGS, "bi memory system error occurred" },    { CF_REGS2,  "port data structure error occurred" },    { CF_REGS,   "port parity error occurred" },    { CF_BIREGS, "bi parity error occurred" },    { CF_REGS2,  "port error bit( s ) set" },    { CF_BIREGS, "bi error bit( s ) set" },    { CF_REGS,   "port sanity timer expired" },    { CF_REGS,   "port message free queue: exhausted" },    { CF_PKT,    "received packet: invalid port address" },    { CF_PKT,    "received packet: invalid sequence number" },    { CF_PKT,    "received packet: invalid port datalink address" },    { CF_PKT,    "set circuit: insufficient VCD entries" },    { CF_PKT,    "set circuit: insufficient RESEQ resources" },    { CF_PKT,    "received packet: discarded VC packet" }},		ci_clfe[] = {		/* CI Fatal Error Event Table	     */    { CF_NONE,   "port initialization: insufficient memory" },    { CF_NONE,   "scs_system_id has not been set to a non-zero value" },    { CF_NONE,   "functional microcode: unable to locate" },    { CF_NONE,   "hardware port type: unknown" },    { CF_NONE,   "hardware port type: functional microcode does not match" },    { CF_NONE,   "port initialization: microcode verification error" },    { CF_REGS,   "port initialization: unable to start port" },    { CF_CPU,    "cpu microcode: not at required revision levels" },    { CF_REGS,   "port is permanently unavailable" },    { CF_PPR,    "port recognizes invalid maximum port number" },    { CF_UCODE,  "port microcode: invalid revision level" },    { CF_REGS2,  "port error bit( s ) set" }},		ci_clppdse[] = {	/* CI PPD Severe Error Event Table   */    { CF_NONE,	 NULL },    { CF_NONE,	 NULL },    { CF_NONE,   "attempt made to crash nonexistent path" },    { CF_NONE,	 "port failed ci ppd sanity check" },    { CF_NONE,	 NULL }};CLSTAB					/* CI Console Logging Table	     */	ci_cltab[ ES_FE + 1 ][ ESC_PPD + 1 ] = {					/* Severity == ES_I		     */    {  8,	ci_cli     },		/*     Subclass == ESC_PD( CI )      */    {  0,	NULL	   },		/*     Subclass == ESC_PPD( CI PPD ) */					/* Severity == ES_W		     */    {  8,	ci_clw     },		/*     Subclass == ESC_PD( CI )      */    {  0,	NULL	   },		/*     Subclass == ESC_PPD( CI PPD ) */					/* Severity == ES_RE		     */    {  1,	ci_clre    },		/*     Subclass == ESC_PD( CI )      */    {  0,	NULL	   },		/*     Subclass == ESC_PPD( CI PPD ) */					/* Severity == ES_E		     */    {  6,	ci_cle     },		/*     Subclass == ESC_PD( CI )      */    {  0,	NULL	   },		/*     Subclass == ESC_PPD( CI PPD ) */					/* Severity == ES_SE		     */    { 41,	ci_clse    },		/*     Subclass == ESC_PD( CI )      */    {  5,	ci_clppdse },		/*     Subclass == ESC_PPD( CI PPD ) */					/* Severity == ES_FE		     */    { 12,	ci_clfe    },		/*     Subclass == ESC_PD( CI )      */    {  0,	NULL       },		/*     Subclass == ESC_PPD( CI PPD ) */};u_long		ci_crctable[] = {	/* CI Loopback CRC Table	     */    0, 0x1DB71064, 0x3B6E20C8, 0x26D930AC, 0x76DC4190, 0x6B6B51F4, 0x4DB26158,    0x5005713C, 0xEDB88320, 0xF00F9344, 0xD6D6A3E8, 0xCB61B38C, 0x9B64C2B0,    0x86D3D2D4, 0xA00AE278, 0xBDBDF21C};					/* CI750/CI780/CIBCI Microcode	     */MRLTAB		ci7b_mrltable[] = {	/*  Revision Table		     *//* Additions to this table may require appropriate updating of CI7B_MAX_RAM * and CI7B_MAX_ROM. */	{  2,  2, UCODE_WARNING   },	/* RAM:  2  PROM:  2  - WARNING	     */	{  3,  3, UCODE_WARNING   },	/* RAM:  3  PROM:  3  - WARNING	     */	{  4,  3, UCODE_WARNING   },	/* RAM:  4  PROM:  3  - WARNING	     */	{  5,  3, UCODE_WARNING   },	/* RAM:  5  PROM:  3  - WARNING	     */	{  7,  7, UCODE_NOWARNING },	/* RAM:  7  PROM:  7  - NO WARNING   */	{  8,  7, UCODE_NOWARNING },	/* RAM:  8  PROM:  7  - NO WARNING   */	{ 32, 32, UCODE_NOWARNING },	/* RAM: 32  PROM: 32  - NO WARNING   */	{  0,  0, 0		  }},		cibca_aa_mrltab[] = {	/* CIBCA-AA Microcode Revision Table *//* Additions to this table may require appropriate updating of CIBCA_AA_MAXST * and CIBCA_AA_MAXFN.  When updating this table with a new functional * microcode revision level, add entries for each and every known self-test * microcode revision level.  In other words, when adding functional microcode * revision level n, add entries for( functional/self-test ): n/2, n/3, etc.... * If this is not done, a fatal error is detected(  invalid microcode revision * level ) during local port initialization and the port is taken permanently * offline.  This is a rather severe penalty to pay for failing to update the * on-board EEPROM with new self-test microcode, especially as the port is * fully usable. */	{  3,  2, UCODE_WARNING	  },	/* Fn:   3  St:    2  - WARNING	     */	{  4,  2, UCODE_WARNING   },	/* Fn:   4  St:    2  - WARNING	     */	{  5,  2, UCODE_WARNING   },	/* Fn:   5  St:    2  - WARNING	     */	{  3,  3, UCODE_WARNING	  },	/* Fn:   3  St:    3  - WARNING	     */	{  4,  3, UCODE_WARNING   },	/* Fn:   4  St:    3  - WARNING	     */	{  5,  3, UCODE_WARNING   },	/* Fn:   5  St:    3  - WARNING      */	{  6,  3, UCODE_WARNING   },	/* Fn:   6  St:    3  - WARNING      */	{  7,  3, UCODE_WARNING   },	/* Fn:   7  St:    3  - WARNING      */	{  5,  4, UCODE_NOWARNING },	/* Fn:   5  St:    4  - NO WARNING   */	{  6,  4, UCODE_NOWARNING },	/* Fn:   6  St:    4  - NO WARNING   */	{  7,  4, UCODE_NOWARNING },	/* Fn:   7  St:    4  - NO WARNING   */	{  5,  5, UCODE_NOWARNING },	/* Fn:   5  St:    5  - NO WARNING   */	{  6,  5, UCODE_NOWARNING },	/* Fn:   6  St:    5  - NO WARNING   */	{  7,  5, UCODE_NOWARNING },	/* Fn:   7  St:    5  - NO WARNING   */	{  0,  0, 0		  }},		cibca_ba_mrltab[] = {	/* CIBCA-BA Microcode Revision Table *//* Additions to this table may require appropriate updating of CIBCA_BA_MAXST * and CIBCA_BA_MAXFN.  When updating this table with a new functional * microcode revision level, add entries for each and every known self-test * microcode revision level.  In other words, when adding functional microcode * revision level n, add entries for( functional/self-test ): n/2, n/3, etc.... * If this is not done, a fatal error is detected(  invalid microcode revision * level ) during local port initialization and the port is taken permanently * offline.  This is a rather severe penalty to pay for failing to update the * on-board EEPROM with new self-test microcode, especially as the port is * fully usable. */	{  1,  1, UCODE_NOWARNING },	/* Fn:   1  St:    1  - NO WARNING   */	{  0,  0, 0		  }},		cixcd_mrltable[] = {	/* CIXCD Microcode Revision Table    *//* Additions to this table may require appropriate updating of CIXCD_MAXST * and CIXCD_MAXFN.  When updating this table with a new functional * microcode revision level, add entries for each and every known self-test * microcode revision level.  In other words, when adding functional microcode * revision level n, add entries for( functional/self-test ): n/2, n/3, etc.... * If this is not done, a fatal error is detected(  invalid microcode revision * level ) during local port initialization and the port is taken permanently * offline.  This is a rather severe penalty to pay for failing to update the * on-board EEPROM with new self-test microcode, especially as the port is * fully usable. */	{  1,  1, UCODE_NOWARNING },	/* Fn:   1  St:    1  - NO WARNING   */	{  0,  0, 0		  }},		cikmf_mrltable[] = {	/* CIKMF Microcode Revision Table    */	{  1,  1, UCODE_NOWARNING },	/* Fn:   1  St:    1  - NO WARNING   */	{  0,  0, 0		  }},		cishc_mrltable[] = {	/* CISHC Microcode Revision Table    */	{  1,  1, UCODE_NOWARNING },	/* Fn:   1  St:    1  - NO WARNING   */	{  0,  0, 0		  }};

⌨️ 快捷键说明

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