UPAGES kernel constant

Ralph E Droms droms at PURDUE.ARPA
Sat May 25 23:14:43 AEST 1985


I'm trying to make some changes to the user structure in 4.2BSD and have
run into a problem with a hard-wired constant in sys/machine/param.h.

Can someone tell me how the constant UPAGES is determined?  Is it:

number of pages in struct user + SSIZE		??

If so, is there a reason it cannot be computed by the compiler?  And,
there's a related problem with genassym.c/assym.s.  Genassym.c is
compiled with KERNEL not defined.  This forces sys/h/param.h to include
<machine/param.h>, rather than ../machine/param.h.  So, UPAGES must be
changed in both .h files for the kernel to be remade correctly.

					- Ralph

-- 
Ralph Droms					ihnp4!purdue!droms
445 MATH					droms at purdue.arpa
Dept. of Computer Science			droms at purdue.csnet
Purdue University
West Lafayette, IN 47906




----------



More information about the Comp.unix.wizards mailing list