ragge
f2996b0e79
Add dkbad, from 4.4.
2002-04-21 20:56:33 +00:00
gmcgarry
6e066ba77a
Add commented-out USERCONF option. Mainly useful for install media
...
and can be optionally enabled based on miniroot and ramdisk size
requirements.
2002-04-12 08:10:45 +00:00
matt
361b1bae1a
Add stand/pcs
2002-04-09 18:03:48 +00:00
matt
d054aa6537
Move installation of pcs750.bin from etc/etc.vax to here so we can get an
...
object directory.
2002-04-09 18:03:07 +00:00
matt
110c3a2bbf
Use ${PROG}.sym in CLEANFILES
2002-04-07 07:00:25 +00:00
ragge
04b9c4c25a
Fix crash problems reported by mrg and bouyer in separate mails.
2002-04-04 16:40:14 +00:00
ragge
98ac85610c
Check that each region is inuse before freeing their related extent.
...
This fixes (hopefully) PR#16164.
2002-04-02 09:47:34 +00:00
lukem
d213d804f7
Rename MEMORY_DISK_SIZE (formerly MINIROOTSIZE) to MEMORY_DISK_ROOT_SIZE,
...
which was suggested by Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> as
being more consistent with what it's controlling...
2002-04-02 05:30:34 +00:00
ragge
205b746c87
Wrap up SHMMAXPGS to 1024, no reason to keep it low.
2002-04-01 13:28:10 +00:00
christos
83c2f7aaf5
compat signal array renaming.
2002-03-31 22:21:02 +00:00
matt
15bab55a0c
These haven't been use for a long time. Move 'em to the attic.
2002-03-31 07:32:18 +00:00
matt
a5b7362c83
Don't build boot.mop. Remove a redundant ${INSTALL_FILE}
2002-03-31 07:30:22 +00:00
matt
71f2ffe1e7
In db_stack_dump, only symbolize pc if it's in the text segment.
2002-03-31 00:14:18 +00:00
matt
015bf59476
Make ddb symbol loading work for ELF as well a.out.
2002-03-31 00:11:13 +00:00
matt
dac318e592
Make ramdisk 1.5MB in size. cleanup miniroot makefile
2002-03-29 06:37:53 +00:00
matt
ced55d92b0
Add a xxboot_ustarfs for floppies.
2002-03-29 05:45:07 +00:00
matt
9eed702ba1
Don't include <bsd.prog.mk> if HOSTPROG is defined (so vax installboot can
...
become a host tool as nbvax-installboot).
2002-03-29 00:58:38 +00:00
matt
de12aa443d
Add missing wskbd
2002-03-28 05:45:08 +00:00
matt
8d529326e9
Adapt to recent dz/wscons changes
2002-03-28 05:42:16 +00:00
matt
e00090dded
Make the comment reflect reality a bit more.
2002-03-27 18:37:17 +00:00
jdolecek
abc9dff158
Limit the KVA used for pipe loaned memory to 64KB, vax doesn't have too
...
much KVA space spare. This fixes port-vax/13333 by Manuel Bouyer.
Reviewed by: Anders Magnusson
XXX this is not ideal, need to find better solution
2002-03-24 19:08:17 +00:00
ragge
300bbc803f
Check unit number when booting from rl disks.
2002-03-23 18:13:04 +00:00
ragge
c034dd5209
Inline functions that mostly do not need to be called. Partly
...
rearrange/change the code to be able to avoid some inefficient functions.
Profiling shows that the time spent in pmap now is decreased by 20%. (!)
2002-03-21 22:08:08 +00:00
christos
7e277b5782
kill remaining PS_STRINGS instances.
2002-03-20 17:59:22 +00:00
atatat
31144d9976
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
...
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
2002-03-17 19:40:26 +00:00
ad
690cf19e33
Give wskbdmap_lk201.c its own attribute.
2002-03-13 15:18:19 +00:00
ragge
fe503fb96f
Major update of the vax pmap:
...
- Reinstall the "dynamic page table length" that was removed some
years ago.
- Limit the user page table submap to max 5% of available memory.
- Free the page table space when a process is swapped out.
- If the UPT submap runs out of space, throw away pmap mappings
using the same algorithm as for swapping processes.
As a result of this, 4MB machines are useable again and it's even possible
to compile a kernel for 2MB machines (but it will be slow... :-)
Still to do:
- Multiprocessor fixes.
- More profiling.
2002-03-10 22:32:31 +00:00
lukem
cd19d52695
* rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
...
are now consistently named
* fold opt_mdsize.h into opt_md.h
2002-03-10 19:56:37 +00:00
tsutsui
3c8b0446fe
Change type of dumpmag to u_int32_t since it is actually
...
a 32bit unsigned magic number.
As per discussion on tech-kern, and fixes port-sparc64/11949.
2002-03-06 13:10:18 +00:00
simonb
9bcc70fa1d
Don't cast argument to ffs() to long.
...
Per discussion on port-alpha, noticed by Robert Elz.
2002-03-05 09:40:38 +00:00
simonb
6f0fb25121
Don't need to declare phys_map - it is declared in <uvm/uvm_extern.h>.
2002-03-04 02:43:22 +00:00
ragge
16cd24dea4
usrptsize was not correct calculated, fixed.
...
Add space to system page table for the UVM kernel area.
This fixes the KVM usage problem that Manuel Bouyer reported a while ago.
2002-03-01 23:55:10 +00:00
simonb
4324f37586
Use "#define<tab>".
2002-02-28 03:17:23 +00:00
christos
e8116a8f5b
- Use DEV_ constants, instead of documenting the numbers!
...
- Delete cdev_decl(mm); where appropriate, and other hand-crufting [hi powerpc!]
2002-02-27 01:20:51 +00:00
simonb
d9ab16ba2f
Purge CLSIZE, CLSIZELOG2 and MCLOFSET.
...
Be consistant in the way that MSIZE, MCLSHIFT, MCLBYTES and NMBCLUSTERS
are defined.
Remove old VM constants from cesfic port.
Bump MSIZE to 256 on mipsco (the only one that wasn't already 256).
2002-02-26 15:13:19 +00:00
ad
3f78ffdeca
Argh, dont reference any wscons parts in files.dec yet.
2002-02-25 17:11:17 +00:00
ad
f89bb3064e
Move the dz driver to dev/dec, since it can be shared with pmax.
2002-02-25 14:58:06 +00:00
matt
28b1aa2b30
Move .s files to .S files. (and .s.o rules in boot/Makefile.inc)
...
Put in register prefixes everywhere.
2002-02-24 01:04:23 +00:00
matt
17a0652faf
Change the default entry for ELF.
2002-02-24 00:17:42 +00:00
matt
6cad4b795d
Upon further reflection, move udiv/urem to libkern and out of vax/vax.
2002-02-24 00:08:19 +00:00
matt
87806a826d
Rename VAX kernel assembly source from .s to .S (the NetBSD standard)
2002-02-23 23:48:00 +00:00
thorpej
9d6e94072b
Bump the default data limit to 32M and the max data limit to 64M.
...
These are the same values that the hp300 port uses (lesser hp300s
have roughly the same memory constraints as "lesser" vaxen), and
bumping them allows us to run a statically linked ELF groff(1).
2002-02-19 22:44:35 +00:00
wiz
37e458fa45
strategy should have an 'r'. Inspired by similar change in OpenBSD.
2002-02-19 17:09:40 +00:00
matt
ae8db582d5
Add code to pass symbol table from loadfile to kernel.
2002-02-18 23:06:14 +00:00
chs
b744097a5f
allow writing to write-only mappings. fixes PR 3493.
2002-02-14 07:08:02 +00:00
thorpej
c71d1b0307
Don't pass -mno-pic if we're using ELF.
2002-02-11 00:25:19 +00:00
thorpej
f7d5e6da06
Remove blkclr() and blkcpy(); similar routines have been added to
...
libkern.
2002-02-10 22:06:45 +00:00
thorpej
30bdf5c12e
* Add __unused__ attribute to inline functions.
...
* Call __blkclr() and __blkset() as appropriate.
2002-02-10 22:06:12 +00:00
lukem
971861de37
use ${INSTALL_FILE} as appropriate
2002-02-09 09:35:59 +00:00
jdolecek
6d265bd894
add options PIPE_SOCKETPAIR to individual kernel configs
...
the option is commented out on everything but kernels I was able
to recognize as INSTALL-like or ones for small memory machines
2002-01-27 13:23:08 +00:00
jdolecek
ff8305bbac
Switch to MI dev/md_root.c for archs which don't have any special
...
memory disk hooks (i.e. everything except atari).
2002-01-21 21:56:57 +00:00
oster
39b858e3bf
Add new RF_* options for RAIDframe bits that are no longer built by default.
...
While we're here, enable RAIDframe (and RAID_AUTOCONFIG) by default for
architectures that I'm comfortable can deal with it being on by default.
Also: bump the number of 'raid' devices from 4 to 8, since 4 seems to
be insufficient in practise.
2002-01-19 18:45:06 +00:00
manu
5f90ae55b5
Added clockctl
2002-01-12 14:52:40 +00:00
martin
b506d6e135
Add PPPoE to all generic kernels that should be able to use it.
...
XXX TODO: do this for INSTALL kernels too, add sysinst support and make the
XXX needed binaries available on the ramdisk root fs.
2001-12-28 12:21:52 +00:00
matt
5887cef210
Don't install boot.mop if ELF.
2001-12-23 02:21:35 +00:00
matt
0dab9a35b5
#include <sys/types.h> in case this is included before that was.
2001-12-23 02:21:03 +00:00
matt
238448b56b
Make VAX kernels work again. Entry on vax is start, not _start.
2001-12-23 02:14:03 +00:00
gmcgarry
bdd225baa1
Add a blurb to the top of all GENERIC files. This serves three purposes:
...
- to clarify some terminology
- to clarify the intention of the GENERIC file
- to cross-reference some useful man pages
2001-12-14 05:34:45 +00:00
lukem
b0b0a32ad7
Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
...
Otherwise the appropriate MKxxx=no won't be defined .
2001-12-12 12:24:19 +00:00
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
ragge
c7bae7c419
Add forgotten "hdc" and "rd" disks.
2001-12-11 15:14:25 +00:00
thorpej
51535d4bf5
Add support for dumping ELF-cormat core files.
2001-12-09 23:05:56 +00:00
thorpej
2494c460a5
Use inline functions for the byte swap routines. Allows libc to build
...
again (-Wshadow).
2001-11-29 22:32:45 +00:00
lukem
ecb81c3f6d
- convert usage of "defopt" to "defflag" where the relevant option does
...
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups
2001-11-28 10:21:10 +00:00
lukem
e336250e74
use #ifdef INET instead of #if INET (for consistency with the rest of the kernel)
2001-11-28 05:22:48 +00:00
atatat
f4c8a80b47
Oops. Add in missing entry point settings.
2001-11-23 15:44:15 +00:00
atatat
155e541aa2
Instead of checking for previous usage, just append to some make
...
variables. Tweak some variables to provide for more uniform defaults.
Minor adaption to makefiles for already converted ports.
2001-11-23 05:18:59 +00:00
lukem
0fa231134c
- replace "defopt" with "defparam" for options which must take a value,
...
as config(8) will warn for value-less defparam options
- minor whitespace/formatting cleanup
- consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
2001-11-20 14:34:18 +00:00
lukem
03aef4723c
cleanup:
...
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""
2001-11-20 12:56:17 +00:00
atatat
d5de3c2fb2
Abstract out a large chunk of the kernel build machinery so that new
...
build features (such as ross's DEBUGLIST) can easily be applied to all
ports. This should reduce the complexity of each port's kernel
Makefile considerably. Line counts:
227 arch/i386/conf/Makefile.i386.orig
98 arch/i386/conf/Makefile.i386
227 arch/alpha/conf/Makefile.alpha.orig
99 arch/alpha/conf/Makefile.alpha
219 arch/sparc/conf/Makefile.sparc.orig
102 arch/sparc/conf/Makefile.sparc
215 arch/vax/conf/Makefile.vax.orig
102 arch/vax/conf/Makefile.vax
253 conf/Makefile.kern.inc
Roll i386, alpha, sparc, and vax over to the new build machinery.
2001-11-16 00:23:02 +00:00
soren
662f877587
MAXSLP is defined to be a machine-independent scheduling parameter,
...
so move it into sys/param.h.
2001-11-15 18:06:11 +00:00
scw
45e7238a02
Bump the version numbers of all bootloaders which use loadfile_elfXX() now
...
that it tries hard to avoid backwards seeks.
2001-11-09 19:53:11 +00:00
matt
e85e9a59a1
Make this compile under ELF.
2001-11-09 05:31:44 +00:00
thorpej
e727e3f180
Split elf32 vs. elf64 handling in loadfile(), including support for
...
each separately and explicitly. BOOT_ELF is now BOOT_ELF32 and
BOOT_ELF64, and ELFSIZE should no longer be defined in loadfile_machdep.h.
2001-10-31 17:20:45 +00:00
jmc
6d536163de
Change defaults for kernel compiles. Default all to USETOOLS?=no and have
...
the etc Makefile override that by putting USETOOLS into $.MAKEOVERRIDES
This way the default for kernel compiles is still to use the installed
toolchain instead of depending on $TOOLDIR. $TOOLDIR can be used by
simply adding USETOOLS=yes to the command line as usual.
Adjust each ports template to set the default no setting and also pull in
bsd.own.mk if they weren't already to ensure they'll build correctly
with the new toolchain setup.
2001-10-26 06:45:33 +00:00
thorpej
ba217c4196
Set MACHINE_ARCH explicitly in Makefiles for which it is constant.
...
Also, since config(8) now explcitly sets MACHINE, there is no need
to do it here in the Makefile.
2001-10-23 19:26:41 +00:00
ragge
9332449994
Check if page to be remapped in pmap_enter() is entered by pmap_kenter_pa(),
...
to decide whether to remove the previous mapping from pv_table or not.
Should fix PR#12231.
2001-09-30 17:12:08 +00:00
chs
80373b7e54
don't depend on other headers to include sys/proc.h for us.
2001-09-28 11:59:51 +00:00
chs
3628675acf
implement pmap_wired_count().
2001-09-24 01:48:15 +00:00
ragge
8199c6a469
Some ID strings + other consistency fixes, from Michael Kukat.
2001-09-18 16:41:25 +00:00
simonb
1bc6516acc
Only define _BSD_WCHAR_T_ once.
2001-09-17 05:40:38 +00:00
ragge
482334fa14
Add bus_space_mmap().
2001-09-16 20:39:02 +00:00
wiz
456dff6cb8
Spell 'occurred' with two 'r's.
2001-09-16 16:34:23 +00:00
ragge
bed9e93ceb
#define __HAVE_GENERIC_SOFT_INTERRUPTS for netisr_dispatch.h. This is
...
already defined in machine/types.h, but that file cannot be included
in an assembly file.
2001-09-16 12:51:03 +00:00
chris
0e7661f023
Update pmap_update to now take the updated pmap as an argument.
...
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.
Currently this is a no-op on most platforms, so they should see no difference.
Reviewed by Jason.
2001-09-10 21:19:08 +00:00
matt
97c7e7fe8d
Always include -Wno-main
2001-09-09 22:53:02 +00:00
atatat
97c67a9bae
Add bridge pseudo devices to GENERIC configs
2001-09-01 21:52:23 +00:00
simonb
023bdd2bf2
Use comments around the token after a #endif.
2001-08-31 04:44:54 +00:00
chs
ba2c8088f4
use pmap_k* for buffer cache pages.
2001-08-24 04:34:25 +00:00
chs
b356420a02
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
...
will soon no longer do it for us.
2001-08-19 17:36:28 +00:00
wiz
e320555c3b
if_il.c lives in dev/qbus now, and is mentioned in dev/qbus/files.uba.
...
Remove commented out line for it.
2001-08-18 14:52:37 +00:00
matt
b46d7a47ab
Don't substract KERNBASE, xor it to clear. The former causes GNU ld to
...
bitch about a signed overflow and this code is only done once, incurring
an extra instruction isn't going to matter much in the long run.
2001-08-05 06:14:22 +00:00
bjh21
ad2c12a28d
Bump version numbers of all bootloaders that use loadfile/ELF, to account for
...
my changes to symbol loading. I should probably have done this at the time,
but it's better late than never.
2001-08-02 12:24:05 +00:00
matt
218b61dcd1
Change clock_t and time_t to more LP64 friendly types.
2001-07-28 07:43:07 +00:00
matt
f47c5bbd3d
Under ELF, change clock_t and time_t to int's (more LP64 friendly).
2001-07-28 05:04:45 +00:00
ragge
f5abeb5b4b
Set MAXPHYS to 64k instead of 63k.
2001-07-27 12:58:21 +00:00
ragge
39a7595b28
Calculation of unibus map register size was wrong.
2001-07-27 12:57:20 +00:00
wiz
e11d04474c
issueing -> issuing
2001-07-26 22:55:12 +00:00
wiz
30b2bf87ed
Various typos in comments (neccessary, sceme, choise, ...).
2001-07-26 15:05:07 +00:00
wiz
a9356936b4
seperate -> separate
2001-07-22 13:33:58 +00:00