DataMuseum.dk

Presents historical artifacts from the history of:

Regnecentalen RC-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Regnecentalen RC-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦6b9fdb730⟧ TextFile

    Length: 2054 (0x806)
    Types: TextFile
    Notes: UNIX file
    Names: »msl.h«

Derivation

└─⟦22cab2c1b⟧ Bits:30004042/kcaddon.imd SW95705I 386/ix Multi-user Release 1.2
└─⟦22cab2c1b⟧ UNIX Filesystem
    └─⟦this⟧ »KC/new/usr/include/sys/msl.h« 

TextFile

/* msl.h 87.05.13 */

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;
/*    10H */	};

/* 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;
/*    20H */	  struct mslbuf un_mslbuf;
/*    40H */	  struct chain un_sendbuf;
/*    48H */      int un_timeid;
/*    4CH */      ushort un_dropstate;
/*    4EH */      ushort un_fault;
/*    50H */	};

#define un_coupling	un_ptr.un_cpp
#define un_bootwindow	un_ptr.un_bpp

/* values of un_type */

#define LAN_TYPE	1
#define COM_TYPE	2
#define MUX_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 */	};

#include <sys/msl_def.h>