Commit Graph

5502 Commits

Author SHA1 Message Date
wiz 538e6e3e1e Move siginfo(5) and ucontext(5) to siginfo(2) and ucontext(2) resp.,
and fix references.
Per a discussion on source-changes around Sep 14 2003.
2003-10-14 14:59:03 +00:00
christos e752a6f68a PR/23158: Johan Danielsson: Portable usage of the mk*temp() functions requires
six `X's.
2003-10-14 14:29:46 +00:00
yamt faf00d99a2 don't use uninitialized variable ('chlenbak').
the problem reported by Markus Illenseer on tech-userlevel@
and analyzed by enami tsugutomo.
2003-10-14 12:50:03 +00:00
scw 789335a49c Xscale-optimised mem* routines. Contributed by Wasabi Systems.
(Note: memcmp/memset improvements also benefit non-Xscale).

memcmp()  - Compare 32-bits at a time if possible. Special-case 6-byte
            comparisons, for the benefit of the network stack.

memset()  - More loop unrolling, plus use of 'strd' instruction,
bzero()     results in > 100% speedup on Xscale.

memcpy()  - Big-endian support, unrolled loops, 'strd/pld', plus special-
            cases for very common length/alignment combinations.
            Benchmarks show ~50% improvment on Xscale.

memmove() - Big-endian support. Use fast memcpy(), above, if the regions
bcopy()     don't overlap. Otherwise unchanged

XXX: The Xscale optimisations are not enabled by default, unless /etc/mk.conf
XXX: has the right compiler options. The intention is to pull them in via
XXX: something like libxscale.so, selected at runtime by ld.so.conf.
XXX: (Big-endian support is not affected by this).
2003-10-14 07:51:45 +00:00
wiz 8295081a25 & -> \*[Am]; mark up FD_SETSIZE; bump date for previous. 2003-10-14 07:44:43 +00:00
itojun 5435c421a0 note that programs that use rpc(3) cannot bump FD_SETSIZE. 2003-10-14 07:08:45 +00:00
agc 9f1aac5bb3 Move Jason Downs's code from a 4-clause to a 3-clause licence by
removing the advertising clause.  Diffs provided in PR 22410 by Joel
Baker, confirmed to the board by Jason Downs.

With additional thanks to Jason Thorpe.
2003-10-13 15:36:33 +00:00
agc b2b49933f4 Move Matt Green's code from a 4-clause to a 3-clause licence by removing
the advertising clause. Diffs provided in PR 22396 by Joel Baker, the changes
were confirmed to the board by Matt Green.
2003-10-13 14:22:20 +00:00
agc ed6ed8e698 Move Keith Muller's code from a 4-clause to a 3-clause licence by removing
the advertising clause. Diffs provided in PR 22397 by Joel Baker, confirmed
to the board by Keith Muller.
2003-10-13 07:41:22 +00:00
pk f70031fee9 SIGINFO __sigaction & trampoline code. 2003-10-12 14:42:03 +00:00
christos 7152fa1070 use matt's powerpc implementation. It is simpler than mine, and it does
matter as far as performance goes.
2003-10-12 04:23:17 +00:00
enami f431b58f2b Back out rev. 1.56; `pointer points the byte just after the valid region'
is normal case.  If the parser wants something more, there should be
another bounds check for it.
2003-10-11 03:35:42 +00:00
simonb 62887f0740 Remove another unneeded cast to size_t.
Pointed out by Anil Madhavapeddy in private email.
2003-10-10 05:38:45 +00:00
ichiro c9be9cafc5 dont use __ARMEB__
It changed so that it might distinguish by BYTE_ORDER
2003-10-09 09:44:25 +00:00
ichiro b6a7f7b339 support big endian 2003-10-09 09:37:56 +00:00
simonb 444e6dce83 No need to cast "len" to a size_t now that "len" is a size_t. 2003-10-09 00:50:34 +00:00
kleink fd04e737c6 Update to use symbolic register names. 2003-10-09 00:17:59 +00:00
itojun 1bb83f4a4a avoid signed->unsigned assignment. openbsd PR 1709 2003-10-08 20:33:17 +00:00
skd b3ec0a1d45 Siginfo libc changes for alpha. Approved by thorpej@netbsd.org. 2003-10-07 17:08:07 +00:00
thorpej 8655c7d7eb Add a MAP_WIRED flag to mmap(2), which causes the new mapping to be
wired as if by mlock(2).
2003-10-07 00:17:09 +00:00
fvdl 4da2d7565d Userland amd64 siginfo support. 2003-10-06 22:57:23 +00:00
matt ed9d433616 Update to new assmbler needs. Add getcontext.S stub. 2003-10-06 05:30:21 +00:00
matt f3198687d6 Add SA_SIGINFO support for ARM. 2003-10-05 19:48:39 +00:00
bouyer 7b066791c8 Remove references to University of California from my copyright notices. 2003-10-05 17:48:49 +00:00
scw 5238256a02 s/sigcontext/siginfo/ 2003-10-05 10:46:41 +00:00
scw b469b163b9 libc bits for siginfo on sh5. 2003-10-05 10:01:49 +00:00
junyoung e3ac3a4d0c Style fixes to reduce diff size against the FreeBSD version, notably:
- Use NULL where appropriate.
 - No need to pull in stdint.h.
 - Get rid of "register" keywords in the hope that the compiler will
   do a better job for us. :-)
 - Every message ends with a period.
 - MMAP() macro is supposed to return MAP_FAILED rather than -1 if it
   fails.
 - De-__P.
