aboutsummaryrefslogtreecommitdiff
path: root/include/mach/norma_special_ports.h
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-03-20 11:31:36 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:36 +0200
commitec9defc2912e86a7e682ec6e37aac102fa69d94d (patch)
treed8ef07ee8146566139505f5236b3fb0eb273ab2f /include/mach/norma_special_ports.h
parentb80e893edaa066af2a0c5c725c0c394e7c7c20e0 (diff)
downloadgnumach-ec9defc2912e86a7e682ec6e37aac102fa69d94d.tar.gz
gnumach-ec9defc2912e86a7e682ec6e37aac102fa69d94d.tar.bz2
gnumach-ec9defc2912e86a7e682ec6e37aac102fa69d94d.zip
2006-03-20 Thomas Schwinge <tschwinge@gnu.org>
* DEVELOPMENT: Document the NORMA removal. 2006-03-20 Leonardo Lopes Pereira <leonardolopespereira@gmail.com> 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 <norma_device.h> anymore and adopt all users of NORMA_DEVICE as if it were always defined to `0'. * device/net_io.c: Likewise for <norma_ether.h>, NORMA_ETHER. * kern/machine.c: Likewise. * ddb/db_command.c: Likevise for <norma_ipc.h>, 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.h>, NORMA_TASK. * kern/task.c: Likewise. * kern/task.h: Likewise. * ddb/db_command.c: Likewise for <norma_vm.h>, 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.
Diffstat (limited to 'include/mach/norma_special_ports.h')
-rw-r--r--include/mach/norma_special_ports.h84
1 files changed, 0 insertions, 84 deletions
diff --git a/include/mach/norma_special_ports.h b/include/mach/norma_special_ports.h
deleted file mode 100644
index e9114673..00000000
--- a/include/mach/norma_special_ports.h
+++ /dev/null
@@ -1,84 +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.
- */
-/*
- * File: mach/norma_special_ports.h
- *
- * Defines codes for remote access to special ports. These are NOT
- * port identifiers - they are only used for the norma_get_special_port
- * and norma_set_special_port routines.
- */
-
-#ifndef _MACH_NORMA_SPECIAL_PORTS_H_
-#define _MACH_NORMA_SPECIAL_PORTS_H_
-
-#define MAX_SPECIAL_KERNEL_ID 3
-#define MAX_SPECIAL_ID 32
-
-/*
- * Provided by kernel
- */
-#define NORMA_DEVICE_PORT 1
-#define NORMA_HOST_PORT 2
-#define NORMA_HOST_PRIV_PORT 3
-
-/*
- * Not provided by kernel
- */
-#define NORMA_NAMESERVER_PORT (1 + MAX_SPECIAL_KERNEL_ID)
-
-/*
- * Definitions for ease of use.
- *
- * In the get call, the host parameter can be any host, but will generally
- * be the local node host port. In the set call, the host must the per-node
- * host port for the node being affected.
- */
-
-#define norma_get_device_port(host, node, port) \
- (norma_get_special_port((host), (node), NORMA_DEVICE_PORT, (port)))
-
-#define norma_set_device_port(host, port) \
- (norma_set_special_port((host), NORMA_DEVICE_PORT, (port)))
-
-#define norma_get_host_port(host, node, port) \
- (norma_get_special_port((host), (node), NORMA_HOST_PORT, (port)))
-
-#define norma_set_host_port(host, port) \
- (norma_set_special_port((host), NORMA_HOST_PORT, (port)))
-
-#define norma_get_host_priv_port(host, node, port) \
- (norma_get_special_port((host), (node), NORMA_HOST_PRIV_PORT, (port)))
-
-#define norma_set_host_priv_port(host, port) \
- (norma_set_special_port((host), NORMA_HOST_PRIV_PORT, (port)))
-
-#define norma_get_nameserver_port(host, node, port) \
- (norma_get_special_port((host), (node), NORMA_NAMESERVER_PORT, (port)))
-
-#define norma_set_nameserver_port(host, port) \
- (norma_set_special_port((host), NORMA_NAMESERVER_PORT, (port)))
-
-#endif /* _MACH_NORMA_SPECIAL_PORTS_H_ */