Commit Graph

176414 Commits

Author SHA1 Message Date
pooka
69885c98a3 Do not use lockpatches with _RUMPKERNEL (non-PIC ... and pointless). 2009-01-04 18:46:16 +00:00
pooka
51dbd2b805 add braces for symmetry 2009-01-04 18:41:36 +00:00
pooka
58302d6770 Opt for libc versions in case of _KERNEL && !_RUMPKERNEL.
(kernel version uses sti/cli and is not PIC)
2009-01-04 18:21:38 +00:00
pooka
59f8fc8f6e Split variables out of Makefile into Makefile.libkern so that we
can easily just .include it for the proper SRCS etc. definitions
in case we're interested in the files but not in building an actual
libkern.{a,o}.  for librump
2009-01-04 18:00:55 +00:00
jmmv
6725d3eeec Kernel modules (kmod files) are now installed in a subdirectory per module.
Make these tests aware of this so that they work again.
2009-01-04 17:56:57 +00:00
pooka
e77a29de65 allow inclusion of atomic ops in librump 2009-01-04 17:54:29 +00:00
wiz
f2ba098cec Describe better what it does. Inspired by the confusion caused by
FreeBSD problem report 69861.

From jmc@openbsd.

Bump date.
2009-01-04 17:26:24 +00:00
wiz
0ca945fa16 Sockets: Do not mention printing flags, because they are not printed.
From Stephan A. Rickauer via jmc@openbsd.

Bump date.
2009-01-04 17:19:39 +00:00
christos
9590239feb remove debugging. 2009-01-04 17:10:47 +00:00
pooka
c5889d575e Support PIC for inclusion in librump. (m68k untested) 2009-01-04 17:10:46 +00:00
christos
c77bd99b1b add back siisata. 2009-01-04 16:38:58 +00:00
wiz
5458c8ef0a Drop trailing whitespace. Remove unneeded Pp before Ss. 2009-01-04 16:30:17 +00:00
hubertf
b007c29b93 * in diagrams, name routers as such
* enhance formatting
 * add section headers for examples
2009-01-04 16:27:48 +00:00
tsutsui
befea92737 Account ci->ci_idepth on calling handlers in ext_intr() as well as
powerpc/pic/intr.c:pic_handle_intr().  Closes PR port-evbppc/40288.

Should be pulled up to netbsd-5.
2009-01-04 15:34:18 +00:00
wiz
211af1fdb9 Add man page for gcscaudio driver. 2009-01-04 15:34:17 +00:00
wiz
1ee045f360 Fix first part of PR 38987 by Robert Elz:
.Dq needs punctuation quoted to mark it up.

