Commit Graph

129015 Commits

Author SHA1 Message Date
mycroft 20f54b189f Reduce memory usage slightly. 2004-07-20 15:05:32 +00:00
he afe2341535 Cast register type via intptr_t before cast to pointer.
Fixes build problem for evbsh5.
2004-07-20 14:56:10 +00:00
heas f3921bd4aa typo; date -> data 2004-07-20 14:34:27 +00:00
lukem 635e66e7d8 Improve parsing of HTTP response headers to be more RFC2616 compliant, and
skip LWS (linear white space; CR, LF, space, tab) and the end of lines and
between the field name and the field value.  This still isn't 100% compliant,
since we don't support "multi line" responses at this time.
This should fix PR [bin/22611] from TAMURA Kent (although I can't easily
find a http server to reproduce the problem against.)

Fix a minor memory leak when parsing HTTP response headers.
2004-07-20 12:46:51 +00:00
he b17ac49bb1 Cast result of pthread__uc_pc() via intptr_t before using as a pointer.
Fixes compile problem for evbsh5.
2004-07-20 12:40:53 +00:00
lukem 64ab1ddb13 Don't unnecessarily display a 401/407 error when running with -V.
Fix from PR [bin/18535] by Jeremy Reed.
2004-07-20 11:22:27 +00:00
lukem 34f004270e Ensure that "mname" is set in ls() and mls() so that an aborted confirm()
prints the correct name.
Problem highlighted & suggested fix from PR [bin/17766] by Steve McClellan.
2004-07-20 11:05:20 +00:00
lukem 1aa9c35970 If an ftp auto-fetch transfer is interrupted by SIGINT (usually ^C),
exit with 130 instead of 1 (or rarely, 0).
This allows an ftp auto-fetch in a shell loop to correctly terminate the loop.
Should fix PR [pkg/26351], and possibly others.
2004-07-20 10:40:21 +00:00
pk facc7352d1 Newly built binary from netbsd-1-4 sources + arch/sparc/mdprologue.S, rev 1.8.
Workaround for non-executably mapped PLT in the data segment.
2004-07-20 10:17:50 +00:00
wiz 841c5d51f8 Add ptm(4). Christos thinks it's minimal but ok :) 2004-07-20 09:04:47 +00:00
rumble 44f3c135e7 KNF and consistency 2004-07-20 05:19:23 +00:00
rumble 5189fbb0b4 Allow for console attachment by statically allocating a softc
extension. Tweak cs_softreq when appending the transmit queue.
Finally, add a bit of debugging.
2004-07-20 04:55:21 +00:00
rumble ae62a41f43 Properly initialise the tx and rx queue head and tail positions. 2004-07-20 04:43:44 +00:00
chs 6c4049f2ff fix some stack-pointer math in the previous revision. 2004-07-20 01:51:49 +00:00
perseant 1524f4361c Change "acardide*at ..." to "acardide* at ..." so adjustkernel will dtrt. 2004-07-20 00:08:51 +00:00
dyoung 05ece235b1 Import madwifi's HAL of 19-jul-2004 2004-07-19 23:51:16 +00:00
dyoung 4634dec815 The .m file is not used anywhere, and if it was, it would be badly
out of date by now....
2004-07-19 23:29:50 +00:00
drochner 07d87c5c6e replace the str*() functions by speed optimized versions, submitted by
J.T. Conklin per PR port-amd64/25411
2004-07-19 20:04:41 +00:00
mycroft 26fc0dfe09 Convert 8-bit signed linear data to unsigned for .wav files. 2004-07-19 19:27:59 +00:00
mycroft 680669cd36 Fix fencepost errors in the conversion functions (making them a bit more like
the kernel versions).
2004-07-19 19:15:05 +00:00
msaitoh ad99aeca1d Add Adaptec AAR-1210SA serial ATA RAID.
RAID is not supported by this driver.
2004-07-19 17:04:36 +00:00
tron ad1499aa47 Enable ehci(4) by default. 2004-07-19 14:23:59 +00:00
dbj 092bb86443 . eliminate cgd specific buffer pool, use bufpool instead
and store previous buffer in bp->b_private.
. don't bother to raise splbio in cgdiodone
. use V_INCR_NUMOUTPUT
2004-07-19 13:46:23 +00:00
pk 1aca1da8a8 No need to allocate our own bus tag here. 2004-07-19 13:33:35 +00:00
jmmv aee8313407 Add the Spanish keymap.
While here, add support for the Num Lock key (with all needed changes in the
numeric keypad), Print Screen, Hold Screen, Pause, Insert, and Delete.

