Commit Graph

112561 Commits

Author SHA1 Message Date
tsutsui f69620555a - Define and use struct hb_attach_args rather than struct confargs
for hb devices.
- Move declarations for hb functions and macros to dev/hbvar.h.
- Define and use hb_badaddr() macro for hb devices.
- Declare news3400_badaddr() in machine/cpu.h rather than machine/autoconf.h.
- Remove unused stuff from machine/autoconf.h.
2003-05-09 13:36:39 +00:00
dsl e3d5a4eaaf Allow for menu 'opt_name' being const char *. 2003-05-09 12:45:01 +00:00
lukem 85a40ebf71 #if 0 out cleanup_dist() (the obsolete file handling function)
since we don't ship the obsolete sets on the install media anymore.
Instead, we'll rely upon postinstall to do this for us.
2003-05-09 12:34:42 +00:00
lukem 0760a2583f remove bad144 - we're desparate for space on this image (again), and
this looked to being the least useful tool...
2003-05-09 12:32:42 +00:00
dsl 689ce9ee7c Force ramdiskbin.mk to be run to update the crunched binary.
Explicitly check times on built targets so to stop make rebuilding
the later targets.
nbmake in src/distrib/i386/floppies/ramdisk-big (etc) will now
pick up changes to source files that make the crunched binary.
2003-05-09 12:20:04 +00:00
dsl 13d371ab4c Make the prog.mk makefile run make in each of the target directories and
then build the program itself.
This means that changes to any of the program source files cause the
crunched binary to be rebuilt.
Seems to work ok with the sysinst ramdisks.
2003-05-09 12:10:15 +00:00
lukem b86763939b Revert part of previous, and remove "const" from "char *opt_name" and
"char *title", since it causes compile problems for the only program
that uses menuc (sysinst).
2003-05-09 12:07:53 +00:00
tsutsui 21358084e4 Rename some variables for readability. 2003-05-09 11:58:21 +00:00
dsl 66fb8e715d Need 'const' on local variable - since I added const to the structure field. 2003-05-09 10:24:50 +00:00
dsl 13d47d34ac Finger trouble in previous commit. 2003-05-09 10:21:43 +00:00
wiz 8cf282a707 Use .Nm instead of .Xr mknod, and sort options in HISTORY (incl. mdoc and grammar nit fixes). 2003-05-09 09:15:20 +00:00
lukem 9ca2699e2b When providing a default DESTDIR & RELEASEDIR in non-expert mode, add
these to makeenv so that the generated makewrapper contains these settings...
2003-05-09 09:10:06 +00:00
lukem 8c75c09c1b pull in <bsd.sys.mk> for HOST_SH 2003-05-09 09:06:14 +00:00
wiz de2f2d8752 Only fclose file if it is open. From Tim Robbins (tjr@freebsd). 2003-05-09 08:44:57 +00:00
wiz 846b4ae5e2 Join some lines; mdoc improvements; use more macros. 2003-05-09 08:20:27 +00:00
dsl 7eb71f323d Update man page for recent changes, update code to match man page... 2003-05-09 07:30:50 +00:00
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