Commit Graph

170517 Commits

Author SHA1 Message Date
wiz
6d252519d6 Put argument directly behind macro call. Link to sched_4bsd instead
of removed scheduler(9).
2008-05-25 19:45:43 +00:00
wiz
3914d9bd61 Add RCS Id. Sort options. Fix xref.
XXX: virtdir(3) does not exist, but I do not know to which page the link
should point instead.
2008-05-25 19:42:22 +00:00
wiz
67ff3d242e Punctuation markup nit. 2008-05-25 19:38:21 +00:00
wiz
682d8063bf Remove trailing whitespace. 2008-05-25 19:38:14 +00:00
joerg
c0b012d867 Update build glue for libarchive-2.5.4b. 2008-05-25 19:34:58 +00:00
joerg
2472f9f8c5 Update libarchive build glue for 2.5.4b and document the version we are
using.
2008-05-25 19:33:27 +00:00
dholland
e53e59c2bc Fix this test up so (1) you can test a particular copy of sh rather than
being restricted to the #!/bin/sh used to run atf; (2) you can tell what
happened when it fails, since it does currently fail; (3) it runs all the
cases even when some of them don't work, and fails only at the end.
2008-05-25 19:25:03 +00:00
ad
5e4b324300 Properly fix the "hanging in tty" bug that was worked around with cv_wakeup()
some time again.
2008-05-25 19:22:21 +00:00
joerg
b26c8099ce Resolve conflicts. 2008-05-25 19:18:49 +00:00
joerg
fb288ada0d Import libarchive-2.5.4b:
- bsdtar is using the hardlink resolver code from libarchive now,
  making it generate correct links for newc format
- fix a number of non-exploitable integer and buffer overflows
- SIGINFO/SIGUSR1 support for bsdtar
- bsdtar -s support
- better mtree support, it should now be able to handle the full syntax
  of NetBSD's mtree
- handle extraction of archives where hardlink and linked to entry don't
  agree on the permission (base.tgz has such entries for systat)
2008-05-25 19:14:31 +00:00
agc
2481b1e8b9 Re-enable INCLUDE_CONFIG_FILE in the GENERIC kernel config files for
i386, amd64 and usermode - it is necessary for retrieving information
on kernel configuration for running kernels - cf config -x.
2008-05-25 19:05:16 +00:00
joerg
ae85e6b957 Random underdocumented CPU facts:
AMD K8 and newer will trap when enabling the NX support outside PAE
paging mode. The AMD64 wake code was restoring the MSR EFER to switch to
Long Mode and naturally didn't have paging enabled at that point.
While this works fine with Intel CPUs, it resulted in an immediate
reboot with AMD processors.

Fixed by a joint brain storming session of jmcneill@, cegger@ and
myself, based on some input from the hardware developers.  This fixes
PR 38587.
2008-05-25 17:20:29 +00:00
ad
49ec182c8c Fix error in previous. 2008-05-25 17:11:13 +00:00
ad
2bcb8bf1c4 PR lib/38741 priority inversion in libpthread breaks apps that use
SCHED_FIFO threads

- Change condvar sync so that we never take the condvar's spinlock without
  first holding the caller-provided mutex. Previously, the spinlock was only
  taken without the mutex in an error path, but it was enough to trigger the
  problem described in the PR.

- Even with this change, applications calling pthread_cond_signal/broadcast
  without holding the interlocking mutex are still subject to the problem
  described in the PR. POSIX discourages this saying that it leads to
  undefined scheduling behaviour, which seems good enough for the time being.

- Elsewhere, use a hash of mutexes instead of per-object spinlocks to
  synchronize entry/exit from sleep queues.

