diff options
author | dillon <dillon@FreeBSD.org> | 2001-12-09 01:57:09 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2001-12-09 01:57:09 +0000 |
commit | 6fe4980d4399bb62f3fa11609d93e5bf547d8f11 (patch) | |
tree | 984073874a0fe22a637b08b562d194a06c9231ee /sys/pc98 | |
parent | 2d4ab797edceb2f8ae654e137e3d0b2f1f94f8b3 (diff) | |
download | FreeBSD-src-6fe4980d4399bb62f3fa11609d93e5bf547d8f11.zip FreeBSD-src-6fe4980d4399bb62f3fa11609d93e5bf547d8f11.tar.gz |
Allow maxusers to be specified as 0 in the kernel config, which will
cause the system to auto-size to between 32 and 512 depending on the
amount of memory.
MFC after: 1 week
Diffstat (limited to 'sys/pc98')
-rw-r--r-- | sys/pc98/conf/GENERIC | 2 | ||||
-rw-r--r-- | sys/pc98/i386/machdep.c | 3 | ||||
-rw-r--r-- | sys/pc98/pc98/machdep.c | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/sys/pc98/conf/GENERIC b/sys/pc98/conf/GENERIC index a94f11c..278c9c8 100644 --- a/sys/pc98/conf/GENERIC +++ b/sys/pc98/conf/GENERIC @@ -23,7 +23,7 @@ cpu I486_CPU cpu I586_CPU cpu I686_CPU ident GENERIC -maxusers 32 +maxusers 0 #To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" #Default places to look for devices. diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index 4757520..6c05881 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -1756,7 +1756,7 @@ init386(first) kern_envp = (caddr_t)bootinfo.bi_envp + KERNBASE; /* Init basic tunables, hz etc */ - init_param(); + init_param1(); /* * make gdt memory segments, the code segment goes up to end of the @@ -1933,6 +1933,7 @@ init386(first) vm86_initialize(); getmemsize(first); + init_param2(physmem); /* now running on new page tables, configured,and u/iom is accessible */ diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 4757520..6c05881 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -1756,7 +1756,7 @@ init386(first) kern_envp = (caddr_t)bootinfo.bi_envp + KERNBASE; /* Init basic tunables, hz etc */ - init_param(); + init_param1(); /* * make gdt memory segments, the code segment goes up to end of the @@ -1933,6 +1933,7 @@ init386(first) vm86_initialize(); getmemsize(first); + init_param2(physmem); /* now running on new page tables, configured,and u/iom is accessible */ |