Commit Graph

206302 Commits

Author SHA1 Message Date
jakllsch
34ce9c94ba use C99 fixed-width integer types 2011-10-24 19:15:42 +00:00
jakllsch
fbc01b29da constify 2011-10-24 19:13:03 +00:00
mrg
a0b9888bdf add nbsd-nat.o to NATDEPFILES. fixes gdb link issues.
normalise with sparc64 version.
2011-10-24 18:42:41 +00:00
jym
cf4b804efe Move disconnection code to a separate function, similar to what is done
with xbdback_connect.
2011-10-24 18:13:50 +00:00
christos
b68b73afe3 add all the possible build types for each arch 2011-10-24 17:21:29 +00:00
christos
a410943e16 - Make the table of ports more machine readable: ^name\tarch\tdate\tdesc\n$
- Add the specific architecture instead of just the processor family where
  I knew it (please fill in the rest).
- Add missing RS/6000 entry.
2011-10-24 16:49:02 +00:00
yamt
77975fd4f2 note what "other ln implementations" is. 2011-10-24 16:15:46 +00:00
christos
b1aac1fecf Add sparc and vax. 2011-10-24 16:12:23 +00:00
jakllsch
46398bbea4 Add defines for SET FEATURES for the SATA, PUIS and AAM feature sets. 2011-10-24 16:09:58 +00:00
njoly
3999ffe9d3 Remove unused local defines for PCI_COMMAND_STATUS_REG bits (already
available from pcireg.h).
2011-10-24 16:06:43 +00:00
jakllsch
44a52e4ad8 change lines containing only whitespace to empty lines,
remove trailing whitespace
2011-10-24 15:56:17 +00:00
apb
fb967471bf zoneinfo: Import tzdata2011m. [apb 20111024] 2011-10-24 15:44:56 +00:00
apb
56a7fdcc5c tzdata2011m is released and merged 2011-10-24 15:44:09 +00:00
apb
0c3230783b merge tzdata2011m 2011-10-24 15:42:57 +00:00
apb
32f2880dec Import tzdata2011m.
The executive summary:
        europe  Pridnestrovian Moldavian Republic (Europe/Tiraspol)
                has followed much of Russia, and will retain "summer time"
                year round (that is no time transition is due Oct 30).
                This reintroduces a zone that had earlier been removed,
                and so removes the "backward" link.

                On the other hand, Ukraine have decided not to follow,
                so the change which had been made in preparation for
                that in tzdata2011k is now reverted, and there will be
                a transition on Oct 30.

        southamerica
                The change to Bahia, Brazil, that introduced summer time
                (following the regular Brazil rules, so commencing this
                year on Oct 16 - last SUnday) that was mooted before
                tzdata2011l was released, but withdrawn becase the
                change was not yet official, has now been ratified.
2011-10-24 15:40:42 +00:00
hannken
68660b46b7 VOP_GETATTR() needs a shared lock at least.
As nfs_kqpoll() ignores the return value from VOP_GETATTR() initialize
the attrributes to zero -- nfs_kqfilter() does the same.
2011-10-24 11:43:30 +00:00
yamt
fe16316a27 ucas.9 2011-10-24 07:33:26 +00:00
yamt
a22529c8e8 document ucas 2011-10-24 07:31:31 +00:00
yamt
f2ae74d707 - document RESCHED_KPREEMPT
- "Specifically" -> "Typically" in the paragraph which says what this
  function can do, because they are merely examples.
2011-10-24 07:30:29 +00:00
yamt
fe2648528f update the description of the priority argument. 2011-10-24 07:27:09 +00:00
yamt
60b270881f - document XC_HIGHPRI
- explicitly note that xc_wait requires thread context.
2011-10-24 07:25:51 +00:00
jmcneill
d5de6cc0a1 ossaudio's SNDCTL_DSP_GETOSPACE will call AUDIO_SETINFO if the block size
isn't a power of two, and since the block size is changing this tells
audio(4) to halt output, reconfigure the device, then trigger output again.

mplayer's oss driver uses SNDCTL_DSP_GETOSPACE a lot.

Instead of simply rounding to 128 bytes as required by the hardware, change
hdafg_round_blocksize to return one of 128, 256, 512, 1024, 2048, 4096,
or 8192.
2011-10-24 02:08:22 +00:00
christos
2360984d25 add printflike and fix the format error. 2011-10-23 23:41:56 +00:00
jym
4f3abdf86a ps/l shows LWP name, not command name. 2011-10-23 22:02:45 +00:00
jym
81797b4067 Turn a workqueue(9) name into an array in the struct workqueue, rather
than a const char *. This avoids keeping a reference to a string
owned by caller (string could be allocated on stack).
2011-10-23 21:41:23 +00:00
agc
e01460c073 Start to move the in-kernel iSCSI initiator, kindly contributed to the
NetBSD Foundation by Wasabi Systems, from

        othersrc/external/bsd/iscsi/sys/dev/iscsi

to

        src/sys/dev/iscsi
