From dd48e23f43730038df4bb191e7acc47a4ab73c69 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Thu, 1 Sep 2011 20:24:58 +0200 Subject: Remove long obsolete RPC routines * kern/compat_xxx_defs.h: Remove file. * Makefrag.am (libkernel_a_SOURCES): Remove `kern/compat_xxx_defs.h'. * include/mach/mach_types.defs (xxx_emulation_vector_t): Remove type. * device/device.srv: Do not simport . * kern/mach.srv: Likewise. * kern/mach_host.srv: Likewise. * include/device/device.defs [MACH_KERNEL]: Do not simport . (xxx_device_set_status, xxx_device_get_status) (xxx_device_set_filter): Replace routine declarations with skip directives. * include/mach/mach.defs [MACH_KERNEL]: Do not simport . (xxx_memory_object_lock_request, xxx_task_get_emulation_vector) (xxx_task_set_emulation_vector, xxx_host_info, xxx_slot_info) (xxx_cpu_control, xxx_task_info, xxx_thread_get_state) (xxx_thread_set_state, xxx_thread_info): Replace routine declarations with skip directive. * include/mach/mach_host.defs [MACH_KERNEL]: Do not simport . (yyy_host_info, yyy_processor_info, yyy_processor_control) (xxx_processor_set_default_priv, yyy_processor_set_info): Replace routine declarations with skip directive. * kern/ipc_host.c (xxx_processor_set_default_priv): Remove function. * kern/machine.c (xxx_host_info, xxx_slot_info) (xxx_cpu_control): Likewise. * kern/syscall_emulation.c (xxx_task_set_emulation_vector) (xxx_task_get_emulation_vector): Likewise. * vm/memory_object.c (xxx_memory_object_lock_request): Likewise. --- include/device/device.defs | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) (limited to 'include/device') diff --git a/include/device/device.defs b/include/device/device.defs index 2bbd556..d9234e3 100644 --- a/include/device/device.defs +++ b/include/device/device.defs @@ -32,10 +32,6 @@ * block and character device interfaces to the kernel. */ -#ifdef MACH_KERNEL -simport ; /* 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; /* old xxx_device_set_status */ +skip; /* old xxx_device_get_status */ +skip; /* old xxx_device_set_filter*/ routine device_map( device : device_t; -- cgit v1.2.3