File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / sys / tahoe / calc_pte.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (7 years ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
Power 6/32 Unix version 1.2b


#include "../machine/pte.h"
#include "../h/param.h"
main()
{
	
#define	SYSPTSIZE0	(30+MAXUSERS)*(NPTEPG/4)
#define	SYSPTSIZE1	(20+MAXUSERS)*(NPTEPG/2)
#define	SYSPTSIZE2	((80*NPTEPG/2)+(MAXUSERS*NPTEPG/4))
#define	SYSPTSIZE3	(86+MAXUSERS)*(NPTEPG/4)
printf("	1.1r1	vax	rrr	dai\n");
printf("128	%d",(30+128)*(NPTEPG/4));
printf("	%d",(20+128)*(NPTEPG/2));
printf("	%d",((50*NPTEPG)+(128*NPTEPG/16)));
printf("	%d",(86+128)*(NPTEPG/4));
printf("\n");
printf(" 64	%d",(30+64)*(NPTEPG/4));
printf("	%d",(20+64)*(NPTEPG/2));
printf("	%d",((50*NPTEPG/2)+(64*NPTEPG/16)));
printf("	%d",(86+64)*(NPTEPG/4));
printf("\n");
printf(" 32	%d",(30+32)*(NPTEPG/4));
printf("	%d",(20+32)*(NPTEPG/2));
printf("	%d",((50*NPTEPG/2)+(32*NPTEPG/16)));
printf("	%d",(86+32)*(NPTEPG/4));
printf("\n");
printf("  8	%d",(30+8)*(NPTEPG/4));
printf("	%d",(20+8)*(NPTEPG/2));
printf("	%d",((50*NPTEPG/2)+(8*NPTEPG/16)));
printf("	%d",(86+8)*(NPTEPG/4));
printf("\n");
printf("  0	%d",(30+0)*(NPTEPG/4));
printf("	%d",(20+0)*(NPTEPG/2));
printf("	%d",((50*NPTEPG/2)+(0*NPTEPG/16)));
printf("	%d",(86+0)*(NPTEPG/4));
printf("\n");
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.