summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1996-03-12 15:37:58 +0000
committerdg <dg@FreeBSD.org>1996-03-12 15:37:58 +0000
commit4673b20df958499becc8cf99763415e5cfc23a9a (patch)
treed658278b460556356de0846f2a1af979cf7eca51 /sys/amd64
parent34430e67f4de9a11b2a6b6477c7ebf84d4fd246f (diff)
downloadFreeBSD-src-4673b20df958499becc8cf99763415e5cfc23a9a.zip
FreeBSD-src-4673b20df958499becc8cf99763415e5cfc23a9a.tar.gz
Killed some historical #define cruft that we've never used in FreeBSD:
UDOT_SZ SYSPTSIZE USRPTSIZE MSGBUFPTECNT DMMIN DMMAX DMTEXT USRIOSIZE VM_PHYS_SIZE
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/genassym.c7
-rw-r--r--sys/amd64/include/vmparam.h23
2 files changed, 2 insertions, 28 deletions
diff --git a/sys/amd64/amd64/genassym.c b/sys/amd64/amd64/genassym.c
index 8c3b7e9..a71e519 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: genassym.c,v 1.30 1995/12/07 12:45:30 davidg Exp $
+ * $Id: genassym.c,v 1.31 1996/01/04 20:28:29 wollman Exp $
*/
#include "opt_sysvipc.h"
@@ -87,7 +87,6 @@ main()
struct sigframe *sigf = (struct sigframe *)0;
struct bootinfo *bootinfo = (struct bootinfo *)0;
- printf("#define\tUDOT_SZ %d\n", sizeof(struct user));
printf("#define\tP_FORW %p\n", &p->p_forw);
printf("#define\tP_BACK %p\n", &p->p_back);
printf("#define\tP_VMSPACE %p\n", &p->p_vmspace);
@@ -120,16 +119,12 @@ main()
printf("#define\tAPTDPTDI 0x%x\n", APTDPTDI);
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);
#ifdef SYSVSHM
printf("#define\tSHMMAXPGS %d\n", SHMMAXPGS);
#endif
printf("#define\tUSRSTACK 0x%lx\n", USRSTACK);
printf("#define\tVM_MAXUSER_ADDRESS 0x%lx\n", VM_MAXUSER_ADDRESS);
printf("#define\tKERNBASE 0x%x\n", KERNBASE);
- printf("#define\tMSGBUFPTECNT %d\n", btoc(sizeof (struct msgbuf)));
printf("#define\tMCLBYTES %d\n", MCLBYTES);
printf("#define\tPCB_LINK %p\n", &pcb->pcb_tss.tss_link);
printf("#define\tPCB_ESP0 %p\n", &pcb->pcb_tss.tss_esp0);
diff --git a/sys/amd64/include/vmparam.h b/sys/amd64/include/vmparam.h
index 8ff3b45..942f742 100644
--- a/sys/amd64/include/vmparam.h
+++ b/sys/amd64/include/vmparam.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)vmparam.h 5.9 (Berkeley) 5/12/91
- * $Id: vmparam.h,v 1.17 1995/01/09 16:04:44 davidg Exp $
+ * $Id: vmparam.h,v 1.18 1995/05/25 07:41:28 davidg Exp $
*/
@@ -70,21 +70,6 @@
#define USRTEXT (1*NBPG) /* base of user text XXX bogus */
/*
- * Default sizes of swap allocation chunks (see dmap.h).
- * The actual values may be changed in vminit() based on MAXDSIZ.
- * With MAXDSIZ of 16Mb and NDMAP of 38, dmmax will be 1024.
- */
-#define DMMIN 32 /* smallest swap allocation */
-#define DMMAX 4096 /* largest potential swap allocation */
-#define DMTEXT 1024 /* swap allocation for text */
-
-/*
- * Sizes of the system and user portions of the system page table.
- */
-#define SYSPTSIZE (2*NPTEPG)
-#define USRPTSIZE (2*NPTEPG)
-
-/*
* Size of the Shared Memory Pages page table.
*/
#ifndef SHMMAXPGS
@@ -92,11 +77,6 @@
#endif
/*
- * Size of User Raw I/O map
- */
-#define USRIOSIZE 1024
-
-/*
* The time for a process to be blocked before being very swappable.
* This is a number of seconds which the system takes as being a non-trivial
* amount of real time. You probably shouldn't change this;
@@ -128,6 +108,5 @@
/* virtual sizes (bytes) for various kernel submaps */
#define VM_KMEM_SIZE (32 * 1024 * 1024)
-#define VM_PHYS_SIZE (USRIOSIZE*CLBYTES)
#endif /* _MACHINE_VMPARAM_H_ */
OpenPOWER on IntegriCloud