Ok'ed by silence in port-mac68k@.
2004-07-19 13:31:08 +00:00
chs ea200fccc1 check for getcontext() failure. 2004-07-19 06:36:27 +00:00
chs 78c66f5a3b fix the test for stack direction to not use an uninitialized variable.
improve failure reporting and print something on success as well.
2004-07-19 06:34:10 +00:00
chs e348d7e175 add hppa MD libpthread bits. translated from MIPS. 2004-07-19 03:39:02 +00:00
chs 7a0d577e38 put RAS_DECL() back to declaring a function by default (since SH5
requires that).  instead, allow <machine/types.h> to override the
default definition and do so on hppa.
2004-07-19 03:12:31 +00:00
chs 6686a4e466 include bsd.own.mk so this builds again. 2004-07-19 01:41:26 +00:00
heas 420275788e Collect and save the FFB DAC version, which will be needed for the h/w cursor
since the Elite3d's logic is reversed.  From FreeBSD.
Fix comments in wsdisplay_accessops initialisation.
2004-07-19 01:04:35 +00:00
heas 381b4b602e Add comments for a few of the FFB registers.
From FreeBSD.
2004-07-19 01:00:48 +00:00
heas f509a0a9b2 If we are serial console, insert a delay just after switching from prom
i/o functions to talking to the sab directly, allowing any residual prom
output to drain.  There does not appear to be a prom "flush" function.

Adresses PR 26226.
2004-07-19 00:28:42 +00:00
chs 4ee5744873 add decl for hppa_ras(). de-__P. 2004-07-18 23:31:26 +00:00
chs 0d86a5cd52 add hppa support for RAS, context stuff, siginfo and scheduler activations:
- add a RAS hook in cpu_switch().
 - fill in the definition of struct mcontext.
 - implement cpu_upcall(), cpu_getmcontext(), cpu_getmcontext() and
   cpu_switchto().
 - for now, force the right priviledge bits and space regs in setcontext().
 - use correct values for __SIMPLELOCK_*.
 - move the user stack to start at a multiple of the pthread stack size
   so that libpthread can use the sp-masking trick.
2004-07-18 23:21:35 +00:00
manu f58d4a42e1 bugfix: vm_copy was only copying the first page 2004-07-18 23:19:52 +00:00
chs c27bdd3547 added new files for context, LWP and siginfo support. 2004-07-18 22:41:23 +00:00
chs 1e1499c776 split __longjmp14() into a separate file and make it use setcontext()
instead of __sigreturn14().  translated from MIPS.
2004-07-18 22:38:33 +00:00
chs 61b506f0a2 add a siginfo signal trampoline and always use it. 2004-07-18 22:38:07 +00:00
chs 56371a56c7 add *context and LWP support for hppa. translated from MIPS. 2004-07-18 22:37:32 +00:00
chs 52abce8499 declare RAS labels as "const char foo[]" instead of functions.
on hppa, function pointers are funky so let's just avoid them here.
2004-07-18 22:34:21 +00:00
chs 423159120b add support for hppa to the MI scheduler activations kernel code:
- on hppa the stack grows up, so handle that using the STACK_* macros.
2004-07-18 21:29:26 +00:00
chs 775b2834d6 remove unneeded include. 2004-07-18 21:26:52 +00:00
chs 38cf5bc322 add a no-op default value for _UC_UCONTEXT_ALIGN if MD code doesn't set it. 2004-07-18 21:26:00 +00:00
chs 94a458cedd enhance MI pthreads code to support hppa:
- statically initialize all global spin locks.  on hppa, 0 means
   the lock is held, so leaving them with the default value doesn't work.
 - compare functions pointers using a function-pointer type rather than
   an integral type.  on hppa, function pointers may be indirect,
   so we need to trigger gcc to emit calls to the function-pointer
   canonicalization routines in the millicode.
 - on hppa the stack grows up, so handle that using the STACK_* macros.
2004-07-18 21:24:52 +00:00
chs 08abf06dcb expose the STACK_* macros to userland if __EXPOSE_STACK is defined. 2004-07-18 21:21:34 +00:00
yamt 42ad308b8b for copy mode, show more meaningful infomation on SIGINFO. 2004-07-18 20:58:36 +00:00
chs 611ac30047 use mi_userret(). 2004-07-18 20:57:34 +00:00
yamt 17d264b6df zero-out dinode is not a proper way to 'clear' an lfs inode. 2004-07-18 20:51:30 +00:00
chs 32c9e25b89 call abort() if longjmperror() returns. 2004-07-18 20:51:24 +00:00