Commit Graph

129002 Commits

Author SHA1 Message Date
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
chs 2f80fec241 replace these placeholders with real implementations.
translated from the mips version.
2004-07-18 20:48:04 +00:00
chs c2f33bd76d save and restore %t1 around calling __errno, it's a caller-saved register. 2004-07-18 20:44:05 +00:00
chs 7d976824e9 add a missing return instruction. 2004-07-18 20:30:04 +00:00
chs 807ed3c6d2 store the kernel stack pointer for a sleeping LWP in its PCB instead of
in its trapframe.  this is needed for scheduler activations, so that we can
change the user stack pointer via the trapframe.  from openbsd.
2004-07-18 20:27:11 +00:00
yamt 078a5e0d1f remove a prototype of a non-exist function. 2004-07-18 20:03:12 +00:00
thorpej 2a63e04007 - Change the strong dlfcn names in libc to ___name, and make the __name
versions used by others in libc weak, so that we have:
	name: weak
	__name: weak
	___name: strong
- Add __name strong aliases of the dlfcn names in ld.elf_so, so that we have:
	name: strong
	__name: strong

This allows ld.elf_so to self-resolve both the name and __name variants
of the dlfcn functions, the former being required for dlfcn support in
applications, the latter being required for dlfcn support in libc.

Fixes the problem described in:

    http://mail-index.netbsd.org/tech-toolchain/2004/07/17/0000.html

Reviewed by Nick.
2004-07-18 17:26:19 +00:00
tron 9b54aaafc2 Make sure that "texinfo.cat" is really build by the "all" target and that
it gets removed by the "cleandir" target.
2004-07-18 16:34:45 +00:00
wiz 13ff3d72db Generate texinfo.cat. 2004-07-18 15:42:25 +00:00
wiz e8e1e9c2fe Sync with Heimdal: krb5_set_password.3,v 1.7 (except for a reference to
a man page we don't have yet):
Document krb5_set_password_using_ccache and krb5_passwd_result_to_string.
Ok'd by lha.
2004-07-18 15:08:50 +00:00
yamt 4374881880 fix typos. PFIL_HOOK -> PFIL_HOOKS 2004-07-18 11:37:38 +00:00
yamt 7fcbdfb1fe pfil_run_hooks: don't dereference 'mp' unless it's a pointer. 2004-07-18 11:36:04 +00:00
dsl e92cba3e15 Make '0' be a valid number 2004-07-18 10:57:32 +00:00
yamt e9bca9a46e nfs_doio_read: on short read, zero out the rest of the buffer unconditionally.
we can't rely on n_size here because it can be changed under us.
2004-07-18 07:43:00 +00:00