- Simplify how sleep queues are maintained.
2008-05-25 17:05:28 +00:00
christos
8254177f62 mention awk. 2008-05-25 16:33:32 +00:00
christos
f7e42af424 PR/38737: cheusov at tut dot by: Don't build the character class table
starting at 0, because will always be treated as the empty string DuH!
2008-05-25 16:28:25 +00:00
kiyohara
4b5fb67334 Integrated to powerpc-mkbootimage. Obsoleted. 2008-05-25 16:27:56 +00:00
chs
56f22e2d1f include uvm/uvm_extern.h for trunc_page() on sparc
(where the page size isn't a compile-time constant).
2008-05-25 16:21:54 +00:00
kiyohara
5039d4063f Integrated to powerpc-mkbootimage. Obsoleted. 2008-05-25 16:21:07 +00:00
jmcneill
21629183b8 Add pmf support. 2008-05-25 16:19:12 +00:00
jmcneill
43af10dd5c Remove unnecessary rdmsr when modifying MSR_EFER. 2008-05-25 16:17:37 +00:00
bouyer
02ac2b8d02 Add a KASSERT(): Xspllower() will reenable interrupts, so make sure it's
not wrong to do so.
2008-05-25 16:09:30 +00:00
bouyer
0fab1fb884 Fix pasto: CLI -> STI 2008-05-25 16:08:41 +00:00
chs
a5e92dac93 if UVMHIST is defined, include headers necessary for its use. 2008-05-25 16:02:08 +00:00
chs
736ec52d87 remove unused macros. 2008-05-25 16:01:29 +00:00
chs
dfe6756df5 add IBM970MP (used in the last model of powermac G5). 2008-05-25 16:00:52 +00:00
chs
b2e9f679cb recognize the variant found in the last model of powermac G5. 2008-05-25 16:00:11 +00:00
chs
9a885b7050 regen 2008-05-25 15:59:21 +00:00
chs
0efe596589 add devices found in the last model of powermac G5. from openbsd. 2008-05-25 15:58:48 +00:00
chs
eedfb3cc28 fix profiling compilation. 2008-05-25 15:57:50 +00:00
chs
b9a7f48546 enable profiling of assembly functions, except for x86_pause().
profiling that one causes the system with profiling on to become so slow
that we get spinlock timeouts.
2008-05-25 15:56:57 +00:00
chs
6740bb5440 enable profiling of assembly functions. 2008-05-25 15:56:11 +00:00
chris
2b534265d6 Check for erratum 261 on AMD Family 10h Stepping 3 processors.
Also output any detected errata at verbose, rather than debug, level so
they can be seen with dmesg, and at least have a clue if a BIOS update
would fix the errata.
2008-05-25 15:52:07 +00:00
ghen
4c430fc97a Implement wscons colemak and dvorak keyboard variants for Sun keyboards. 2008-05-25 15:51:44 +00:00
jmcneill
940dc65cef Note drvctl event changes. 2008-05-25 15:49:38 +00:00
chris
a868834e61 Add detection of errata for AMD Family 10h steppings A and 2. Covering
errata:
254: Internal Resource Livelock Involving Cached TLB Reload
261: Processor May Stall Entering Stop-Grant Due to Pending Data
     Cache Scrub
298: L2 Eviction May Occur During Processor Operation To Set
     Accessed or Dirty Bit
309: Processor Core May Execute Incorrect Instructions on
     Concurrent L2 and Northbridge Response
2008-05-25 15:19:22 +00:00
jmcneill
1e2888bbbd Export device-driver and device-unit properties via drvctl 2008-05-25 15:03:01 +00:00
christos
e3f3bf2137 PR/38738: murray armfield: Fix type of blen, and reset it on error path. From
OpenBSD.
2008-05-25 15:01:24 +00:00
christos
a3bcaff551 mention awk. 2008-05-25 14:55:47 +00:00
christos
2699db69d7 remove things we don't use. 2008-05-25 14:54:52 +00:00
christos
4459d9696e update to 20070501 2008-05-25 14:51:49 +00:00
christos
200d206cea from: http://cm.bell-labs.com/cm/cs/awkbook/index.html 2008-05-25 13:51:11 +00:00
jmcneill
3a8a32076d Add DRVGETEVENT support for /dev/drvctl, based on devmon support by
Jachym Holecek for Google Summer of Code. DRVGETEVENT plist is currently
limited to event type, device name, and device parent name.
2008-05-25 12:30:40 +00:00
ad
d5afa113a1 Add some general comments about the mutex implementation. 2008-05-25 12:29:59 +00:00
chris
52c485503f Fix pxeboot's load tftp:miniroot.i386.kmod to work again.
We now wrapper the open call for a module with module_open.  It first
attempts to open the module_path munged path, if this fails it then tries
to open the original path.

This allows tftp files to be located correctly.
2008-05-25 11:54:33 +00:00
phx
436768b562 Better call it HID0_BTCD, as in prep, mvmeppc and rs6000 locore. 2008-05-25 10:52:08 +00:00
phx
9728e10361 Added HID0[BTAC] bit for the 604. 2008-05-25 10:16:04 +00:00
wiz
839eeade42 Bump date for previous. 2008-05-25 09:07:21 +00:00
cegger
09d5e20c11 make this build with USSCANNER_DEBUG 2008-05-25 07:04:10 +00:00
dholland
d617ea4585 Fix handling of legacy global variable timezone outputs. PR misc/22221. 2008-05-25 06:18:06 +00:00