I leave 2) and 3) of that PR open for someone else...
2009-01-04 12:13:56 +00:00
apb
a0398a9d79 * Add etc/rc.d/rndctl script, based on work by Brian A. Seklecki. This
allows you to invoke rndctl(8) during the boot.
* Add rndctl=NO and rndctl_flags="" to /etc/defaults/rc.conf.
* Document rndctl and rndctl_flags variables in rc.conf(5).
2009-01-04 12:10:30 +00:00
apb
cf9d39220a Add a list of device types for use with "rndctl -t ${typename}". 2009-01-04 12:01:43 +00:00
wiz
a711e8e9e4 Fix HTML output. 2009-01-04 09:42:43 +00:00
dholland
6557571403 Rework the text to make it clearer; it was really pretty confusing before.
Add an example; note some bugs/shortcomings. Bump date.
2009-01-04 07:54:15 +00:00
dholland
8f5f9030b6 SEE ALSO getmode(3)/setmode(3).
Suggested in passing by Joerg a long time ago on tech-pkg, seems like
a good idea.
Bump date.
2009-01-04 07:21:01 +00:00
tsutsui
636ff16d48 Use howmany(x, y) rather than roundup(x, y)/y. No binary change. 2009-01-04 04:18:35 +00:00
bjh21
b954c58e71 Add a TESTING kernel configuration that includes GENERIC with useful
diagnostic options turned on and any local drivers that aren't ready
for GENERIC yet but still ought to be tested.
2009-01-04 01:06:26 +00:00
bjh21
ba2b1f1960 device_t/softc split for experimental powerrom driver. 2009-01-04 01:02:29 +00:00
bjh21
4b46702699 device_t/softc split for unixbp(4) 2009-01-04 00:36:00 +00:00
christos
84f0d7015a when using getargs, don't set read-only otherwise it fails with EINVAL. 2009-01-03 23:09:41 +00:00
christos
5bd66079eb document nocasetrans. 2009-01-03 22:56:23 +00:00
christos
2e3fa27094 reset args. Add casetrans 2009-01-03 20:11:04 +00:00
jmmv
0185e9d704 Fix processing of the symbol table, broken in the change that introduced the
new ksyms_addsyms_elf name.  The problem is that the kernel is really built
as an ELF and then objcopy is used to turn it into an a.out.  Therefore, we
need to use the SYMTAB_SPACE hack when we are an ELF.
2009-01-03 20:05:12 +00:00
pooka
b6e6025d0d Get rid of locks with static initializers using once and atomic ops.
This makes proplib simplelock-free.
2009-01-03 18:31:33 +00:00
wiz
5eea853f3e New sentence, new line. Remove another esl(4) reference. 2009-01-03 18:27:36 +00:00
wiz
238aa4a6a2 New sentence, new line. 2009-01-03 18:27:19 +00:00
bjh21
fada7a07d6 Initialise cpu_info_store so that we start up with a valid curlwp. 2009-01-03 18:15:11 +00:00
tsutsui
eedb495377 Add df(1) to installation md_root files for atari.
It looks df(1) had been required by MAKEDEV(8) since NetBSD 1.6 days,
and this could workaround PR port-atari/40316 in branches with
minimum pullups.
2009-01-03 18:11:26 +00:00
christos
2dacfb04ff remove esl (KIYOHARA Takashi) 2009-01-03 17:46:05 +00:00
christos
30173a3005 remove siisata and esl. (KIYOHARA Takashi) 2009-01-03 17:44:20 +00:00
hannken
fc6d5c7578 Remove superfluous "vp->v_vnlock = &vp->v_lock".
Observed by: YAMAMOTO Takashi <yamt@netbsd.org>
2009-01-03 15:29:08 +00:00
reinoud
0da18cc3f4 Fix ISO partitioning readin. ISO dictates its descriptors are minimal 2048
bytes long independent of the device block size.
2009-01-03 14:35:27 +00:00
shattered
bf788f2d48 Add my name to the list of developers. 2009-01-03 12:01:24 +00:00
isaki
8cb1e6831d rtclockinit() and range_test*() were removed in rtclock.c,v 1.19. 2009-01-03 09:32:13 +00:00
apb
04973974b4 * When testing whether the fdesc file system is mounted, parse the
output from mount(8) rather than df(1), because mount is more likely
  to be available on install media.  mount is invoked in a way that
  always prints an error message, and the content of the error message
  tells us whether fdesc is mounted.  This should fix PR 40316 from
  David Ross.
* Don't use negative variable names.  Instead of nofdesc=false, use
  fdesc_mounted=true.
* Add a comment explaining that MAKEDEV may be executed in an environment
  that is missing some common commands.
2009-01-03 08:49:03 +00:00
lukem
f9dee3872f cd9660 support has been present for a while 2009-01-03 08:25:35 +00:00
apb
e746baefad "\t" does not represent a tab in sed regular expressions,
so use a ${tab} variable instead.  This bug was found by
Jeremy C. Reed.
2009-01-03 08:23:00 +00:00
yamt
3c917c1d93 fix exit status values. 2009-01-03 07:20:57 +00:00
tsutsui
cff68ad349 Sync with an update on amiga:
Rewrite a weird calculation marked "XXX fix calculations XXX"
for an index value of lev2 segment table for the kernel Sysptmap
with more meaningful expressions and PAGE_SIZE independent macro.
Also use "~0" rather than "-1" for an unsigned bitmap value.

Should produce the same results and no functional change.

Tested on Falcon with 68060 by Tuomo Makinen.
2009-01-03 07:11:02 +00:00
tsutsui
ef3099575e Rewrite a weird calculation marked "XXX fix calculations XXX"
for an index value of lev2 segment table for the kernel Sysptmap
with more meaningful expressions and PAGE_SIZE independent macro.
Also use "~0" rather than "-1" for an unsigned bitmap value.

Should produce the same results and no functional change.

Tested on A3000 with 68060 by Frank Wille.
2009-01-03 07:04:42 +00:00
tsutsui
c61c988be5 Raise IPL to splsoftnet() before calling callback functions registered
via (atari specific) add_sicallback(), as a workaround hack.

Many drivers which use the MD sicallback depend on BASEPRI() macro
defined in <machine/cpu.h> to check nested interrupts,
but functions invoked from MI softint(9) won't run at IPL_SOFT
any longer and the BASEPRI() macro doesn't return expected value
as the past.

Fixes lost interrupt problem on Falcon wdc(4) reported by
Tuomo Makinen on port-atari, and also confirmed by him.

Should be pulled up to netbsd-5.
2009-01-03 06:36:58 +00:00
lukem
a2c38ed82e Ensure fts_close() doesn't spuriously close fd 0,
by testing FTS_SYMFOLLOW in fts_flags instead of fts_options.
Fix provided by Ben Harris in PR 40319
2009-01-03 06:12:14 +00:00
dholland
2bd5b48033 Clarify a comment 2009-01-03 04:38:07 +00:00
yamt
b1fea83762 remove extra semicolons. 2009-01-03 03:43:21 +00:00