From ec9defc2912e86a7e682ec6e37aac102fa69d94d Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 20 Mar 2006 11:31:36 +0000 Subject: 2006-03-20 Thomas Schwinge * DEVELOPMENT: Document the NORMA removal. 2006-03-20 Leonardo Lopes Pereira Remove unused and unsupported code. Consult the file `DEVELOPMENT' for details. [patch #4982] * bogus/norma_device.h: Remove file. * bogus/norma_ether.h: Likewise. * bogus/norma_ipc.h: Likewise. * bogus/norma_task.h: Likewise. * bogus/norma_vm.h: Likewise. * include/mach/mach_norma.defs: Likewise. * include/mach/norma_task.defs: Likewise. * include/mach/norma_special_ports.h: Likewise. * Makefile.in (bogus-files): Remove `norma_device.h', `norma_ether.h', `norma_ipc.h', `norma_task.h' and `norma_vm.h'. (mach-headers): Remove `mach_norma.defs', `norma_task.defs' and `norma_special_ports.h'. * device/ds_routines.c: Don't include anymore and adopt all users of NORMA_DEVICE as if it were always defined to `0'. * device/net_io.c: Likewise for , NORMA_ETHER. * kern/machine.c: Likewise. * ddb/db_command.c: Likevise for , NORMA_IPC. * ipc/ipc_init.c: Likewise. * ipc/ipc_kmsg.c: Likewise. * ipc/ipc_kmsg.h: Likewise. * ipc/ipc_mqueue.c: Likewise. * ipc/ipc_notify.c: Likewise. * ipc/ipc_port.c: Likewise. * ipc/ipc_port.h: Likewise. * ipc/ipc_space.c: Likewise. * ipc/ipc_space.h: Likewise. * ipc/mach_msg.c: Likewise. * kern/ast.c: Likewise. * kern/debug.c: Likewise. * kern/exception.c: Likewise. * kern/startup.c: Likewise. * vm/memory_object.c: Likewise. * vm/vm_map.c: Likewise. * kern/ipc_kobject.c: Likewise for , NORMA_TASK. * kern/task.c: Likewise. * kern/task.h: Likewise. * ddb/db_command.c: Likewise for , NORMA_VM. * device/dev_pager.c: Likewise. * include/mach/mach_types.defs: Likewise. * include/mach/mach_types.h: Likewise. * include/mach/memory_object_default.defs: Likewise. * include/mach/memory_object.defs: Likewise. * ipc/ipc_kmsg.c: Likewise. * kern/ipc_kobject.c: Likewise. * kern/ipc_mig.c: Likewise. * kern/startup.c: Likewise. * vm/memory_object.c: Likewise. * vm/vm_object.c: Likewise. * vm/vm_object.h: Likewise. * vm/vm_pageout.c: Likewise. --- include/mach/mach_norma.defs | 120 ------------------------------------------- 1 file changed, 120 deletions(-) delete mode 100644 include/mach/mach_norma.defs (limited to 'include/mach/mach_norma.defs') diff --git a/include/mach/mach_norma.defs b/include/mach/mach_norma.defs deleted file mode 100644 index 01b3872..0000000 --- a/include/mach/mach_norma.defs +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Mach Operating System - * Copyright (c) 1991 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. - */ - -subsystem -#if KERNEL_USER - KernelUser -#endif -#if KERNEL_SERVER - KernelServer -#endif - mach_norma 555000; -#ifdef KERNEL_USER -userprefix r_; -#endif - -#include -#include - -skip; - -/* - * Specify a node upon which children tasks will be created. - * This call exists only to allow testing with unmodified servers. - * Server developers should use norma_task_create instead. - */ -routine task_set_child_node( - target_task : task_t; - child_node : int); - -/* - * THIS CALL WILL BE ELIMINATED. - * Use norma_port_location_hint(,mach_task_self(),) instead. - */ -routine norma_node_self( - host : host_t; - out node : int); - -skip; - -skip; - -skip; - -/* - * (Used to be called task_create_remote.) - * Create a task on the given node, possibly inheriting memory. - * Same inheritance semantics as task_create, including inheritance - * of initial ports and emulation library. - * Setting child_node to node_self forces local task creation. - */ -routine norma_task_create( - target_task : task_t; - inherit_memory : boolean_t; - child_node : int; - out child_task : task_t); - -/* - * Get a given special port for a given node. - * Norma special ports are defined in norma_special_ports.h; - * examples include the master device port. - * There are a limited number of slots available for system servers. - * - * XXX MAX_SPECIAL_ID should be defined in norma_special_ports.h, - * XXX not just in norma/ipc_special.c! - * (MAX_SPECIAL_ID specifies total number of slots available) - */ -routine norma_get_special_port( - host_priv : host_priv_t; - node : int; - which : int; - out port : mach_port_t); - -/* - * Set a given special port for a given node. - * See norma_get_special_port. - */ -routine norma_set_special_port( - host_priv : host_priv_t; - which : int; - port : mach_port_t); - -skip; - -skip; - -skip; - -/* - * Return best guess of port's current location. - * Guaranteed to be a node where the port once was. - * Guaranteed to be accurate if port has never moved. - * Can be used to determine residence node for hosts, tasks, threads, etc. - */ -routine norma_port_location_hint( - task : task_t; - port : mach_port_t; - out node : int); -- cgit v1.2.3