Commit Graph

117445 Commits

Author SHA1 Message Date
christos c7360d4269 eliminate unneeded use of sigcontext. 2003-09-12 00:39:38 +00:00
christos 138df80b74 convert to use siginfo/ucontext style of signal delivery instead of
sigcontext. Approved by nathanw.
2003-09-12 00:37:17 +00:00
itojun 49fa1efdc6 remove #define for bsdi 2003-09-12 00:27:59 +00:00
itojun 14756c7d6d kill unneeded variable 2003-09-12 00:10:25 +00:00
manu f816300903 (file missing from the previous commit, I copy/past the commit log)
Some initial support for IOHIDSystem. This gives us some pointer moves in X11
(not really related the the actual mouse movement, but this will come).

The darwin_iohidsystem_thread reads events from wscons, translates them
into IOHIDSystem events and wakes up the userland client with a notification.
To do this, I had to improve the void implementation of
io_connect_set_notification_port() to actually register something (I assumed
a single notification port, which makes some sense since only one process
seems to be able to open the driver)

Missing bits:
- we do not take event masks given by the process into account.
- the notification message has not been checked against Darwin
- events are badly translated
2003-09-11 23:18:10 +00:00
manu f9c483a301 Some initial support for IOHIDSystem. This gives us some pointer moves in X11
(not really related the the actual mouse movement, but this will come).

The darwin_iohidsystem_thread reads events from wscons, translates them
into IOHIDSystem events and wakes up the userland client with a notification.
To do this, I had to improve the void implementation of
io_connect_set_notification_port() to actually register something (I assumed
a single notification port, which makes some sense since only one process
seems to be able to open the driver)

Missing bits:
- we do not take event masks given by the process into account.
- the notification message has not been checked against Darwin
- events are badly translated
2003-09-11 23:16:18 +00:00
briggs 38da12464f We need a little more symtab space. 2003-09-11 22:52:38 +00:00
christos d217c83d02 add a cast to make lint happy. 2003-09-11 21:57:32 +00:00
christos 338cc5f663 sprinkle ARGSUSED for good cheer. 2003-09-11 21:51:57 +00:00
christos 2bf3634159 fix typo. 2003-09-11 20:48:35 +00:00
christos 5a93912d03 No reason for __ in static variable. 2003-09-11 20:24:39 +00:00
christos c18cae3e90 For kernels that have COMPAT_16 enabled, detect that and use the old
sigcontext trampoline code when SA_SIGINFO is not set.
2003-09-11 20:23:46 +00:00
christos 7340db7385 Bring back sigcontext to userland by popular demand. 2003-09-11 20:22:30 +00:00
martin 346b195550 Backout previous, now that <sys/syscall.h> is fixed it's SYS___sigreturn14
again (until we convert to siginfo).
2003-09-11 19:36:29 +00:00
lukem f237492d35 Imakeicide-II: reach-over makefile infrastructure to build XFree86 4.x
(from /usr/xsrc) using bsd-style Makefiles.
Why?
    -	sane cross building
    -	easy builds from read only source
    -	non-root building
    -	imake is evil
nuff said.
2003-09-11 19:26:34 +00:00
christos 29153b1d45 bump libi386 2003-09-11 19:21:00 +00:00
christos 847c1ca736 bump major. i386_vm86 abi change. 2003-09-11 19:19:31 +00:00
christos 99ee91793f make vm86 use __gregset_t 2003-09-11 19:17:07 +00:00
christos a6540cf740 XXX: vm86 for sigcontext comment is gone. 2003-09-11 19:16:05 +00:00
christos ab63d91442 old vm86 call with COMPAT_16 code. 2003-09-11 19:15:12 +00:00
christos c86f27654b new vm86_struct that does not use sigcontext. 2003-09-11 19:14:01 +00:00
scw 973e9cff89 Add definitions required for new in_cksum. 2003-09-11 18:58:44 +00:00
lukem dee68537c2 Imakeicide-II: reach-over makefile infrastructure to build XFree86 4.x
(from /usr/xsrc) using bsd-style Makefiles.
Why?
    -	sane cross building
    -	easy builds from read only source
    -	non-root building
    -	imake is evil
nuff said.
2003-09-11 18:55:44 +00:00
scw 877b3cbe5e Hand-optimised in_cksum/in4_cksum for ARM and XSCALE.
Contributed by Wasabi Systems, with input from Chris Gilbert,
Richard Earnshaw and David Laight.
2003-09-11 18:54:31 +00:00
lukem 98ad6e84d6 Imakeicide-II: reach-over makefile infrastructure to build XFree86 4.x
(from /usr/xsrc) using bsd-style Makefiles.
Why?
    -	sane cross building
    -	easy builds from read only source
    -	non-root building
    -	imake is evil
