diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1993-10-10 02:09:44 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1993-10-10 02:09:44 +0000 |
commit | a1e11f4c954ed8021103bc1b47b9cb24c9cba21b (patch) | |
tree | fe5e7c81970b92646a722ab10ba45f41f1fd9fe9 /sys/amd64 | |
parent | 0ba82aebc9d99e6d96bd5822478f3b4af285bf74 (diff) | |
download | FreeBSD-src-a1e11f4c954ed8021103bc1b47b9cb24c9cba21b.zip FreeBSD-src-a1e11f4c954ed8021103bc1b47b9cb24c9cba21b.tar.gz |
Added PDRSHIFT and KERNSIZE so that the PDR offsets can be calculated in
locore.s instead of being constants (3F8, 3FA).
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/genassym.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/amd64/amd64/genassym.c b/sys/amd64/amd64/genassym.c index c9bc2c2..1b695c6 100644 --- a/sys/amd64/amd64/genassym.c +++ b/sys/amd64/amd64/genassym.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)genassym.c 5.11 (Berkeley) 5/10/91 - * $Id$ + * $Id: genassym.c,v 1.2 1993/10/08 20:45:07 rgrimes Exp $ */ #include "sys/param.h" @@ -97,6 +97,7 @@ main() printf("#define\tNBPG %d\n", NBPG); printf("#define\tNPTEPG %d\n", NPTEPG); printf("#define\tPGSHIFT %d\n", PGSHIFT); + printf("#define\tPDRSHIFT %d\n", PDRSHIFT); printf("#define\tSYSPTSIZE %d\n", SYSPTSIZE); printf("#define\tUSRPTSIZE %d\n", USRPTSIZE); printf("#define\tUSRIOSIZE %d\n", USRIOSIZE); @@ -105,6 +106,7 @@ main() #endif printf("#define\tUSRSTACK %d\n", USRSTACK); printf("#define\tKERNBASE %d\n", KERNBASE); + printf("#define\tKERNSIZE %d\n", KERNSIZE); printf("#define\tMSGBUFPTECNT %d\n", btoc(sizeof (struct msgbuf))); printf("#define\tNMBCLUSTERS %d\n", NMBCLUSTERS); printf("#define\tMCLBYTES %d\n", MCLBYTES); |