Commit Graph

112795 Commits

Author SHA1 Message Date
enami
550608176e - Adjust arguments to pmap_steal_memory() for new interface.
- We no longer able to use uvm_pageboot_alloc() before pmap_bootstrap()
  is called.  Use pmap_steal_memory() directly instead.

Approved by Jason R. Thorpe.
2003-05-09 05:33:52 +00:00
itojun
0230a54dfb plug memory leak. jgraessley at apple.com 2003-05-09 05:32:36 +00:00
phil
706027816a Remove extra characters in example strings. 2003-05-09 05:28:30 +00:00
lukem
4989a7a8c6 Don't bother building var/db/obsolete/* files for the install media;
this stuff is in the base.tgz distribution, and it's better to have
postinstall fix it up than use the (dodgy) code in sysinst.
2003-05-09 01:45:08 +00:00
lukem
17887a5d2c #ifdef HOSTPROG then explicitly use {major,minor,makedev}_netbsd
macros from pack_dev.h instead of the native versions.
Fixes [toolchain/20051] by Valeriy E. Ushakov.
2003-05-09 01:09:13 +00:00
itojun
f703f13276 use sizeof for safety 2003-05-09 00:56:56 +00:00
itojun
2ab2b66ee8 just for safety - use sizeof 2003-05-09 00:48:59 +00:00
itojun
5397d22f9f KNF 2003-05-09 00:47:46 +00:00
itojun
830e70f6d0 readlink(3) does not terminate string by \0. 2003-05-09 00:43:46 +00:00
fvdl
e5ad654753 Silence a gcc 3 warning about a 'x = ++x % foo' construct. 2003-05-09 00:16:55 +00:00
augustss
528dbaae90 Remove ksyms before mknod ksyms. 2003-05-09 00:13:50 +00:00
fvdl
daea75d74a installboot is compiled in native mode on amd64, unlike the other
things around here. Hence, the machine/ include dir must actually
point to its own.
2003-05-09 00:11:26 +00:00
lukem
b8984d0017 etc/mail/aliases.db is optional. From [misc/18536] by Jeremy Reed. 2003-05-09 00:10:52 +00:00
lukem
4fc1a075d0 O_NOFOLLOW is another non-standard extension 2003-05-08 23:20:38 +00:00
fvdl
2ade80fac8 A fraglist entry struct must be packed, to make installboot dtrt on amd64. 2003-05-08 23:09:30 +00:00
martin
4e2589a192 We are getting passed an integer value via a void* arg (in an ioctl() like
function) - cast it to an intptr_t.
Addresses parts of PR kern/21448 by Frank Kardel.
2003-05-08 21:18:42 +00:00
martin
82f1702c53 Add missing include.
Addresses parts of PR kern/21448 by Frank Kardel.
2003-05-08 21:16:19 +00:00
martin
b0290dfbc4 Change a integer value that is passed via a void* in an ioctl() like
function to a intptr_t. This makes it compile on sparc64.
Addresses parts of PR kern/21448 by Frank Kardel.
2003-05-08 21:15:13 +00:00
petrov
cc36666171 No need in default label if default case is not processed. 2003-05-08 20:42:39 +00:00
christos
b024767c0c Fix _HOST_CYGWIN lossage. 2003-05-08 20:39:00 +00:00
fvdl
73324eaa5a Revert previous until I look at some issues regarding default labels. 2003-05-08 20:36:12 +00:00
petrov
674b7e97b8 Format fixes. 2003-05-08 20:33:44 +00:00
matt
2de77aeda1 Make we keep track of the file sizes in a size_t, not an int. Also break
out the writing of an lwp's registers to a separate function.  XXX Although
not really the correct way to do this, make the thread that caused the
coredump has it's register set written first so GDB is happy.  (this is a
bridge until TRT is done).
2003-05-08 20:26:40 +00:00
petrov
209bf42bf9 Add CPPFLAGS. 2003-05-08 20:24:10 +00:00
itojun
874e6573c4 fix invalid pointer setting on RA reception. from kiu shueng chuan via kame 2003-05-08 20:08:52 +00:00
salo
1b089357bd Whitespace. 2003-05-08 18:59:06 +00:00
petrov
552633af59 Fix format string. (no % in PRIx..). 2003-05-08 18:39:09 +00:00
thorpej
fb063e60b8 Note pmap->uvm managed kernel address space bounds change. 2003-05-08 18:19:16 +00:00
thorpej
97b3b91fa8 Simplify the way the bounds of the managed kernel virtual address
space is advertised to UVM by making virtual_avail and virtual_end
first-class exported variables by UVM.  Machine-dependent code is
responsible for initializing them before main() is called.  Anything
that steals KVA must adjust these variables accordingly.

This reduces the number of instances of this info from 3 to 1, and
Simplify the way the bounds of the managed kernel virtual address
space is advertised to UVM by making virtual_avail and virtual_end
first-class exported variables by UVM.  Machine-dependent code is
responsible for initializing them before main() is called.  Anything
that steals KVA must adjust these variables accordingly.

This reduces the number of instances of this info from 3 to 1, and
simplifies the pmap(9) interface by removing the pmap_virtual_space()
function call, and removing two arguments from pmap_steal_memory().

