wiz
7b9b4ac6f7
'environment', not 'enviroment'
2002-07-11 10:53:19 +00:00
christos
3b50728cf4
MD systrace gluons.
2002-06-17 16:32:57 +00:00
lukem
fde6ae6f04
Enable "pseudo-device clockctl" in all kernels, except
...
installation related kernels (INSTALL* and RAMDISK*).
This enables rc.conf(5) $ntpd_chroot to be used "out of the box"
2002-06-17 05:14:02 +00:00
thorpej
d941ddfee0
Don't use -traditional-cpp if HAVE_GCC3.
2002-06-04 21:39:09 +00:00
drochner
d2b9876081
move initialization of the "struct pglist" returned by uvm_pglistalloc()
...
from the calling code into uvm_pglistalloc() itself for consistency
and easier error handling
2002-06-02 14:44:35 +00:00
bjh21
23f7ce3522
.WAIT after building libbug and libsa, and before building anything that uses
...
them.
2002-05-28 19:34:15 +00:00
bjh21
0d79902e3f
Use ${PRINTOBJDIR} rather that rolling our own.
...
This prevents parallel builds passing "--- xxx ---" (which make prints to
indicate it's building target "xxx") to ld.
2002-05-28 19:32:42 +00:00
drochner
60b6f587bc
Subtract vm_map_min(kernel_map) from kernel virtual addresses to get offsets
...
into kernel_object where this was missing.
This is a no-op on ports where VM_MIN_KERNEL_ADDRESS==0, ie all but
cesfic.
Confirmed and corrected by Chuck Silvers.
2002-05-22 14:29:23 +00:00
matt
84eb329d14
Eliminate commons (including many used ones). Clean up variable references.
2002-05-14 02:03:00 +00:00
jdolecek
77a65b5e56
use _KERNEL_OPT rather than _KERNEL && !_LKM
2002-05-11 09:39:25 +00:00
jdolecek
9eed164863
remove redundant (and wrong) main() prototype
2002-05-05 20:11:37 +00:00
scw
132a9c91d5
Make sure main() has a prototype and a return type of "int".
2002-05-04 22:05:29 +00:00
scw
caf7ed0a69
main()'s return type should be int', not
void'.
2002-05-03 20:48:34 +00:00
atatat
d1b3852365
Add the INCLUDE_CONFIG_FILE option to all config files. In config
...
files that are generic (ie, GENERIC, GENERICSBC, GENERIC32, ALL, or
ALPHA), it is uncommented.
2002-04-25 15:06:20 +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
scw
d5ecd48d67
DTRT to avoid installing "netbsd.tmp" in /usr/mdec.
...
Addresses port-mvme68k/16282.
2002-04-10 18:43:21 +00:00
scw
6a75b57b3d
Simplify generation of the s-record boot file using objcopy instead
...
of a homebrew tool.
Addresses port-mvme68k/16256.
2002-04-09 19:37:22 +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
scw
8fe81151a5
Add files.c to SRC_sa.
...
While I'm here, sort source files alphabetically.
2002-03-27 20:18:25 +00:00
scw
7ce75221c2
Round VID_OSL to be a multiple of 32 * 256byte blocks.
2002-03-24 18:15:03 +00:00
scw
d22256f158
Pass RB_NOSYM to exec_mvme() otherwise loadfile() tries to lseek()
...
backwards, which we don't support.
2002-03-24 18:13:24 +00:00
scw
3d663e9bb1
Bump the MD image size to 1600 blocks.
2002-03-24 18:10:54 +00:00
scw
d0dba1cf87
Build the 68k-specific vmetwo stub (albeit a cut down version), even
...
if vmetwo isn't in the config file.
2002-03-24 18:10:14 +00:00
scw
7e69c325c1
Fix a botch from the dev/mvme split for kernels with no vmetwo in
...
the config file.
2002-03-24 17:22:32 +00:00
christos
7e277b5782
kill remaining PS_STRINGS instances.
2002-03-20 17:59:22 +00:00
scw
b303a9412d
Fix an include file botch when there is no vmetwo device in the
...
kernel config.
2002-03-17 10:04:47 +00:00
scw
f39f46188c
G/C. These should have been deleted as part of the move to sys/dev/mvme.
2002-03-17 10:04:07 +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
thorpej
a180cee23b
Pool deals fairly well with physical memory shortage, but it doesn't
...
deal with shortages of the VM maps where the backing pages are mapped
(usually kmem_map). Try to deal with this:
* Group all information about the backend allocator for a pool in a
separate structure. The pool references this structure, rather than
the individual fields.
* Change the pool_init() API accordingly, and adjust all callers.
* Link all pools using the same backend allocator on a list.
* The backend allocator is responsible for waiting for physical memory
to become available, but will still fail if it cannot callocate KVA
space for the pages. If this happens, carefully drain all pools using
the same backend allocator, so that some KVA space can be freed.
* Change pool_reclaim() to indicate if it actually succeeded in freeing
some pages, and use that information to make draining easier and more
efficient.
* Get rid of PR_URGENT. There was only one use of it, and it could be
dealt with by the caller.
From art@openbsd.org .
2002-03-08 20:48:27 +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
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
scw
c4dbe1a160
Allow MD code to provide functions for reading/writing NVRAM/RTC
...
locations. If passed NULL, the old behaviour using bus_space_{read,write}_1()
is used. Otherwise, all access to the chip goes via the MD functions.
This is necessary for mvmeppc boards where the mk48txx NVRAM/RTC is not
directly addressable.
2002-02-23 17:18:54 +00:00
wiz
37e458fa45
strategy should have an 'r'. Inspired by similar change in OpenBSD.
2002-02-19 17:09:40 +00:00
chs
b744097a5f
allow writing to write-only mappings. fixes PR 3493.
2002-02-14 07:08:02 +00:00
scw
5bd17a1271
Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
...
in preparation for future mvmeppc and mvme88k ports.
This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
2002-02-12 20:38:09 +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
scw
86be963a27
Completely re-write wrtvid.c to make it usable during a cross-build.
...
Instead of parsing the 1st stage booter in wrtvid, use objcopy to
generate a binary image, leaving wrtvid to create the VID/CFG block.
2002-01-23 21:06:28 +00:00
scw
0e17fb3d6a
Make this compile again.
2002-01-19 21:13:45 +00:00
scw
7fed4934b8
Move the VMEbus RAM `howto' into the docs directory.
2002-01-12 19:29:49 +00:00
manu
0079b3711b
Added clockctl
2002-01-12 13:33:42 +00:00
chs
9451559ef4
pmap_page_protect(VM_PROT_NONE) must remove all mappings in the PV list,
...
even if they are wired. we need to be able to remove all mappings to
pages that are being freed due to (eg.) file truncation.
2002-01-02 00:51:33 +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
tsutsui
20d126a5b4
Fix comments for ref-count of PT pages.
2001-12-16 03:53:21 +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
chs
2dfd15933e
change the reference-counting of PT pages to start from zero instead of
...
one, so that we don't mess up the global count of wired pages by having
the page's wire_count be non-zero when we free the page.
pointed out by Michael Hitch.
2001-12-13 04:39:50 +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