/*********************************************************************** * file: h/sys/space.h * part#: * internal sequence#: * * ************************************************************** * * " c Copyright Hewlett-Packard Company, 1984.* All * * * rights are reserved. Copying or other reproduction * * * of this program except for archival purposes is * * * prohibited without the prior written consent of * * * Hewlett-Packard Company." * * ************************************************************** * * Pisces Q-DOS project * Andy Rood Kernel project lead * ----------------------------------------------------- * initial 11/82 alr * add rammap[] 2/16/83 alr * add drammap[] 5/17/83 alr */ /* interrupt dispatch table */ #define NVECS 46 struct dispatch { short disp_ins; /* contains a jsr instruction */ long disp_addr; /* jsr address */ short disp_vnum; /* contains vector number later */ } dispatch[NVECS]; #include "sys/acct.h" struct acct acctbuf; struct inode *acctp; struct cblock cfree[NCLIST]; #include "sys/buf.h" struct buf bfreelist; /* head of the free list of buffers */ struct buf buf[NBUF]; /* buffer headers */ char buffers [NBUF][BSIZE]; struct hbuf hbuf[NHBUF]; /* buffer hash table */ #include "sys/file.h" struct file file[NFILE]; /* file table */ #include "sys/inode.h" struct inode inode[NINODE]; /* inode table */ #include "sys/proc.h" struct proc proc[NPROC]; /* process table */ #include "sys/text.h" struct text text[NTEXT]; /* text table */ #include "sys/map.h" struct map swapmap[SMAPSIZ]; struct map rammap[0x200]; /* ram allocation table 1k granule size */ /* allow 512 granules max for now */ struct map drammap[0x100]; /* dynamic ram memory map 256byte granules */ /* allow 256 granules max */ #include "sys/callo.h" struct callo callout[NCALL]; #include "sys/mount.h" struct mount mount[NMOUNT]; #ifdef notdef /* * removed to reduce rom space */ #include "sys/elog.h" #include "sys/err.h" struct err err = { NESLOT, }; #endif #include "sys/sysinfo.h" struct sysinfo sysinfo; struct syswait syswait; #include "sys/var.h" struct var v = { NBUF, NCALL, NINODE, (char *)(&inode[NINODE]), NFILE, (char *)(&file[NFILE]), NMOUNT, (char *)(&mount[NMOUNT]), NPROC, (char *)(&proc[1]), NTEXT, (char *)(&text[NTEXT]), NCLIST, NSABUF, MAXUP, SMAPSIZ, NHBUF, NHBUF-1 };