Commit Graph

128117 Commits

Author SHA1 Message Date
tsutsui
7225c12326 Pull some fixes from hpc/kloader.c rev 1.13:
> malloc program/section header table instead of fixed array.
> add debug print.
2004-06-14 13:52:47 +00:00
tsutsui
3e64689691 Suppress gcc uninitialized variable warning. 2004-06-14 13:50:08 +00:00
itohy
8d0766de85 Correctly handle `events with handler'' and `events enabled'' separately.
Problem pointed out by Harold Gutch and Izumi Tsutsui.
2004-06-14 12:47:36 +00:00
yamt
ad338b9eff nfs_searchdircache: fix a null dereference in the case that
offset!=0 and dircache hasn't been initialized yet.
2004-06-14 12:28:35 +00:00
itojun
2e60f85658 use macro and make it a bit more readable. 2004-06-14 08:07:29 +00:00
itojun
4d7b9596f6 check before joining multicast group. otherwise multiple in6_multi structure
will be kept.  reported by patrick latifi
2004-06-14 07:54:45 +00:00
dbj
3ce67e6c14 deal with editing partitions past the detected media size.
When deleting the final partition, truncate it to match media size.
Also handle creating new partitions beyond the existing partitions
if it is still within the media size.
2004-06-14 07:48:55 +00:00
dbj
7223a7a4c2 when printing alternate superblocks, cast result of
fsbtodb() to (off_t) before multiplying by dev_bsize.
2004-06-14 07:22:04 +00:00
jmc
09709f97dd Before sucking in stdlib.h check if this is NetBSD. If so, explicitly make
sure to use _POSIX_C_SOURCE and undef _NETBSD_SOURCE so the myriad of NetBSD
extentions don't get pulled into scope (and likely conflict at some point
with branched code trying to build on -current due to drift). Fixes PR#25533

XXX: The entire process here is just wacky and the entire cross tools process
needed to be reviewed to build clean w. just _POSIX_C_SOURCE or the equiv
set on NetBSD hosts or this will lose again somewhere..
2004-06-14 06:13:15 +00:00
jmc
498ccb631b Move libgcc_s.so.X into base as C++ compiled programs (ala groff) will need them 2004-06-14 04:23:26 +00:00
lukem
b88c3a1555 Use "options<SPACE><TAB>".
(`egrep -l '(^|[^e])options<TAB>'` is your friend...)
2004-06-14 01:27:59 +00:00
jmc
944c6c8bad Add support for building/install just cat pages (via MANINSTALL=catpages) in
the sets. Originally from PR#24949. Tested w. all combinations of MANINSTALL
2004-06-13 22:35:02 +00:00
jmc
7c62a6e881 Fix typo. closefrom.3 is a 'man' not a 'cat' tag 2004-06-13 22:28:42 +00:00
abs
681718e784 Add BOOT_LEAVE_MEMORY (desired memory left unused) and BOOT_MIN_AVAIL_MEMORY
(minimum desired free memory), default them to 5M and 10M respectively.
On a machine with more than (BOOT_LEAVE_MEMORY + BOOT_MIN_AVAIL_MEMORY) free
BOOT_LEAVE_MEMORY will be left unused.
Allows a kernel to be booted from SparkFS on a machine with more than 15M
of free memory (SparkFS needs to be able to allocate memory for the
uncompressed kernel)
2004-06-13 20:50:14 +00:00
lha
cc333b3dd7 Add list of async-signal-safe functions
Approved by wiz
2004-06-13 19:17:06 +00:00
rumble
875866073a sekiya-san's platform abstraction allows us to keep these
functions static.
2004-06-13 18:30:11 +00:00
rumble
0f58ff497d General cleanup to improve style consistency and KNF adherence.
Updated comments and removed superfluous code. No functional
change intended.

ok'd by pooka and sekiya
2004-06-13 18:28:35 +00:00
lukem
4de28a2c38 Move /usr/X11R6/lib/X11/X68kConfig from xserver to
xetc (as /etc/X11/X68kConfig), as it's an end user's configuration file.
2004-06-13 11:52:57 +00:00
lukem
0a3a939b03 Relocate X68kConfig from X11LIBDIR to X11ETCDIR 2004-06-13 11:47:41 +00:00
dbj
44b22e2058 Use open address hashtable with multiplicative double hash probing
and exponential hashtable growth for tracking previously seen inodes.
This replaces the O(n^2) behavior of linkchk() with an implementation
that should be O(n*logn)
This addresses NetBSD PR bin/25857
2004-06-13 11:30:10 +00:00
aymeric
64c877a4e9 bump: bin/25849 fixed. "rapid resize can crash vi" 2004-06-13 10:17:14 +00:00
aymeric
400171c34b . don't call newterm() more than once; use setterm() and resizeterm() instead
on subsequent calls. Newterm() would fail after a few calls, leading to vi
  exiting with a "ex/vi: error initializing terminal" message
. if tcsetattr() fails due to EINTR, ignore it

