Commit Graph

124046 Commits

Author SHA1 Message Date
kleink e436929104 Fix a (non-dangerous) malloc size botch in eso_allocm();
from Stephen Ma in PR kern/18342.
2004-02-17 17:39:55 +00:00
kleink d82820e03a Audio 2's DMA current address register implements only the least
significant 20 bits, so make sure its memory allocation won't cross
a 1M boundary.  From Stephen Ma in PR kern/18342.
2004-02-17 17:34:21 +00:00
jdolecek d8c927fdbf fldtab[] needs to have one extra element - this marks end of array
adresses part of PR bin/24449 by Jun-ichiro itojun
2004-02-17 13:52:56 +00:00
jschauma de7415c243 ``AFAIC'' should be in here, AFAIC. 2004-02-17 13:51:56 +00:00
grant 1059ac7b7e remove space before comma. 2004-02-17 12:32:25 +00:00
simonb d7ee872c5f Don't shadow a function name with a parameter. 2004-02-17 11:36:01 +00:00
tron 7008209ace Include "sys/systm.h" to get the prototype for panic() which is required
for diagnostic kernels.
2004-02-17 08:22:12 +00:00
rtr 8845b1e975 split off the evcnt code (which is unrelated to autoconfiguration)
into a separate file

approved by simonb@
2004-02-17 05:03:15 +00:00
itojun aa7ee5b5c7 use safer realloc idiom
memset new region got by realloc
2004-02-17 02:38:47 +00:00
itojun 909cd63c63 safer realloc idiom
minor knf
2004-02-17 02:31:33 +00:00
itojun 0795537158 initialize fldtab 2004-02-17 02:28:29 +00:00
enami 456851e71a Some whitespace fix. 2004-02-17 01:45:34 +00:00
enami d59c88c291 The vnode capability id is gone. 2004-02-17 01:35:33 +00:00
enami 6a268a570b Rewind the `bp' advanced backward by cache_revlookup() if getcwd_getcache()
finally returns cache miss.

# Slightly modified from posted version so that it is cleanly patchable
# at least on 1.6 branch.
2004-02-17 01:29:39 +00:00
itojun 7551fb024f do not use long for file offset, use off_t. otto@openbsd 2004-02-16 21:57:04 +00:00
wiz bb3980ab7a Remove last traces of DUMMY_NOPS option that was removed some
time ago.
From Jeff Rizzo in PR 24442.
2004-02-16 17:11:26 +00:00
skrll 7354ecab79 Re-run mknative for mipseb (sgimips). Should close PR 24438. 2004-02-16 16:06:38 +00:00
yamt 0e9e078e22 - raise ipl when calling buf_canrelease() because it traverses buffer queue.
- correct/add comments on buf_canrelease().
2004-02-16 09:34:15 +00:00
lukem 23743f47b8 Add some notes about the layout of the master/partition/floppy boot record. 2004-02-16 07:37:06 +00:00
thorpej e1e9cfd40a Comment out some SYSV* and *VERBOSE options to shrink these down so
they fit in the current boot floppies.
2004-02-16 02:43:53 +00:00
lukem e02544e3b6 add svcudp_create(3) 2004-02-16 02:40:52 +00:00
lukem aff9207208 document svcudp_create 2004-02-16 02:39:36 +00:00
snj 24e8be17bc New sentence, new line. Okayed by wiz. 2004-02-15 22:54:27 +00:00
jdolecek cb3ab0a872 unlock the descriptor table simple lock after fd_getfile() call in
procfs_readdir()
fixes procfs locking problems reported on current-users@, problem place
found by enami tsugutomo
2004-02-15 22:18:17 +00:00
skrll b263dbdd73 Be more gcc like in the way we deal with libgcc so that sh3/hppa millicode
and exception handling have a chance of working properly.

        - creates libgcc, libgcc_eh and libgcc_s

        - updates LIBGCC_SPEC to use them appropriately.

          There's a hack in here at the moment with respect to libgcc_so in that it
          is preferable to link against libgcc_so will only when -shared-libgcc is
          specified (the c++ frontend does this automatically.) Configurations where
          LINK_EH_SPEC is defined already do this. The gcc configuration for
          NetBSD/alpha and another NetBSD platform (I forget which) actually define
          LINK_EH_SPEC probably by accident rather than design.

        - updates share/mk to use the compiler's knowledge of what needs linking into
          libraries and executables. This removes an hppa hack.

        - updates the sets for the newly created libgcc* files.

	- support for linking against the _pg version of libgcc has been removed.
2004-02-15 19:52:27 +00:00
sjg 79e5bb77fc Use ${.MAKE:S,^./,${.CURDIR}/,} so that when someone does
./make test
it works.  Note use .CURDIR rather than .OBJDIR since the later
_may_ not always be correct (eg. symlink in .CURDIR for make).
2004-02-15 19:05:45 +00:00
soren c87f3766c2 Make usage() not overflow 80 char lines. 2004-02-15 17:03:30 +00:00
jdolecek 9f77432368 remove compile-time limit on number of -k options, allocate necessary
structures as-needed
2004-02-15 14:22:55 +00:00
jdolecek 87c48f115e rewrite fixit() to duplicate less code, and comment the contents better;
also removes compile-time dependancy on ND constant
2004-02-15 14:19:22 +00:00
yamt cb8d483e24 add function prototypes. 2004-02-15 12:50:38 +00:00
yamt 0c12e11dfc use different values for each run to fill the mmaped region. 2004-02-15 12:49:27 +00:00
jdolecek 002b9278dc make sure zero is recognized as regular number in number(), and thus sorted
properly with -n
fixes PR bin/20259 by Giles Lean, PR bin/20542 by Peter Seebach, and
part of PR bin/24316 by MLH
2004-02-15 12:41:25 +00:00
jdolecek afac62bca7 g/c redundant setfield() prototype
clear setcolumn() somewhat - use strtol() instead of sscanf(), and
simplify flag setting code
2004-02-15 12:35:26 +00:00
yamt 88bdc13921 a simple test of uvm page loanout. 2004-02-15 12:20:26 +00:00
jdolecek 95b7d83c21 fix -Wunitialized warnings 2004-02-15 11:54:17 +00:00
jdolecek 33f354551b fix some cases of use of unitialized variables 2004-02-15 11:52:12 +00:00
jdolecek 6d8183e508 add rnd hooks 2004-02-15 09:40:32 +00:00
enami f1740378ad Don't assume past the mmaped region is accessible. 2004-02-15 02:59:04 +00:00
enami 63fcb5a042 Fix warning message: the failed operation is not fstat but mmap. 2004-02-15 02:56:53 +00:00
matt 7cd8226ca7 Add missing files 2004-02-14 22:04:40 +00:00
christos 87494016cc avoid conflict on re-defining ioctl. 2004-02-14 18:30:23 +00:00
christos 146f07a922 Fix the non working unctrl mess:
1. delete the incorrect duplicate macro from unctrl.h
2. move unctrl macros from curses.h to unctrl.h and make curses.h include
   unctrl.h in curses.h instead of duplicating their definition.
3. constify unctrl arrays; make length unsigned.
2004-02-14 18:23:45 +00:00
kochi f34a72662f ACPI CA 20040211 2004-02-14 17:01:42 +00:00
kochi 93ec3b2720 Merge ACPI-CA 20040211. 2004-02-14 16:57:24 +00:00
joda fa19f68324 remove reference to non-existent webpage 2004-02-14 16:45:01 +00:00
dsl bcaf57b039 Fix prev. so it compiles 2004-02-14 16:40:22 +00:00
junyoung ff24ed0023 device<tab>
attach<tab>
2004-02-14 16:38:06 +00:00
junyoung 4d4de5b780 device<tab>
attach<tab>
file<tab>
2004-02-14 16:35:58 +00:00
bjh21 5aca86918f Add a new MI attribute, pckbc_machdep_cnattach, and change pckbc_cnattach()
to only call pckbc_machdep_cnattach() if this is present.  This allows
pckbc_machdep_cnattach() to be omitted entirely on most ports, where it only
returns ENXIO anyway.

The devices with this attribute at the moment are pc(4) on i386 and bebox, and
pckbc on sparc, where pckbc_machdep_cnattach() mysteriously returns 0 rather
than ENXIO.
2004-02-14 14:33:28 +00:00
bjh21 c1e3dd3d1f Remove "pc", "pcconskbd" and "pckbcport" on prep, since they've practically
not been there for two years.
2004-02-14 14:10:05 +00:00