Commit Graph

86537 Commits

Author SHA1 Message Date
alfred
f69f06f4e6 KASSERT format string does not need newline termination 2003-02-14 13:28:44 +00:00
alfred
766548f91e Add kasserts to catch bad API usage.
Submitted by: Hiten Pandya <hiten@unixdaemons.com>
2003-02-14 13:18:51 +00:00
alfred
268bc18ef2 Fix crash dumps on ata and scsi.
To fix scsi, don't wait for ithreads if we're dumping, it makes the
debugger sad.

To fix ata, use what appears to be a polling method if we're dumping,
I stole this from tmm but added code to ensure that this change is
only in effect while dumping.

Tested by: des
2003-02-14 13:10:40 +00:00
alfred
6c48c14c49 style. 2003-02-14 12:44:48 +00:00
alfred
952ec160dd Print a backtrace in case we tsleep from inside of DDB. 2003-02-14 12:44:07 +00:00
nectar
90c5cfa574 Correct path for finding asm-generating files. 2003-02-14 12:25:00 +00:00
phantom
a4fe11fb03 o Document that dlsym()'s behaviour with new special handle RTLD_SELF
o Add cross reference to dlinfo(3)
o Minor mdoc nits
2003-02-14 10:57:20 +00:00
phantom
66ff4bf786 Follow Solaris's manual page and describe Link_map structure here 2003-02-14 10:54:37 +00:00
phantom
097a9bfb28 Add manual page for dlinfo(3). It's still need some work and add
examples, but it's better than nothing already.
2003-02-14 10:07:43 +00:00
des
822010ed2f Decrease verbosity, fix some configuration problems. 2003-02-14 09:18:44 +00:00
tjr
8a9c700ec3 Lock proc while accessing p_siglist p_sigmask and p_sigignore.
Not tested because netncp does not compile.
2003-02-14 09:16:43 +00:00
tjr
9696379ec2 Lock proc while manipulating p_sigmask p_sigignore and p_siglist. 2003-02-14 09:12:12 +00:00
tjr
5c16d0c538 Obtain proc lock around modification of p_siglist in linux_wait4(). 2003-02-14 08:59:49 +00:00
ru
8ac8794f28 Diff reduction to GENERIC. 2003-02-14 08:41:25 +00:00
alc
de76e76787 - Add a mutex for synchronizing the use of CMAP/CADDR 1 and 2.
- Eliminate small style differences between pmap_zero_page(),
   pmap_copy_page(), etc.
2003-02-14 07:34:28 +00:00
anholt
c1f9432df8 Split the arch-specific AGP files into the appropriate files.* and do the same
for the agp module, and add agp to the list of modules to compile for alpha.
Add an alpha_mb() to agp_flush_cache for alpha -- it's not correct but may
improve the situation, and it's what linux and NetBSD do.
2003-02-14 06:33:52 +00:00
anholt
fed8c49da5 Remove an extra agp_flush_cache(). The i810 case that needs it already has it. 2003-02-14 06:31:45 +00:00
imp
e2a6a01e2f o transition from exca_write to exca_putb and read->getb. This is so that
we can have additional different types of bridges.
o remove now bogus comment.
o Don't clear CARD_OK when we can't attach a card.
o minor style nits

# this make kldload of cardbus drivers work for me when the card is
# present on boot.
2003-02-14 06:21:51 +00:00
imp
dd95a3a11a Massive overhaul of exca to help with the isa efforts:
o chip_name arrays ifdef'd out.
o use the OLDCARD-like get/put functions so we can support differnt types
  of mappings.
o Write the beggings of is this a valid exca device and introduce more
  chipset support.

# this is partially a wip, but also needed because some other cahnges I've
# made require some of these changes.
2003-02-14 06:21:18 +00:00
silby
6d6e9671a5 Improvements to md5.c so that it uses getrusage to time
benchmarks, and prints out results in float format.
2003-02-14 04:48:06 +00:00
simokawa
ee568cc79e - Though I got a feedback from the originator of kern/48129 that the
previous revision fixed the panic, I found the problem exits in
another part of the function by investigating the crom dump sent by him.
The search was started in the middle of bus info block and the
routine misunderstood the EUI64 as a crom entry. This problem is fixed.

PR: kern/48129