Fixes PR #25849
2004-06-13 10:15:55 +00:00
mycroft
b00b298ce8 Fix a display glitch when blanking out drive columns. 2004-06-13 08:56:21 +00:00
grant
55ed2aadb5 apply patch in PR to avoid writing to unallocated memory.
fixes PR bin/25911 from SHIMIZU Ryo.
2004-06-13 08:34:31 +00:00
grant
1e6747bd53 apply patch in PR to fix argument parsing bug.
fixes PR bin/24234 from Keisuke YOSHIDA.
2004-06-13 08:31:30 +00:00
jmc
3ca8952a49 Note default for MANINSTALL 2004-06-13 08:17:22 +00:00
jmc
cde4553cd9 Add suggested wording from PR#24654 to reference BUILDING and build.sh as
the first place one should go when building.
2004-06-13 08:08:43 +00:00
sjg
e000118700 Bump the miniroot size else release build fails. 2004-06-13 05:27:18 +00:00
dsl
a9372a42f1 Add a menu (right at the start) to ask for the keyboard type.
Save the result in /etc/wscons.conf at the end of the install/upgrade.
Currently only builds for i386 - change arch/*/Makefile and add the
extra messages (though they could go into the msg.mi.* files).
Needs the 'Keyboard type' message translated in to German, French and polish.
Maybe the keyboard type names could be less cryptic...
2004-06-12 19:18:24 +00:00
dsl
3d7f966def The code to pad floppies could sometimes overwrite the end of the kernel
(causing the decompress to generate random data).
I've changed it to pad using:
	dd if=xx.fs of=xx.fs conv=sync conv=notrunc bs=${floppysize}b count=1
which isn't subject to rounding errors!
This might be the fix for PR/25552
2004-06-12 18:39:53 +00:00
tsarna
4605dd7457 Add calibration support to uep driver.
Untested, still need a userland utility to calibrate with.
2004-06-12 17:52:41 +00:00
mbw
f212da435d Mention that installer defaults to serial speed of 9600 8N1 and user might
want to pre-configure their system around that.
Closes PR 11946
2004-06-12 17:34:29 +00:00
yamt
ff7fa9e50e remove XXX comments which are no longer true. 2004-06-12 17:22:04 +00:00
mbw
e90800e8dc Removed references to split sets, which aren't distributed with .Nx
anymore.  Closes PR 24434.
2004-06-12 17:21:41 +00:00
yamt
941f338d94 ANSIfy. 2004-06-12 17:18:13 +00:00
yamt
4af17d9901 simplify x86 bus_dma implementation.
(rather than passing &lastaddr and &seg around,
use and update bus_dmamap_t directly.)
2004-06-12 17:16:44 +00:00
yamt
e25482312e - introduce _bus_dmamap_load_paddr, which takes (paddr, size) and
add the range to the map, and use it for _bus_dmamap_load_{buffer,mbuf}.
- _bus_dmamap_load_mbuf: in the case of M_EXT_PAGES, deal with vm_pages
  directly rather than doing pmap_extract on given kva.

as a side effect, do a segment coalescing and boundary checks for mbufs.

ok'ed by Frank van der Linden and Jason Thorpe on tech-kern@.
2004-06-12 17:14:55 +00:00
yamt
0238f7233c simplify x86 bus_dma internal "load" functions.
(by eliminating a variable "first" and using seg == -1 instead.)
2004-06-12 17:10:04 +00:00
mbw
e861ae8410 formatting nit 2004-06-12 17:00:45 +00:00
mbw
f0340cfea7 Mention that installer defaults to serial speed of 9600 8N1 and user might
want to pre-configure their system around that.
Closes PR 11946
2004-06-12 16:41:14 +00:00
mycroft
738ef9dc5d Fix an unimportant typo. 2004-06-12 16:02:42 +00:00
wiz
ebcfc8acc7 Grammar fix. 2004-06-12 15:55:23 +00:00
uch
d20b906b5b When serial console boot, don't find power supply port from
config_hook. Windows CE already power on it, and config_hook is not
initialized yet.
2004-06-12 15:39:33 +00:00
jmc
b5ac9053b4 Redo this rule so it depends on libiberty.a rather than just the directory.
Otherwise an aborted build would cause this to be skipped on MKUPDATE.
Also, run configure w. $HOST_SH as highlighted in PR#25606
2004-06-12 14:59:36 +00:00
jmc
75b4824f88 Fix some missing $HOST_SH needs as highlighted in PR#25606 2004-06-12 14:57:57 +00:00
jmc
c1f0789352 MKUPDATE cannot possibly do the right thing with GNU wrapped tools installs as
no dependencies are known in advance. So a simple 'build.sh -r -u' will
often lose and end up with a TOOLDIR without a toolchain, groff, etc. Fix
by forcing .install_done to always run.
2004-06-12 14:56:30 +00:00
he
0433215caf Add "extern" to a couple of array declarations. Declaring an
undimensioned array in the outer scope will produce warnings that
it's assumed to have one element, and under -Werror will fail to
compile.
2004-06-12 14:44:42 +00:00
uch
c135c6674f malloc program/section header table instead of fixed array.
properly terminate tag chain.
 add debug print.
2004-06-12 14:31:49 +00:00
hubertf
287db2b13f fix language, noted by logix@#NetBSD 2004-06-12 13:03:12 +00:00
uch
7bc635be96 recompile. 2004-06-12 12:10:04 +00:00