|
|
1.1 ! root 1: /* ! 2: * Mach Operating System ! 3: * Copyright (c) 1992 Carnegie Mellon University ! 4: * All Rights Reserved. ! 5: * ! 6: * Permission to use, copy, modify and distribute this software and its ! 7: * documentation is hereby granted, provided that both the copyright ! 8: * notice and this permission notice appear in all copies of the ! 9: * software, derivative works or modified versions, and any portions ! 10: * thereof, and that both notices appear in supporting documentation. ! 11: * ! 12: * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" ! 13: * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR ! 14: * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. ! 15: * ! 16: * Carnegie Mellon requests users of this software to return to ! 17: * ! 18: * Software Distribution Coordinator or [email protected] ! 19: * School of Computer Science ! 20: * Carnegie Mellon University ! 21: * Pittsburgh PA 15213-3890 ! 22: * ! 23: * any improvements or extensions that they make and grant Carnegie Mellon ! 24: * the rights to redistribute these changes. ! 25: */ ! 26: ! 27: #define FA_BLCK 0x10000 ! 28: ! 29: #define FA_ROM 0x00000 ! 30: ! 31: #define FA_CTL 0x10000 ! 32: #define FA_STAT 0x10000 ! 33: #define I_RCV_CNT 0x00001 ! 34: #define I_RCV_EOM 0x00002 ! 35: #define I_RCV_TIM 0x00004 ! 36: #define I_XMT_CNT 0x00008 ! 37: #define I_RCV_LOS 0x00010 ! 38: #define I_RCV_CARRIER 0x00020 ! 39: #define FA_CR_S 0x10004 ! 40: #define FA_CR_C 0x10008 ! 41: #define FA_CR 0x1000C ! 42: #define ENI_RCV_CNT 0x00001 ! 43: #define ENI_RCV_END 0x00002 ! 44: #define ENI_RCV_TIM 0x00004 ! 45: #define ENI_XMT_CNT 0x00008 ! 46: #define EN_TEST 0x00010 ! 47: #define EN_UNUSED 0x00020 ! 48: #define EN_RCV 0x00040 ! 49: #define EN_XMT 0x00080 ! 50: #define RESET_RCV 0x00100 ! 51: #define RESET_XMT 0x00200 ! 52: #define FA_TIM 0x10010 ! 53: #define FA_TIM_SET 0x10018 ! 54: #define FA_RCV_CNT 0x10020 ! 55: #define FA_RCV_CMP 0x10028 ! 56: #define FA_XMT_CNT 0x10030 ! 57: #define FA_XMT_CMP 0x10038 ! 58: ! 59: ! 60: #define FA_DISCARD 0x20000 ! 61: #define FA_RCV 0x20000 ! 62: #define FA_RCV_HD 0x20000 ! 63: #define FA_RCV_PAYLD 0x20004 ! 64: #define FA_RCV_TR 0x20034 ! 65: ! 66: #define FA_XMT 0x30000 ! 67: #define FA_XMT_HD 0x30000 ! 68: #define FA_XMT_PAYLD 0x30004 ! 69: #define FA_XMT_TR 0x30034 ! 70: ! 71: #define FA_END 0x40000 ! 72: ! 73: ! 74: struct ecc { ! 75: /* 00000 */ char rom[FA_BLCK]; ! 76: /* 10000 */ int stat; ! 77: /* 10004 */ int cr_s; ! 78: /* 10008 */ int cr_c; ! 79: /* 1000C */ int cr; ! 80: /* 10010 */ int tim; ! 81: int fill1; ! 82: /* 10018 */ int tim_set; ! 83: int fill2; ! 84: /* 10020 */ int rcv_cnt; ! 85: int fill3; ! 86: /* 10028 */ int rcv_cmp; ! 87: int fill4; ! 88: /* 10030 */ int xmt_cnt; ! 89: int fill5; ! 90: /* 10038 */ int xmt_cmp; ! 91: int fill6; ! 92: char pad[FA_BLCK-0x40]; ! 93: ! 94: /* 20000 */ ! 95: /* 20000 */ char rcv[FA_BLCK]; ! 96: /* 30000 */ char xmt[FA_BLCK]; ! 97: }; ! 98: ! 99: struct sar { ! 100: int header; ! 101: int payload[12]; ! 102: int trailer; ! 103: }; ! 104: ! 105: typedef struct ecc ecc_t; ! 106: typedef struct sar sar_t; ! 107: ! 108: ! 109: ! 110:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.