Fix incorrect type mask included in a logical unit number and check
the validity of the lun.
2003-02-14 03:09:59 +00:00
mckusick
d8fb26b1c6 Correct lines incorrectly added to the copyright message.
Submitted by:	Frank van der Linden <fvdl@wasabisystems.com>
Sponsored by:   DARPA & NAI Labs.
2003-02-14 00:31:06 +00:00
phantom
2c40bad85c Advertize rtld(1) as ld.so(1) in manual pages world 2003-02-13 23:07:28 +00:00
mdodd
e9378a292b Bandaid the bits that use the elink_foo() functions which are
i386 only at this point.
2003-02-13 23:01:59 +00:00
kan
fc08397161 Fix a typo in rtld_dirname. 2003-02-13 22:47:41 +00:00
obrien
50ff446a95 FB_INSTALL_CDEV not usable on Alpha. 2003-02-13 22:33:26 +00:00
obrien
d386c20878 Fix whitespace problems with option lines. 2003-02-13 22:27:40 +00:00
obrien
85bd6322e6 Fix the style of the SCHED_4BSD commit. 2003-02-13 22:24:44 +00:00
hsu
5436697404 The protocol lock is always held in the dropafterack case, so we don't
need to check for it at runtime.
2003-02-13 22:14:22 +00:00
phantom
f087bf2333 Enable just committed manual pages, update MLINKS 2003-02-13 22:12:56 +00:00
phantom
66ba90de50 Add AUTHORS section 2003-02-13 22:11:19 +00:00
phantom
fab0ce8ac4 Finally! Document all undocumented functions in libc_r.
Add manual pages for following functions:

. pthread_attr_setcreatesuspend_np(3)
. pthread_main_np(3)
. pthread_multi_np(3)
. pthread_single_np(3)
. pthread_mutexattr_getkind_np(3)
. pthread_mutexattr_setkind_np(3)
. pthread_resume_all_np(3)
. pthread_resume_np(3)
. pthread_set_name_np(3)
. pthread_suspend_all_np(3)
. pthread_suspend_np(3)
. pthread_switch_add_np(3)
. pthread_switch_delete_np(3)

MFC after:	3 days
2003-02-13 22:10:10 +00:00
obrien
e7205abfbc Only i386 has npx device. 2003-02-13 21:55:13 +00:00
des
1ffb549565 Make the tinderbox log lines less obtrusive. 2003-02-13 21:21:48 +00:00
des
d277a34193 Pass KERNCONF on the command line rather than in the environment,
since the command line is included in the log.
2003-02-13 21:19:20 +00:00
des
02b9f17f74 Complete overhaul of the configuration system, allowing the user to
select one of multiple configurations at runtime.
2003-02-13 21:18:19 +00:00
peter
e403dfa7b2 We only provide agp drivers for the intel chipsets, move the agp
subdir to the i386-only section.
2003-02-13 21:13:10 +00:00
hrs
0fd2b73a88 Document start_if.${ifn} scripts.
Not objected to by:	-doc
2003-02-13 20:08:11 +00:00
alc
d3cfca777c Use atomic ops to update amountpipekva. Amountpipekva represents the
total kernel virtual address space used by all pipes.  It is, thus, outside
the scope of any individual pipe lock.
2003-02-13 19:39:54 +00:00
anholt
43e82f74f7 Add agpreg.h missed in commit to agp_i810 (adding i85x/i86x AGP support). 2003-02-13 19:24:19 +00:00
phantom
bd72cf9687 Break important implementation detail note into IMPLEMENTATION DETAILS
section. Add cross reference to pthread_attr_getstack() function.

MFC after:	1 day
2003-02-13 18:39:06 +00:00
phantom
46b03b8768 Add cross reference for pthread_attr_get_np() 2003-02-13 18:36:48 +00:00
phantom
1ca7e96547 Rehash MLINKS: add missing ones for recently added pthread_attr_{get,set}stack()
functions and remove links for 3 non-existent functions
2003-02-13 18:35:05 +00:00
phantom
2061f43aeb Add appropriate MLINKS for functions documented in libgeom.3 2003-02-13 18:27:05 +00:00
phantom
c542a27983 Fix some mdoc issues: add .Nd to NAME section, use valid .Lb argument,
use .Fn there appropriate
2003-02-13 18:25:48 +00:00
phantom
9b541f6c4d FreeBSD 5.x does not provide libskey anymore, remove reference 2003-02-13 18:23:13 +00:00
phantom
abd26e1ed1 Add 'libgeom' to list of valid .Lb arguments 2003-02-13 18:21:32 +00:00
obrien
3b9b90dc46 Acutally document how to make a LINT kernel config, besides telling all it
is gone.
2003-02-13 17:55:12 +00:00
kan
ff89904c5f Implement dlinfo() function.
Introdice RTLD_SELF special handle and properly process it within
dlsym() and dlinfo() functions.

The intention is to improve our compatibility with Solaris and
to make a Java port easier.

Partially submitted by:	phantom
2003-02-13 17:47:44 +00:00
kan
3d24733b3f Add missing include files I forgot about in previous commit. 2003-02-13 17:35:00 +00:00