Commit Graph

101446 Commits

Author SHA1 Message Date
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
simonb b888bfcc0e Remove some commented-out include files. 2002-08-28 02:27:11 +00:00
thorpej ec09d2df2a Fix a problem introduced in rev 1.103, where we recycle a TIME_WAIT
TCPCB .. the fields need to be converted back to net-order, because
the packet is checksummed after the TCPCB lookup happens.

From YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>.
2002-08-28 02:23:57 +00:00
simonb 993a94e6bc Add the Toshiba TX4927 CPU. 2002-08-28 02:09:29 +00:00
nathanw a7a8c9a009 Not for the trunk yet. 2002-08-28 00:00:57 +00:00
nathanw 0e972f7cec Support for debugging threaded programs, with libpthread and libpthread_dbg. 2002-08-27 23:56:43 +00:00
itojun 006281a1e2 kill register decl 2002-08-27 23:47:07 +00:00
mycroft bbaefa57eb Do the appropriate PIC magic for the jump to _exit(). 2002-08-27 21:38:20 +00:00
manu f9889ab068 Correctly map altgr on a french keyboard 2002-08-27 17:54:30 +00:00
abs b3c9314a54 crank PKGTOOLS_VERSION to 20020827 for last change to lib/path.[ch] 2002-08-27 17:35:05 +00:00
thorpej 70b58c9c1e In bounds_check_with_label(), look for the label sector in RAW_PART,
not "a".
2002-08-27 17:30:02 +00:00
abs 374ff93c9c Introduce path_prepend_from_pkgname() and path_remove_first() and
use in pkg_add to ensure the location of the package being added is
checked first for any additional packages.
2002-08-27 17:27:27 +00:00
lukem ed401558f2 Implement MKDYNAMICROOT, which currently defaults to "no", but will
be changed in the future to "yes".

If MKDYNAMICROOT == "no", there is no change from existing behaviour
of a static /bin and /sbin (and a few programs in elsewhere).

If MKDYNAMICROOT == "yes", the following changes occur:
    in <bsd.own.mk>:
	SHLIBDIR?=     /lib
	SHLINKDIR?=	/lib
    in various Makefiles, the following entry is DISABLED.
	LDSTATIC?=-static
This results in all programs (except those "standalone" programs built
in sys/arch/*/stand) are linked dynamically, the shared linker is moved
from /usr/libexec to /lib (with a compat symlink), and the shared
libraries used by /bin and /sbin programs are moved from /usr/lib to
/lib (with compat symlinks).
2002-08-27 14:46:11 +00:00
christos 0bd5494ee5 make this compile again (thanks mrg) 2002-08-27 14:18:41 +00:00
takemura b8ce6e8201 Added touch panel calibration utility. 2002-08-27 14:12:09 +00:00
christos 8bb1db1740 Add a -q <quit-time> flag to abort a transfer if it has stalled for <quit-time>
seconds. Ok'd by luke.
2002-08-27 13:11:02 +00:00