2011-10-23 21:15:02 +00:00
agc
75a17f3ce7 Start to move the in-kernel iSCSI initiator, kindly contributed to the
NetBSD Foundation by Wasabi Systems, from

	othersrc/external/bsd/iscsi/{iscsictl,iscsid}

to

	src/sbin/{iscsictl,iscsid}
2011-10-23 21:11:23 +00:00
christos
1f1b5ad097 Don't block SIGTRAP so that on architectures where the debugger needs to
be able to receive sigtrap for breakpoints to work, it can. For example
we are setting breakpoints inside dlopen(), after we've blocked the signal,
so the process keep trapping and looping over the trap instruction without
being able to send the signal. Another way would be to move the
_rtld_debug_state() calls outside the critical section...
2011-10-23 21:06:07 +00:00
christos
6a96f344c7 Fixed misplaced parenthesis (Nirbhay Choubey) 2011-10-23 17:37:55 +00:00
jym
0f329bf765 Like ddb(4) "ps/l", use '>' sign to indicate running LWPs for the /w
modifier.
2011-10-23 13:30:20 +00:00
tsutsui
a61d3c89b5 Calling psignal(9) (via EV_WAKEUP()) in interrupt handlers
could cause mutex error panic, so defer it via softint(9).
This should fix panic on heavy key strokes during running Xserver.

Should be pulled up to netbsd-5.

XXX: amiga and atari might have the similar problem?
2011-10-23 13:21:54 +00:00
jym
ec3546779a Document "show proc". Be more verbose about commands that print
information about processes especially the '>' sign (e.g. LWP is
currently running).

Bump date. Straight from Hackathon@ESPCI.
2011-10-23 13:20:59 +00:00
jmcneill
4face1e160 PR #32894: protection fault trap in tmx86_get_longrun_mode
Use rdmsr_safe in tmx86_init_longrun to verify that the MSRs are present.
2011-10-23 13:02:32 +00:00
hannken
113be15313 VOP_GETATTR() needs a shared lock at least. 2011-10-23 08:42:06 +00:00
jdc
d5f801e0ef Correct the VSYNC-related register definitions and rework how they are used
(only when the monitor supports composite sync).  OK macallan@.
2011-10-23 06:06:24 +00:00
manu
df227937ba openlog with LOG_NDELAY so that pzerfused does not deadlock later
on vnode recycling because it wants to log a message.

Patch from Manuel Bouyer.
2011-10-23 05:03:37 +00:00
manu
aec8bd3191 perfuse memory usage can grow quite large when using a lot of vnodes,
and the amount of data memory involved is not easy to forcast. We therefore
raise the limit to the maximum.

Patch from Manuel Bouyer. It helps completing a cvs update on a glusterfs
colume.
2011-10-23 05:01:00 +00:00
jmcneill
7bd854f074 hook xsetwallpaper into xorg build 2011-10-22 22:23:50 +00:00
christos
66744c9484 Put a recursion limit to avoid DoS attacks (Maksymilian Arciemowicz)
While there do minor KNF, and do as the manual says: exit with EXIT_FAILURE
2011-10-22 22:08:47 +00:00
jmcneill
1bccf4c76b add makefile for xsetwallpaper 2011-10-22 22:06:17 +00:00
mrg
f3383e2258 fix a build issue with MKCRYPTO=no. 2011-10-22 21:13:25 +00:00
mrg
9d03b8ef4c add a comment to sp_tlb_flush() about fixing the asm() better. 2011-10-22 21:00:40 +00:00
mrg
2ac8591757 note about sparc64 enterprise Exx00 support and initial fujitsu support. 2011-10-22 20:59:12 +00:00
jmcneill
dfe6df62e0 DPADD hw/xfree86/common 2011-10-22 14:40:41 +00:00
tron
84030af9c0 Fix build with stack smash protection enabled. 2011-10-22 10:41:50 +00:00
jmcneill
fa6db268de try to match sys/kern/kern_module.c module path logic: for release branches,
use X.Y version (instead of eg. X.Y.0_PATCH or X.Y_STABLE) and for -current use X.Y.Z.
ok zafer@
2011-10-22 00:05:17 +00:00
joerg
10769988ef Add support for build as part of the toolchain. Add option for
deterministic output (-p), which replaces the random seed with a
incremental counter.
2011-10-21 23:47:11 +00:00
joerg
1669bc8401 sys/endian.h might not exist in the src/tools case 2011-10-21 23:45:56 +00:00
dyoung
48db56b4bc Tell a pci(4) instance its subordinate PCI buses using a new member
in the pcibus_attach_args, pba_sub. pciN attaches to pba_bus itself.
If pba_bus < pba_sub, then [pba_bus + 1, pba_sub] are subordinate to
pba_bus.

On i386, make mainbus0 attach pci0 with pba_sub = 255 because all buses
1 and up must be subordinate to pci0.

XXX Deal with other architectures.
2011-10-21 21:35:28 +00:00
christos
eaa3f157e9 Put back support for non PIC. 2011-10-21 17:57:45 +00:00