Commit Graph

124037 Commits

Author SHA1 Message Date
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
bjh21 2e7e5cf29f Remove definitions of "pc" and "pcconskbd" devices which couldn't work since
they used arch/prep/isa/pccons.c, which was removed in late 2001.
2004-02-14 14:00:22 +00:00
jdolecek af46922ada add compat hook in check for zerodev; use this hook to recognize
the old ARM /dev/zero minor mapping #ifdef COMPAT_16
fixes second part of PR kern/23581 by Richard Earnshaw
2004-02-14 12:20:14 +00:00
jdolecek 159f41eca4 allocate wired memory for the marker kevent in kqueue_scan() instead
of using on-stack memory, so that this wouldn't eventually cause kernel
panic if the process get swapped out and another process runs kqueue_scan()
problem pointed out in kern/24220 by Stephan Uphoff
2004-02-14 11:56:28 +00:00
simonb 216a472c99 Use -fPIC only if MKPIC isn't "no". 2004-02-14 08:41:58 +00:00
simonb 3e7ae7aefb Re-run mknative with latest mknative-gcc. 2004-02-14 08:39:07 +00:00
simonb aa459d7b32 Make everything in this file except for the sysctl CTL_MACHDEP related
information hidden outside the kernel.
2004-02-14 08:20:43 +00:00
simonb fb8a44d89d Don't build lcrt.o (version of crt0.o that looks in /libexec/ for the
shared linker) if we have MKPIC=no.
2004-02-14 07:48:37 +00:00
bsh c9e2add10b add drivers for LCD and keyboard. 2004-02-14 07:32:31 +00:00
bsh 58613436a1 Support SMDK2410's 240x320 TFT LCD.
This can be configured with or without wsdisplay.
Only 8- and 16-bpp modes have been tested.
2004-02-14 07:26:35 +00:00