Simplify the way the bounds of the managed kernel virtual address
space is advertised to UVM by making virtual_avail and virtual_end
first-class exported variables by UVM.  Machine-dependent code is
responsible for initializing them before main() is called.  Anything
that steals KVA must adjust these variables accordingly.

This reduces the number of instances of this info from 3 to 1, and
simplifies the pmap(9) interface by removing the pmap_virtual_space()
function call, and removing two arguments from pmap_steal_memory().

This also eliminates some kludges such as having to burn kernel_map
entries on space used by the kernel and stolen KVA.

This also eliminates use of VM_{MIN,MAX}_KERNEL_ADDRESS from MI code,
this giving MD code greater flexibility over the bounds of the managed
kernel virtual address space if a given port's specific platforms can
vary in this regard (this is especially true of the evb* ports).
2003-05-08 18:16:20 +00:00
thorpej
b77900c3c2 Simplify the way the bounds of the managed kernel virtual address
space is advertised to UVM by making virtual_avail and virtual_end
first-class exported variables by UVM.  Machine-dependent code is
responsible for initializing them before main() is called.  Anything
that steals KVA must adjust these variables accordingly.

This reduces the number of instances of this info from 3 to 1, and
simplifies the pmap(9) interface by removing the pmap_virtual_space()
function call, and removing two arguments from pmap_steal_memory().

This also eliminates some kludges such as having to burn kernel_map
entries on space used by the kernel and stolen KVA.

This also eliminates use of VM_{MIN,MAX}_KERNEL_ADDRESS from MI code,
this giving MD code greater flexibility over the bounds of the managed
kernel virtual address space if a given port's specific platforms can
vary in this regard (this is especially true of the evb* ports).
2003-05-08 18:13:12 +00:00
mjl
e1da921bcf Remove double spaces between words 2003-05-08 18:12:24 +00:00
skrll
fd7f9942d4 Fix placement of lib{arm,m68k}_pic.a, fwiw. 2003-05-08 18:11:38 +00:00
mjl
ffc1b6dbc9 uniq. 2003-05-08 17:51:12 +00:00
mjl
46e0a4e1f1 Move limericks to limerick file. Sort that and uniq. 2003-05-08 17:25:48 +00:00
mjl
386e6f0451 Move limericks to limerick file. Sort that and uniq. 2003-05-08 17:01:04 +00:00
mjl
7acf0f4592 Sort and remove duplicates. 2003-05-08 16:37:45 +00:00
dsl
b143b30e1c Accept variable names for menu titles and options to allow internationalisation.
Allow user code to define a hook to lookup message texts before any get used.
It is now possible to have a langauge independant menu file.
2003-05-08 16:20:56 +00:00
mjl
844a2d0e52 Pull in corrections from Free/OpenBSD.
Also move limericks to limerick file.
2003-05-08 16:20:25 +00:00
augustss
7209b4436c Regen. 2003-05-08 15:20:18 +00:00
augustss
b76302ea23 Add another Diskonkey product id. 2003-05-08 15:19:46 +00:00
mjl
d6bcb9629a Pull in corrections from Free/OpenBSD. 2003-05-08 14:53:08 +00:00
christos
0c737a5345 /sbin/wizd points out that it is CYGWIN not GYGWIN. 2003-05-08 14:47:19 +00:00
lukem
e2f767c373 some more build.sh functionality 2003-05-08 14:44:42 +00:00
lukem
ca2937cfe3 build.sh now provides defaults for DESTDIR and RELEASEDIR if not expert mode.
Remove -D and -R from EXAMPLES since they're not necessary any more.
2003-05-08 14:42:05 +00:00
mjl
8c2a9c1fcb Merge in corrections/additions from Free/OpenBSD. 2003-05-08 14:27:10 +00:00
lukem
ad89cbfee9 New features:
*	If not expert mode, provide defaults for:
		DESTDIR		/top/of/obj/destdir.${MACHINE}
		RELEASEDIR	/top/of/obj/releasedir
    *	Collate the various status messages output during the run
	and display them at the end in a "summary report".
    *	Cross-check the validity of MACHINE against MACHINE_ARCH.
	Fixes PR [toolchain/20193] from David Maxwell.
    *	Highlight that the tools will be rebuilt if UPDATE isn't set.
    *	Add stronger language recommending against -E unless you
    *	Improve whitespace use in usage()

Code stuff:
    *	Be consistent about using "${var}"
    *	Be more consistent how [ tests ] are run
    *	Improve some comments
    *	Rename getmakevar() to raw_getmakevar()
    *	Rename safe_getmakevar() to getmakevar()
    *	cd back to ${TOP} after a kernel build.
    *	Always keep the tmpdir around for the build (it's where the
	status messages are collated, for one).
2003-05-08 14:19:39 +00:00
mjl
cf844e8134 Merge in corrections from Free/OpenBSD. 2003-05-08 14:14:32 +00:00
kochi
749dbc9fd5 Fix missing break for switch statement. 2003-05-08 14:06:48 +00:00
nakayama
bbdab69970 Add breaks which were forgotten in rev. 1.2 change.
Inspired from a report by HIRATSUKA Kouichirou in tech-pkg-ja mailing list.
2003-05-08 13:46:50 +00:00
christos
9dbe78f136 This is a host program. Don't use errx. 2003-05-08 13:42:17 +00:00