Commit Graph

189133 Commits

Author SHA1 Message Date
pooka
f3beefdb45 Convert acpibat to use ioconf instead of homerolled config glue.
Note, config whines about things like:
files.acpi:30: attaching undefined device `apm'

I intentionally was a lazy boy and didn't include a ton of dirt to
keep the hot napalm and riot blasts in the config thread rolling ;)

tested by jruoho (thanks!)
2010-03-21 07:09:56 +00:00
pooka
ce672f239f include bsd.ioconf.mk when necessary 2010-03-21 06:56:52 +00:00
pooka
40bb87a667 Move make snippets for use with config(1) ioconf functionality from
rump into share/mk.  This is to make it useful for all kernel
builders.

Note: we have waaay too many weird and wonderful ways of making
kernel code (monolithic kernel, modules, rump).  There should be
only one way to build kernel code instead of a maze of twisty little
.mk files, all not quite alike.  When that is fixed, this snippet can go
into the more generic .mk file.
2010-03-21 06:55:44 +00:00
chs
e23026927c in nfs_bootparam(), set the corresponding flag for each field that we fill in. 2010-03-21 00:10:40 +00:00
chs
45709939f2 assert that pcb_onfault is NULL in places where it should be. 2010-03-21 00:10:14 +00:00
christos
f7c98956a3 remove unnecessary cast now that lint is more intelligent. 2010-03-21 00:04:34 +00:00
christos
ac4eda1b1e right shift of unsigned quantities with constant. 2010-03-21 00:03:46 +00:00
christos
d867aaf024 make lint recognize constant shift values and not warn if the number of bits
shifted results in a narrower type.
2010-03-21 00:02:13 +00:00
chs
04aa4da3b0 fix copy{in,out}{,str}() to return the error returned by uvm_fault().
fixes PR 41813.
2010-03-20 23:31:27 +00:00
joerg
69119b7656 Drop redundant .TP 2010-03-20 20:58:06 +00:00
mrg
9a2f900318 convert pmap_lock into an IPL_VM lock, and avoid calling
KASSERT(!mutex_owned(&pmap_lock)) since that's no longer valid.

this fixes hangs on 4-core machines like the U80.

tested on U80, SB2500 and SB2000.


XXX: my initial attempts to replace pseg_lock with this new equivalent
XXX: lock hang in pmap_bootstrap it seems..  but this should be able
XXX: to go away now.
2010-03-20 20:36:23 +00:00
joerg
57d3f386e1 Quote lines that start with . and should appear literally. 2010-03-20 20:34:56 +00:00
joerg
3ae1e92ee1 Drop redundant TPs 2010-03-20 20:27:57 +00:00
pgoyette
9f799e4338 Use correct format directive in aprint_debug_dev()
Thanks to Kurt Schreiner for reporting this on current-users@
2010-03-20 19:04:51 +00:00
christos
692b0132a0 PR/43023: Bruce Cran: FTPD bug remote crash
Since we specify NOCHECK, in the NOMATCH case gl_pathv can be NULL.
(From FreeBSD)
2010-03-20 18:23:30 +00:00
tnozaki
56bf19aaea fix byte order mark related bug introduced by previous commit,
reported by Sverre Froyen via current-user, thanks!
2010-03-20 18:15:32 +00:00
wiz
94e9a9e252 Remove quotes around Nd argument, they are not needed. 2010-03-20 17:19:07 +00:00
jruoho
bd39d09516 Add stdint(3). 2010-03-20 16:38:19 +00:00
skrll
134b0fcc8f Only apply -Wno-stack-protector where alloca is used. 2010-03-20 16:36:35 +00:00
jruoho
a48c6c7a11 Add a manual page for <stdint.h>. From FreeBSD, by Mike Barcroft. 2010-03-20 16:33:51 +00:00
kiyohara
12fb39e568 Fix build failed.
Add forgot zmiireg.h since support 405EX.
2010-03-20 15:22:27 +00:00
jruoho
a3aeabbf13 Do not use .pp with %P, as noted by joerg@. 2010-03-20 14:45:18 +00:00
christos
7a75d79822 /*LINTED*/ is too wide a brush. 2010-03-20 14:43:50 +00:00
joerg
8538400b67 Shut up the broken piece of junk called lint. Use __inline. 2010-03-20 12:54:42 +00:00
wiz
198f608b4a Bump date for previous. 2010-03-20 11:24:29 +00:00
wiz
4911578c38 New sentence, new line. 2010-03-20 11:23:37 +00:00
wiz
b6fd2b0fef Sort SEE ALSO. New sentence, new line. 2010-03-20 11:18:59 +00:00
wiz
9e91ee2313 Serial comma; prepare for HTML-output. 2010-03-20 11:18:43 +00:00
jruoho
5f9d70bc72 Add the (ACM) journal where this appeared. Fix URL. 2010-03-20 10:26:06 +00:00
jruoho
260563ef8c Note also here that this is a legacy daemon that is more or less deprecated. 2010-03-20 09:22:37 +00:00
jruoho
7e4def2e7d Add a note that APM was deprecated by the PC manufacturers in about 1996.
Mention the APM emulation layer of ACPI. In addition, some small fixes.
2010-03-20 07:59:44 +00:00
mrg
c8c2757eb3 don't pass "maxaddr" as a boundary in bus_dmamap_create() like rev 1.8
did for _alloc().
2010-03-20 02:53:35 +00:00
pgoyette
9a70d7bce8 Fix the dbcool_{get,set}_limits() routines to properly deal with min/max
values on temp limits.  The actual ranges for temp limits varies if the
chip is running in "extended temperature" mode, so we need to handle this
difference, too.

Verified on my home machine which runs in extended-temp mode and by
njoly@ on a machine which does runs in the older 2s-complement mode.
2010-03-20 02:42:19 +00:00
uwe
2ff643e1f6 Move openssl to the front of SUBDIR list and add .WAIT after it since
both netpgp and openssh depend on it.  This should fix intermittent
failures of parallel builds (as seen e.g. on the autobuild cluster).
2010-03-20 02:07:33 +00:00
christos
b691db097d more debugging compilation fixes. 2010-03-20 01:52:16 +00:00
christos
7fa75c35d6 fix debugging code. 2010-03-20 01:47:12 +00:00
christos
6d16572ef4 minimize ifdefs and avoid duplicated code. 2010-03-20 01:45:30 +00:00
dyoung
1d2aca0728 Add PCI_BAR(n) for the nth Base Address Register. 2010-03-20 00:23:41 +00:00
dyoung
061b0589a4 Add a prototype for pci_mmio_range_infer() that will infer the
range of memory forwarded by the host chipset to PCI.
2010-03-20 00:02:59 +00:00
dyoung
76d5da9433 Cosmetic: abbreviate: use pc' instead of pci_chipset_tag'. 2010-03-19 23:27:12 +00:00
christos
3e2a63c711 - Make maximum memory limits for various things #define constants and use the
consistently across the code.
- Re-do note parsing code to read the section headers instead of the program
  headers because the new binutils merge all the note sections in one program
  header. This fixes all the pax note parsing which has been broken for all
  binaries built with the new binutils.
- Add diagnostics to the note parsing code to detect malformed binaries.
- Allocate and free note scratch space only once, not once per note.
2010-03-19 22:08:13 +00:00
roy
51085124f6 Use the gcc directive to disable SSP warnings. 2010-03-19 20:53:50 +00:00
joerg
229d59407c Fix set for tparm.html. 2010-03-19 20:31:50 +00:00
joerg
cd786ea4c3 Add man page for fast_divide32. 2010-03-19 20:11:21 +00:00
jruoho
b6acde9650 Bump date for the previous commit. 2010-03-19 20:07:00 +00:00
jruoho
54a337108a Some cosmetic modifications, including removal of white space. 2010-03-19 19:36:27 +00:00
jruoho
b1f54665b4 Document some missing options. Fixes my own PR # 41913. 2010-03-19 19:17:54 +00:00
joerg
1b51c5fb09 Apply the equivalent of r426 and r427 from openpam repository:
Fix doc: pam_strerror() ignores pamh.
Portability tip.
2010-03-19 18:26:14 +00:00
joerg
bf23d3125d Apply r432 from openpam repository:
pam_end() already contains a NULL check, and it is not unreasonable to
call it with a NULL pamh in a cleanup / error-handling situation. Remove
OPENPAM_NONNULL, which may cause gcc to optimize away the NULL check.
2010-03-19 18:16:14 +00:00
joerg
ec66a10c91 Namespace protection for mi_vector_hash. 2010-03-19 18:11:30 +00:00