From ab78406859294ed692980f9adcf75ce70f7d9e6d Mon Sep 17 00:00:00 2001 From: marcel Date: Sat, 4 Dec 1999 11:10:22 +0000 Subject: 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 --- sys/compat/linux/linux_util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/compat/linux/linux_util.h') diff --git a/sys/compat/linux/linux_util.h b/sys/compat/linux/linux_util.h index 61a6371..f8775fb 100644 --- a/sys/compat/linux/linux_util.h +++ b/sys/compat/linux/linux_util.h @@ -80,6 +80,8 @@ stackgap_alloc(sgp, sz) #define DPRINTF(a) #endif +extern const char linux_emul_path[]; + int linux_emul_find __P((struct proc *, caddr_t *, const char *, char *, char **, int)); -- cgit v1.1