]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/Include/sys/ioctl.h
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / StdLib / Include / sys / ioctl.h
diff --git a/StdLib/Include/sys/ioctl.h b/StdLib/Include/sys/ioctl.h
deleted file mode 100644 (file)
index 2378fd2..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-/** @file\r
-  Device Control, ioctl, definitions and declarations.\r
-\r
-  Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
-  This program and the accompanying materials are licensed and made available under\r
-  the terms and conditions of the BSD License that accompanies this distribution.\r
-  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
- * Copyright (c) 1982, 1986, 1990, 1993, 1994\r
- *  The Regents of the University of California.  All rights reserved.\r
- * (c) UNIX System Laboratories, Inc.\r
- * All or some portions of this file are derived from material licensed\r
- * to the University of California by American Telephone and Telegraph\r
- * Co. or Unix System Laboratories, Inc. and are reproduced herein with\r
- * the permission of UNIX System Laboratories, Inc.\r
- *\r
- * Redistribution and use in source and binary forms, with or without\r
- * modification, are permitted provided that the following conditions\r
- * are met:\r
- * 1. Redistributions of source code must retain the above copyright\r
- *    notice, this list of conditions and the following disclaimer.\r
- * 2. Redistributions in binary form must reproduce the above copyright\r
- *    notice, this list of conditions and the following disclaimer in the\r
- *    documentation and/or other materials provided with the distribution.\r
- * 3. Neither the name of the University nor the names of its contributors\r
- *    may be used to endorse or promote products derived from this software\r
- *    without specific prior written permission.\r
- *\r
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\r
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r
- * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\r
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\r
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\r
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\r
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\r
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\r
- * SUCH DAMAGE.\r
-\r
-  NetBSD: ioctl.h,v 1.34 2005/12/11 12:25:20 christos Exp\r
-  ioctl.h 8.6 (Berkeley) 3/28/94\r
-**/\r
-#ifndef _SYS_IOCTL_H_\r
-#define _SYS_IOCTL_H_\r
-\r
-\r
-//#include <sys/ttycom.h>\r
-\r
-/*\r
- * Pun for SunOS prior to 3.2.  SunOS 3.2 and later support TIOCGWINSZ\r
- * and TIOCSWINSZ (yes, even 3.2-3.5, the fact that it wasn't documented\r
- * nonwithstanding).\r
- */\r
-struct ttysize {\r
-  unsigned short  ts_lines;\r
-  unsigned short  ts_cols;\r
-  unsigned short  ts_xxx;\r
-  unsigned short  ts_yyy;\r
-};\r
-//#define TIOCGSIZE TIOCGWINSZ\r
-//#define TIOCSSIZE TIOCSWINSZ\r
-\r
-//#include <sys/ioccom.h>\r
-\r
-//#include <sys/dkio.h>\r
-//#include <sys/filio.h>\r
-//#include <sys/sockio.h>\r
-\r
-/*\r
- * Passthrough ioctl commands. These are passed through to devices\r
- * as they are, it is expected that the device (an LKM, for example),\r
- * will know how to deal with them. One for each emulation, so that\r
- * no namespace clashes will occur between them, for devices that\r
- * may be dealing with specific ioctls for multiple emulations.\r
- */\r
-\r
-struct ioctl_pt {\r
-  unsigned long com;\r
-  void *data;\r
-};\r
-\r
-#define PTIOCNETBSD   _IOW('Z', 0, struct ioctl_pt)\r
-#define PTIOCSUNOS    _IOW('Z', 1, struct ioctl_pt)\r
-#define PTIOCSVR4     _IOW('Z', 2, struct ioctl_pt)\r
-#define PTIOCLINUX    _IOW('Z', 3, struct ioctl_pt)\r
-#define PTIOCFREEBSD  _IOW('Z', 4, struct ioctl_pt)\r
-#define PTIOCOSF1     _IOW('Z', 5, struct ioctl_pt)\r
-#define PTIOCULTRIX   _IOW('Z', 6, struct ioctl_pt)\r
-#define PTIOCWIN32    _IOW('Z', 7, struct ioctl_pt)\r
-\r
-#include <sys/EfiCdefs.h>\r
-\r
-__BEGIN_DECLS\r
-int ioctl(int, unsigned long, ...);\r
-__END_DECLS\r
-#endif /* !_SYS_IOCTL_H_ */\r