summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2023-03-19 18:09:45 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-04-03 00:43:16 +0200
commitf9b1676d4526ce89e6c6d41d8caf5759007d8c75 (patch)
tree3a39a0604bbdefe9e733a894c8feee69b489fe02 /include
parent210e10d24f0da87027a2eaabc107993d58363e2c (diff)
Remove bootstrap.defs
As far as I can see, this file was imported in the very beginning of GNU Mach history, and unused since then. Nobody implements or uses this interface. GNU Mach uses a different way to pass the privileged ports to the bootstrap tasks: instead of the task(s) actively asking for the ports in an RPC, the ports are preemptively inserted into the IPC space(s) of the task(s), as configured by the boot script. Remove bootstrap.defs so as to not confuse anyone into thinking it works. Message-Id: <20230319151017.531737-3-bugaevc@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/mach/bootstrap.defs49
1 files changed, 0 insertions, 49 deletions
diff --git a/include/mach/bootstrap.defs b/include/mach/bootstrap.defs
deleted file mode 100644
index 0b233e4a..00000000
--- a/include/mach/bootstrap.defs
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Mach Operating System
- * Copyright (c) 1992 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 bootstrap 999999;
-
-#include <mach/std_types.defs>
-
-ServerPrefix do_;
-
-/*
- * The old form of the bootstrap_privileged_ports RPC
- * is not expressible in Mig syntax, because the reply
- * message doesn't have a return code.
- */
-
-skip; /* old bootstrap_privileged_ports */
-
-/*
- * The startup task can make this call on its bootstrap port
- * to get the privileged ports.
- */
-
-routine bootstrap_privileged_ports(
- bootstrap : mach_port_t;
- out priv_host : mach_port_t;
- out priv_device : mach_port_t);