summaryrefslogtreecommitdiff
path: root/reincarnation.defs
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-08-01 09:00:58 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2013-08-01 09:00:58 +0200
commit06c3b46e273598a94480df39d01617c14764ee39 (patch)
treee2984f9a285a521b07343873afc86d4954cc1605 /reincarnation.defs
Initial commit of the reincarnation prototype
Diffstat (limited to 'reincarnation.defs')
-rw-r--r--reincarnation.defs36
1 files changed, 36 insertions, 0 deletions
diff --git a/reincarnation.defs b/reincarnation.defs
new file mode 100644
index 0000000..cb47680
--- /dev/null
+++ b/reincarnation.defs
@@ -0,0 +1,36 @@
+/* Reincarnation services for translators.
+
+ Copyright (C) 2013 Free Software Foundation, Inc.
+
+ Written by Justus Winter <4winter@informatik.uni-hamburg.de>
+
+ This file might one day be a part of the GNU Hurd.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2, or (at
+ your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
+subsystem reincarnation 36270;
+
+#include <hurd/hurd_types.defs>
+
+#ifdef FILE_IMPORTS
+FILE_IMPORTS
+#endif
+
+routine reincarnate (
+ server: mach_port_t;
+ out image: data_t);
+
+routine checkpoint (
+ server: mach_port_t;
+ in image: data_t);