Commit Graph

101461 Commits

Author SHA1 Message Date
chs
d510857ed4 be sure that the page we allocate to break a loan is put on a paging queue.
fixes PR 18037.
2002-08-29 05:03:30 +00:00
chs
d6988a7eb6 Add `audio* at uaudio?' so that uaudio is actually useful. PR 15610. 2002-08-29 04:54:47 +00:00
chs
d8a392f619 wrap Debugger() in #ifdef DDB. fixes PR 15881. 2002-08-29 04:43:43 +00:00
lukem
edeb8a9da6 improve the description of the key to the output 2002-08-29 04:19:36 +00:00
gmcgarry
49ade9e64d Descend into ras. 2002-08-29 03:46:39 +00:00
gmcgarry
fdfb13e7a7 Add RCSIDs and copyright. 2002-08-29 03:45:33 +00:00
itojun
dbb709c3fd shouldn't do -I/usr/include/openssl, it is not recommended by openssl. 2002-08-29 02:33:14 +00:00
thorpej
d9374670ba Put PERFCTRS under "Development and Debugging options". 2002-08-29 02:25:22 +00:00
thorpej
12f448527a Don't need SOSEND_LOAN here anymore. 2002-08-29 02:22:46 +00:00
itojun
d857057120 heimdal builds shouldn't dig into openssl source by -Ifoo. 2002-08-29 01:31:27 +00:00
lukem
a647dca5e8 tweak the ./rescue entries 2002-08-29 01:30:37 +00:00
lukem
0eb91a1107 add ./libexec (thanks nathan!) 2002-08-29 00:51:40 +00:00
itojun
f613969b8a somehow main trunk was not in sync with 0.9.6f for this file. noted by havard. 2002-08-28 23:10:30 +00:00
scw
9af86f9bf3 Oops, got the source operands for an "andc" reversed.
This gets the hardware interrupt event handler working.
2002-08-28 21:05:25 +00:00
matt
e25f13dfbe From OpenBSD:
- Fix one typo (instead of two disable_rx, one disable_rx and one disable_tx)
[The other bug fix isn't appropriate since the was OACTIVE is dealt with
has been changed in NetBSD.]
2002-08-28 17:46:58 +00:00
thorpej
4c30492b6c * Rename ARM_FLAG_ATPCS_STACK_ALIGN to ARM_FLAG_ATPCS.
* Rename TARGET_ATPCS_STACK_ALIGN to TARGET_ATPCS.
* Move APTCS aggregate return rules to arm_return_in_memory(), conditional
  on TARGET_ATPCS, and make it also return true for variable-sized aggregates.
2002-08-28 17:33:54 +00:00
drochner
f70a22997b now that the build process is clean enough, pull in the dlopen() test 2002-08-28 17:10:24 +00:00
drochner
eb9b2bd26e add a comment showing how to link in the whole libgcc -- workaround
for missing symbols on dlopen()
2002-08-28 17:09:17 +00:00
drochner
1e504e48a9 clean up building of the dlopen()able library - use <bsd.lib.mk> as
far as possible
2002-08-28 17:05:30 +00:00
itohy
fa5465079f Slightly improved version of ffs(3).
Partially from SHIMIZU Ryo <ryo@iij.ad.jp>.  Thanks.
Some cases are slower, but other most cases are faster.

Here's a benchmark on SH-4 200MHz.

return value	C version	previous vers	this version	speed ratio
of ffs()	(ns/call) *1	(ns/call)	(ns/call) *2	(*1/*2)
------------	------------	-------------	------------	-----------
 0		  86		 86		 81		1.06
 1		 110		 86		106 *(slower)	1.04
 2		 132		 86		106 *		1.25
 3		 165		105		117 *		1.41
 4		 201		104		116 *		1.73
 5		 237		111		107		2.21
 6		 271		111		106		2.56
 7		 307		126		116		2.65
 8		 342		125		116		2.95
 9		 376		122		126 *		2.98
10		 410		121		127 *		3.23
11		 446		139		136		3.28
12		 483		140		134		3.60
13		 518		146		125		4.14
14		 551		146		126		4.37
15		 587		161		135		4.35
16		 624		162		136		4.59
17		 658		141		139		4.73
18		 694		142		140		4.96
19		 727		160		148		4.91
20		 764		161		150		5.09
21		 799		167		141		5.67
22		 834		167		142		5.87
23		 868		181		152		5.71
24		 903		181		153		5.90
25		 939		146		140		6.71
26		 974		146		141		6.91
27		1009		166		152		6.64
28		1044		165		148		7.05
29		1080		171		141		7.66
30		1115		171		141		7.91
31		1151		185		151		7.62
32		1185		186		151		7.85
2002-08-28 15:34:35 +00:00
mycroft
c38b03a8c7 Fix SELECT_SECTION() so that C++ run-time type info constructors do not go in
.rodata on PIC systems, which was causing text relocations (and associated
performance loss).
2002-08-28 14:05:58 +00:00
drochner
6ec2abba01 include <bsd.own.mk> to get MACHINE_CPU and fix conditional 2002-08-28 12:39:49 +00:00
dsainty
278bea1a2b Fix playback at 48kHz sample rate (integer overflow bug introduced in 1.18) 2002-08-28 10:51:03 +00:00
lukem
08e7e88032 In the MKDYNAMICROOT==yes case, move the shared linker from /lib/ld.elf_so to
/libexec/ld.elf_so.  Per discussion with a few other developers.
2002-08-28 09:57:10 +00:00
gmcgarry
14b302311d RAS support for i386. 2002-08-28 09:47:15 +00:00
gmcgarry
3fc3b75dad rasctl(2) 2002-08-28 09:38:52 +00:00
onoe
fd9daca7ea Attach another DLTs for bpf: DLT_IEEE802_11 to capture raw 802.11 frame. 2002-08-28 09:38:08 +00:00
onoe
44fbd073c4 Add 2 APIs to get a list of available DLTs and use one for them.
BIOCGDLTLIST (struct bpf_dltlist)
	BIOCSDLT (u_int)
2002-08-28 09:35:55 +00:00
onoe
5d6bb1fbc3 Define new kernel interface bpfattach2() to register another data link
type for the driver, which will be used for 802.11 drivers.
Also add 2 APIs to get a list of available DLTs and use one for them.
	BIOCGDLTLIST (struct bpf_dltlist)
	BIOCSDLT (u_int)
2002-08-28 09:34:57 +00:00
gmcgarry
7fd895f806 Bump minor: rasctl(2) 2002-08-28 09:33:36 +00:00
gmcgarry
c4efdd0999 rasctl(2) 2002-08-28 09:31:26 +00:00
onoe
b4c41e0480 Define new DLT: DLT_IEEE802_11, DLT_PRISM_HEADER, and DLT_AIRONET_HEADER
from tcpdump.org
2002-08-28 09:31:20 +00:00
gmcgarry
d6109af7cb RAS support for m68k. 2002-08-28 08:56:59 +00:00
gmcgarry
1a8058823b RAS support for MIPS. Tested on R3000. 2002-08-28 08:34:06 +00:00
gmcgarry
45e99c1a85 Have ras.h too. 2002-08-28 08:01:31 +00:00
gmcgarry
d70a7f871f ras(9) 2002-08-28 08:00:21 +00:00
gmcgarry
fa0313ca0b Documentation for Restartable Atomic Sequences (RAS). 2002-08-28 07:56:30 +00:00
gmcgarry
3ee9d48c4d Regression tests for RAS. Tests the basic functionality including
forking and execing.
2002-08-28 07:47:18 +00:00
gmcgarry
2468902b58 A simple regression test for cpu locks. 2002-08-28 07:41:02 +00:00
gmcgarry
a5c84b7617 Bump version for rasctl syscall. 2002-08-28 07:28:53 +00:00
gmcgarry
366dfb04d7 Attempt to protect restartable atomic sequences of a traced process
being written to.  Breakpoints aren't good in a RAS.  This test isn't
infallible, since we can't protect memory which will be registered
as a RAS in the future.

Also, set the PC before attempting to single-step, so we can backout
from single-stepping.  Just in case we try to single-step into a RAS.
2002-08-28 07:27:14 +00:00
gmcgarry
fcdb569acb add kern_ras.c 2002-08-28 07:19:58 +00:00
gmcgarry
14e30716d8 Regenerate: rasctl 2002-08-28 07:18:50 +00:00
gmcgarry
5bcbbd40bf MI kernel support for user-level Restartable Atomic Sequences (RAS). 2002-08-28 07:16:33 +00:00
matt
05980fc1da Move bufpages to top of kernel vm space. allocate dead zone after buf
pages so that it go larger than > 256MB.
2002-08-28 06:27:20 +00:00
toshii
e2d964c3ec Remove a superfluous interrupt request bit in yuvpack_prog,
which confuses the state machine in common_bktr_intr.
This makes "mplayer -tv ..." work (but only with NTSC).
2002-08-28 06:06:10 +00:00
itojun
bcb0cf6929 tighten isakmp header length validation. from kame 2002-08-28 04:44:04 +00:00
itojun
b6aefbe19f sync with latest systrace in openbsd tree. improved systrace with chroot. 2002-08-28 03:52:44 +00:00
itojun
6e85b03958 reduce diff w/ openbsd 2002-08-28 03:40:54 +00:00
onoe
a5fc25f65e Limit UDP payload size for EDNS0 to 0xffff, not use lower 16bit value. 2002-08-28 02:37:09 +00:00