|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 3405 (0xd4d) Types: TextFile Notes: Uncompressed file
└─⟦ce621b962⟧ Bits:30004623 Controller Environment R. 1.2 (5.25 inch) └─⟦ce621b962⟧ UNIX Filesystem └─⟦d6788557b⟧ »CTENV.ISC/new/usr/include/sys/msl.h.Z« └─⟦d6788557b⟧ »CTENV.SCO/new/usr/include/sys/msl.h.Z« └─⟦e03896eec⟧ Bits:30004624 Controller Environment R. 1.2 (3.5 inch) └─⟦e03896eec⟧ UNIX Filesystem └─⟦d6788557b⟧ »CTENV.ISC/new/usr/include/sys/msl.h.Z« └─⟦d6788557b⟧ »CTENV.SCO/new/usr/include/sys/msl.h.Z« └─⟦this⟧
/* msl.h 87.05.13 */ /* 89.05.29 streams transfer */ #ident "@(#)msl.h 1.1 - 91/11/14" struct gate_tab { int (* ip)(); }; /* offset */ struct mslbuf { /* 0H,1H */ char mb_unit, mb_gate; /* 2H */ ushort mb_fill; /* 4H */ ushort mb_ident; /* 6H */ char mb_data[26]; /* 20H */ }; /* offset */ struct x_buf { /* 0H */ struct chain chain; /* 8H */ struct mslbuf * xb_buf; /* CH */ char xb_state; /* DH */ char xb_stream; /* EH */ ushort xb_user; /* 10H */ int (* xb_ack)(); /* 14H */ }; /* offset */ struct unit { /* */ union { /* 0H */ struct boot_window * un_bpp; /* 0H */ struct coupling * un_cpp; /* 0H */ } un_ptr; /* 4H */ short un_credit; /* 6H */ ushort un_status; /* 8H */ ushort un_no; /* AH */ ushort un_wno; /* CH */ unchar un_waiting; /* DH */ unchar un_type; /* EH */ ushort un_memsize; /* 10H */ struct x_buf un_xbuf; /* 24H */ struct mslbuf un_mslbuf; /* 44H */ struct chain un_sendbuf; /* 4CH */ int un_timeid; /* 50H */ ushort un_dropstate; /* 52H */ ushort un_fault; /* 54H */ }; #define un_coupling un_ptr.un_cpp #define un_bootwindow un_ptr.un_bpp /* values of un_type */ #define NONE_TYPE 0 #define RCLAN_TYPE 1 #define RCCOM_TYPE 2 #define RCMUX_TYPE 3 /* drop states */ #define D_INIT 0 #define D_WATCHDOG 1 #define D_TIMEOUT 2 #define D_ERROR 3 #define D_USER 4 \f /* offset */ struct coupling { /* 0H */ ushort cp_386_intmask, /* 2H */ cp_board_intmask, /* 4H */ cp_upmask; /* 6H */ char cp_outcredit, /* 7H */ cp_outbuffer; /* 8H */ struct mslbuf cp_outbuf; /* 28H */ ushort cp_faultcode; /* 2AH */ char cp_incredit, /* 2BH */ cp_inbuffer; /* 2CH */ struct mslbuf cp_inbuf; /* 4CH */ }; #define CP_EXCLUDE 0x8000 /* offset */ struct exwait { /* 0H */ struct chain chain; /* 8H */ ushort ex_flag; /* AH */ ushort ex_no; /* CH */ struct proc * ex_proc; /* 10H */ struct x_buf ex_xbuf; /* 20H */ struct unit * ex_unit; /* 24H */ struct mslbuf ex_buffer; /* 44H */ }; #define EXSEND 1 #define EXREC 2 #define EXSIG 4 #define EXERROR 8 #define EXEND 16 #define XUNIT 0 #define XB_FREE 0 #define XB_WAITING 1 /* FF protocol */ #define POLL 0 /* gates on LAN, COM or MUX */ #define SUPER_GATE 0 #define IMC_GATE 1 #define CSPTERM_INITGATE 2 #define CSPTERM_RUNGATE 3 #define CSPHOST_GATE 4 #define MUX_GATE 4 #define IMCAH_GATE 5 /* for consistency -- gate between LAN & COM */ #define LPH_INITGATE 6 #define LPH_RUNGATE 7 #define LPH_GATE 7 /* 880329/HCA kindly supplied by JOS */ #define TPL_GATE 8 #define TPW_GATE 10 #define NPW_GATE 11 /* local gates are defined in msl.c 0: supervisor gate 1: exchange gate 2: mux driver init gate 3: mux driver running gate 4: imc gate */ \f /* unit state bits */ #define US_PRESENT 0x01 #define US_LOAD 0x02 #define US_RUN 0x04 #define US_INTERRUPT 0x08 #define US_ERROR 0x10 #define US_BDEBUG 0x20 #define US_ALLOCATED 0x40 #define US_SELFTEST 0x80 /* unit states */ #define US_NOTPRESENT 0x10 #define US_LOADING 0x03 #define US_RUNNING 0x05 #define US_INTERRUPTED 0x0D #define US_LOADMASK 0x4B #define INITLOAD 1