|
|
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 - downloadIndex: T U s
Length: 1177 (0x499)
Types: TextFile
Notes: UNIX file
Names: »space.c«
└─⟦22cab2c1b⟧ Bits:30004042/kcaddon.imd SW95705I 386/ix Multi-user Release 1.2
└─⟦22cab2c1b⟧ UNIX Filesystem
└─⟦this⟧ »KC/new/etc/atconf/modules/mux/space.c«
/*
* mux_cfg structure
* contains the configuration details for the mux board.
*
* Lays out space for mux driver
*
* 87.04.23 movewd from rc39 to xyz
*/
#include "sys/types.h"
#include "sys/param.h"
#include "sys/tty.h"
#include "sys/dir.h"
#include "sys/signal.h"
#include "sys/user.h"
#include "sys/immu.h"
#include "sys/region.h"
#include "sys/proc.h"
#include "sys/chain.h"
#include "sys/msl.h"
#include "sys/card.h"
#ifdef VPIX
#include "sys/tss.h"
#include "sys/v86.h"
#endif
#include "sys/mux.h"
#include "sys/muxtrace.h"
#include "sys/csem.h"
struct chain_sem attnsem;
struct mux_cfg mux_cfg[] = {
0,0,0, /* 386 - dummy */
1,0,63, /* LAN1 */
2,64,127, /* LAN2 */
3,0,0, /* not used for the moment */
4,0,0, /* not used for the moment */
5,128,175, /* MUX1 */
6,176,223, /* MUX2 */
};
#define NUMITC (sizeof(mux_cfg) / sizeof(struct mux_cfg))
#define CHANS 224 /* Total number of channels supported */
#define MUXTSIZE 1024 /* number of trace records */
int nitc = NUMITC;
int nchans = CHANS;
struct mux_chan channel[CHANS];
struct mux_board muxs[NUMITC];
struct muxtrace muxtbuf[MUXTSIZE];
int mt_top = MUXTSIZE;
struct t7bit close_seq[128];