From owner-cvs-all Sat Dec 4 3:10:51 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id ECA2A14D74; Sat, 4 Dec 1999 03:10:47 -0800 (PST) (envelope-from marcel@FreeBSD.org) Received: (from marcel@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA62066; Sat, 4 Dec 1999 03:10:23 -0800 (PST) (envelope-from marcel@FreeBSD.org) Message-Id: <199912041110.DAA62066@freefall.freebsd.org> From: Marcel Moolenaar Date: Sat, 4 Dec 1999 03:10:23 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/linux linux_ioctl.h imgact_linux.c linux.h linux_ioctl.c linux_sysvec.c linux_util.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk marcel 1999/12/04 03:10:23 PST Modified files: sys/i386/linux imgact_linux.c linux.h linux_ioctl.c linux_sysvec.c linux_util.h Added files: sys/i386/linux linux_ioctl.h Log: Implement pluggable ioctl handlers. Other modules can register and unregister ioctl handlers to extend the ioctls known by the Linuxulator. A recent application is the vmware port. The Linuxulator itself uses the new interface to register its handlers as well. Handlers for the following types of ioctls have been defined: cdrom console (=keyboard and VT handling) socket sound termio All ioctl related defines and declarations have been moved to a new file (linux_ioctl.h), except for the pluggable ioctl handler interface definition. While there, cleanup linux.h some more. linux.h and linux_ioctl.[ch] have been made to conform to style(9) as much as possible. Inspired and reviewed by: Vladimir N. Silyaev Revision Changes Path 1.35 +3 -1 src/sys/i386/linux/imgact_linux.c 1.41 +302 -650 src/sys/i386/linux/linux.h 1.48 +1343 -1127src/sys/i386/linux/linux_ioctl.c 1.54 +20 -8 src/sys/i386/linux/linux_sysvec.c 1.10 +3 -1 src/sys/i386/linux/linux_util.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message