summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-29 02:48:17 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-17 23:50:15 +0200
commit4a66e1e09a0b57874b2d5ecccd25420564dfb0f4 (patch)
tree6385804ccf1f60cd9fb287f0050ec1f80bbc3d70
parentde24834ec5391d5afbce67f2da69326ddb89bd74 (diff)
2002-05-28 Roland McGrath <roland@frob.com>
* include/device/device.defs (xxx_device_set_status, xxx_device_get_status, xxx_device_set_filter): Replace these routines with skips. [MACH_KERNEL]: Remove simport <kern/compat_xxx_defs.h>.
-rw-r--r--include/device/device.defs41
1 files changed, 9 insertions, 32 deletions
diff --git a/include/device/device.defs b/include/device/device.defs
index 2bbd5563..a41a7e9b 100644
--- a/include/device/device.defs
+++ b/include/device/device.defs
@@ -1,25 +1,25 @@
-/*
+/*
* Mach Operating System
* Copyright (c) 1991,1990,1989 Carnegie Mellon University
* All Rights Reserved.
- *
+ *
* Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright
* notice and this permission notice appear in all copies of the
* software, derivative works or modified versions, and any portions
* thereof, and that both notices appear in supporting documentation.
- *
+ *
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
* ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- *
+ *
* Carnegie Mellon requests users of this software to return to
- *
+ *
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
* School of Computer Science
* Carnegie Mellon University
* Pittsburgh PA 15213-3890
- *
+ *
* any improvements or extensions that they make and grant Carnegie Mellon
* the rights to redistribute these changes.
*/
@@ -32,10 +32,6 @@
* block and character device interfaces to the kernel.
*/
-#ifdef MACH_KERNEL
-simport <kern/compat_xxx_defs.h>; /* for obsolete routines */
-#endif
-
subsystem
#if KERNEL_SERVER
KernelServer
@@ -99,27 +95,9 @@ routine device_read_inband(
out data : io_buf_ptr_inband_t
);
-/* obsolete */
-routine xxx_device_set_status(
- device : device_t;
- in flavor : dev_flavor_t;
- in status : dev_status_t, IsLong
- );
-
-/* obsolete */
-routine xxx_device_get_status(
- device : device_t;
- in flavor : dev_flavor_t;
- out status : dev_status_t, IsLong
- );
-
-/* obsolete */
-routine xxx_device_set_filter(
- device : device_t;
- in receive_port : mach_port_send_t;
- in priority : int;
- in filter : filter_array_t, IsLong
- );
+skip; /* obsolete device_set_status */
+skip; /* obsolete device_get_status */
+skip; /* obsolete device_set_filter */
routine device_map(
device : device_t;
@@ -148,4 +126,3 @@ routine device_set_filter(
in priority : int;
in filter : filter_array_t
);
-