nuff said.
2003-09-11 18:37:05 +00:00
martin 9e7359685b Fix copy & pasto (luckily, for most archs the structs had the same size,
so this went unnoticed for quite some time now). Noticed by Thomas Bieg.
2003-09-11 18:04:51 +00:00
christos e84c1029c6 Comment out unneeded code now that the kernel has been fixed to ignore
trailing slashes.
2003-09-11 17:38:12 +00:00
christos 136f9cd821 PR/15397: Jason Thorpe: directory operations on pathnames that refer to
directories and have trailing slashes should succeed. Ok'd by kjk.
Fix provided by enami.
2003-09-11 17:33:42 +00:00
yamt ec0f99a001 acquire bqueue_slock around bremfree(). 2003-09-11 15:34:26 +00:00
christos e4a907f72e we only have it if __HAVE_SIGINFO is not defined. 2003-09-11 15:29:10 +00:00
christos 58707ea842 Protect ntp related ioctl properly. 2003-09-11 14:38:18 +00:00
pooka fdd5c1261b our isdntrace uses /dev/isdntrc<n>, not /dev/i4btrc<n> 2003-09-11 14:14:31 +00:00
christos 62da681012 s/COMPAT_16/__HAVE_SIGINFO/ pointed out by wiz. 2003-09-11 14:04:50 +00:00
christos 6b4bd0dc1b regen. 2003-09-11 14:00:21 +00:00
christos 71ee0b2991 - print comment in compat syscalls too.
- print ifdef's in the header files.
2003-09-11 13:59:49 +00:00
christos 2232e7d76f sigreturn is not visible unless COMPAT_16 is enabled. 2003-09-11 13:12:52 +00:00
dsl 58915e2274 If /dev/MAKEDEV is a symlink then preserve the symlink in the mfs /dev.
If /dev/MAKEDEV doesn't exist then try to run /etc/MAKEDEV instead.
Use the (new) '-n inodes' option to mount_mfs and base the size on the number
of inodes and the size of the MAKEDEV script.
2003-09-11 12:51:51 +00:00
dsl 188e64350d Change date on man pages 2003-09-11 12:21:01 +00:00
dsl a83765310a Make mkfs -N work again (was trying to read filesystem).
Correct calculation of number of inodes from density for small filesystems.
Add a '-n inodes' option so that the desired number of inodes can be
explicitly given - init needs this for mfs /dev, -i density is too crude.
2003-09-11 12:19:44 +00:00
ichiro be42cc58d7 regen. 2003-09-11 11:34:46 +00:00
ichiro 7c4ee7e804 add product
Quatech Inc, PCMCIA Enhanced Parallel Port Card
2003-09-11 11:34:18 +00:00
itojun 07f2a2a309 check malloc failure. yamt 2003-09-11 11:24:33 +00:00
jmmv e3d9d7109f Add ':' to the list of characters to be escaped. Fixes completion problems
when the filename includes this character.
2003-09-11 10:24:57 +00:00
kleink d440784b30 __{BEGIN,END}_DECLS-wrap prototypes. 2003-09-11 09:40:11 +00:00
jmmv 16091f0f1c After initialization of the AD1980 codec, swap master and surround volume
controls.  As it was before, the master volume control in all mixer programs
did nothing.  It seems that this codec is not correctly wired in (almost?)
all motherboards.

Patch by Quentin Garnier.  Fixes first part of PR kern/22548.
2003-09-11 09:21:29 +00:00
chs 0454ead77f the asm version of strlcpy() was buggy, just use the C version. 2003-09-11 05:04:33 +00:00
simonb 19f997418f Match "mips*-*-netbsd*" instead of just "mips-*-openbsd*" on NetBSD
to pick up the right core file definition for both endiannesses.
2003-09-11 04:55:03 +00:00
briggs ab0f909e6e s/SYS___sigreturn14/SYS_compat_16___sigreturn14/ 2003-09-11 03:57:29 +00:00
cl 96b4f15141 KNF and use f instead of s to temporarily save l_flag 2003-09-11 01:32:09 +00:00
simonb 1779f6eb88 Get rid of the nbsde{b,l} targets and just use gdb_target=nbsd for
mips.
2003-09-10 22:39:24 +00:00