summaryrefslogtreecommitdiff
path: root/include/mach/memory_object_default.defs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-10-07 22:36:02 +0000
committerRoland McGrath <roland@gnu.org>2001-10-07 22:36:02 +0000
commitf29e33843f75a7d22e262864188c502f4367f6ba (patch)
treec74f08facfab5b3930235b23db4ff3984c70e54d /include/mach/memory_object_default.defs
parentdd9854ac808623136580ca191f306a1c053b1121 (diff)
2001-10-07 Roland McGrath <roland@frob.com>
* ddb/db_access.c: Fix obsolescent #else/#endif syntax. * device/dev_name.c: Likewise. * device/dev_pager.c: Likewise. * device/ds_routines.c: Likewise. * i386/i386/i386asm.sym: Likewise. * include/device/device_reply.defs: Likewise. * include/mach/memory_object.defs: Likewise. * include/mach/memory_object_default.defs: Likewise.
Diffstat (limited to 'include/mach/memory_object_default.defs')
-rw-r--r--include/mach/memory_object_default.defs32
1 files changed, 16 insertions, 16 deletions
diff --git a/include/mach/memory_object_default.defs b/include/mach/memory_object_default.defs
index eb2aea7..d39fa9a 100644
--- a/include/mach/memory_object_default.defs
+++ b/include/mach/memory_object_default.defs
@@ -1,25 +1,25 @@
-/*
+/*
* Mach Operating System
* Copyright (c) 1991,1990,1989,1988,1987 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.
*/
@@ -34,15 +34,15 @@
subsystem
#if KERNEL_USER
KernelUser
-#endif KERNEL_USER
+#endif /* KERNEL_USER */
memory_object_default 2250;
#ifdef MACH_KERNEL
#include <norma_vm.h>
#if NORMA_VM
userprefix k_;
-#endif NORMA_VM
-#endif MACH_KERNEL
+#endif /* NORMA_VM */
+#endif /* MACH_KERNEL */
#include <mach/std_types.defs>
#include <mach/mach_types.defs>
@@ -50,7 +50,7 @@ userprefix k_;
#if SEQNOS
serverprefix seqnos_;
serverdemux seqnos_memory_object_default_server;
-#endif SEQNOS
+#endif /* SEQNOS */
/*
* Pass on responsibility for the new kernel-created memory
@@ -65,14 +65,14 @@ simpleroutine memory_object_create(
ctype: mach_port_t;
#if SEQNOS
msgseqno seqno : mach_port_seqno_t;
-#endif SEQNOS
+#endif /* SEQNOS */
new_memory_object : memory_object_t =
MACH_MSG_TYPE_MOVE_RECEIVE
ctype: mach_port_t
#if KERNEL_USER
/* for compatibility with Mach 2.5 kernels */
, dealloc
-#endif KERNEL_USER
+#endif /* KERNEL_USER */
;
new_object_size : vm_size_t;
new_control_port : memory_object_control_t =
@@ -93,7 +93,7 @@ simpleroutine memory_object_data_initialize(
memory_object : memory_object_t;
#if SEQNOS
msgseqno seqno : mach_port_seqno_t;
-#endif SEQNOS
+#endif /* SEQNOS */
memory_control_port : memory_object_control_t =
MACH_MSG_TYPE_MAKE_SEND
ctype: mach_port_t;
@@ -110,12 +110,12 @@ simpleroutine memory_object_data_terminate(
memory_object : memory_object_t;
#if SEQNOS
msgseqno seqno : mach_port_seqno_t;
-#endif SEQNOS
+#endif /* SEQNOS */
memory_control_port : memory_object_control_t =
MACH_MSG_TYPE_MAKE_SEND
ctype: mach_port_t;
offset : vm_offset_t;
size : vm_size_t);
-#else 0
+#else /* 0 */
skip; /* memory_object_data_terminate */
-#endif 0
+#endif /* 0 */