2003-10-05 04:49:46 +00:00
kleink 09c5c31fc8 Convert to use register prefixes. 2003-10-03 22:37:35 +00:00
itojun f462c5301e paren around macro arg 2003-10-03 22:04:44 +00:00
itojun d26799ebc9 off-by-one. from millert@openbsd 2003-10-03 22:04:03 +00:00
christos 44eab0895d PR/20768: Martin Blapp: Remove special handling for non-blocking connections
that breaks amd clients.
2003-10-03 21:29:16 +00:00
christos 3e10887300 Pass -D_LIBC 2003-09-30 22:30:16 +00:00
matt c1704e15b4 Enable the SIGINFO trampoline. 2003-09-30 19:05:41 +00:00
matt 4abc70c356 Deal with changed filename. 2003-09-28 16:30:18 +00:00
dsl 2f28cd113e Simon has persuaded me to remove the 'sizeof (struct kinfo_drivers)' field. 2003-09-28 13:18:41 +00:00
matt 117653c214 Since this a signal trampoline #2, make that's in the file name. 2003-09-27 21:43:29 +00:00
dsl fde7103b90 Add KERN_ROOT_PARTITION and KERN_DRIVERS 2003-09-27 19:09:10 +00:00
matt 4ba9658201 Remove __LIBC12_SOURCE 2003-09-27 03:33:00 +00:00
matt 7fff5acf50 Constify the _-sigaction_sigtramp tramp argument. 2003-09-27 03:14:59 +00:00
matt 20745b5469 Invoke the proper signal trampoline depending on SA_SIGINFO. 2003-09-27 01:03:40 +00:00
matt 4e7e0da41e Add siginfo signal trampoline. 2003-09-25 22:46:22 +00:00
wiz a66ae71844 Slight syncing with OpenBSD version. 2003-09-23 10:26:54 +00:00
itojun 1db8823e19 out-of-bounds access. from openbsd 2003-09-23 03:19:28 +00:00
cl ae9566397a SA_SIGINFO support for m68k (libc) 2003-09-22 14:42:02 +00:00
uwe 616df9fb1f Do not profile. Indent delay slots. 2003-09-22 02:42:02 +00:00
uwe 237ead7bc8 Indent delay slot. 2003-09-22 02:38:13 +00:00
uwe 849c5af36b Do not profile. Indent delay slot. 2003-09-22 02:35:46 +00:00
uwe 89a06df4c7 Indent delay slots. Add a comment that the magic number 8 is SIGFPE. 2003-09-22 02:27:59 +00:00
uwe e023f7cb8d Do not profile. Indent delay slot. 2003-09-22 02:18:40 +00:00
uwe 391ab004a4 Do not profile. Indent delay slot. 2003-09-22 02:08:07 +00:00