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

⟦1b9551c3f⟧ TextFile

    Length: 1189 (0x4a5)
    Types: TextFile
    Notes: UNIX file
    Names: »space.c«

Derivation

└─⟦69f23ffa1⟧ Bits:30004042/kconfig2.imd SW95705I 386/ix Multi-user Release 1.2
└─⟦69f23ffa1⟧ UNIX Filesystem
    └─⟦this⟧ »kc/new/etc/atconf/modules/pic/space.c« 

TextFile


/*	Copyright (c) 1984 AT&T	*/
/*	  All Rights Reserved  	*/

/*	THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T	*/
/*	The copyright notice above does not evidence any   	*/
/*	actual or intended publication of such source code.	*/

#ident	"@(#)space.c	1.1 - 87/05/12"

#include "sys/ipl.h"
#include "sys/pic.h"


/* Initialized data for Programmable Interupt Controllers */

unsigned short cmdport[NPIC]    /* command port addrs for pics */
	= { MCMD_PORT, SCMD_PORT };

unsigned short imrport[NPIC]    /* intr mask port addrs for pics */
	= { MIMR_PORT, SIMR_PORT };

unsigned char masterpic[NPIC]   /* index of this pic's master (for 82380) */
	= { 0, 0 };

unsigned char masterline[NPIC]  /* line on master this slave connected to */
	= { 0, MASTERLINE };

unsigned char intbase[NPIC]     /* intr number of this pic's IR0 */
	= { 0, SLAVEBASE };

unsigned char curmask[NPIC];    /* current pic masks */

unsigned char iplmask[IPLHI*NPIC];    /* pic masks for intr priority levels */

unsigned char picbuffered = PICBUFFERED;        /* PICs in buffered mode */

unsigned char i82380 = I82380;  /* i82380 chip used */

int npic = NPIC;                /* number of pics configured */