summaryrefslogtreecommitdiff
path: root/include/mach
diff options
context:
space:
mode:
Diffstat (limited to 'include/mach')
-rw-r--r--include/mach/mach.defs26
-rw-r--r--include/mach/memory_object.defs24
-rw-r--r--include/mach/std_types.defs14
3 files changed, 32 insertions, 32 deletions
diff --git a/include/mach/mach.defs b/include/mach/mach.defs
index 1e4429d..36d4277 100644
--- a/include/mach/mach.defs
+++ b/include/mach/mach.defs
@@ -164,13 +164,13 @@ skip; /* old thread_mutate */
*/
#ifdef EMULATOR
skip; /* the emulator redefines vm_allocate using vm_map */
-#else EMULATOR
+#else /* EMULATOR */
routine vm_allocate(
target_task : vm_task_t;
inout address : vm_address_t;
size : vm_size_t;
anywhere : boolean_t);
-#endif EMULATOR
+#endif /* EMULATOR */
skip; /* old vm_allocate_with_pager */
@@ -582,21 +582,21 @@ routine xxx_thread_info(
routine task_set_emulation(
target_port : task_t;
routine_entry_pt: vm_address_t;
- routine_number : int);
+ routine_number : int);
/*
* Establish restart pc for interrupted atomic sequences.
* This reuses the message number for the old task_get_io_port.
* See task_info.h for description of flavors.
- *
+ *
*/
routine task_ras_control(
target_task : task_t;
basepc : vm_address_t;
boundspc : vm_address_t;
flavor : int);
-
-
+
+
skip; /* old host_ipc_statistics */
@@ -764,7 +764,7 @@ routine port_extract_receive(
his_name : port_name_t;
out his_port : port_all_t);
-#else MACH_IPC_COMPAT
+#else /* MACH_IPC_COMPAT */
skip; /* old port_names */
skip; /* old port_type */
@@ -783,7 +783,7 @@ skip; /* old port_extract_send */
skip; /* old port_insert_receive */
skip; /* old port_extract_receive */
-#endif MACH_IPC_COMPAT
+#endif /* MACH_IPC_COMPAT */
/*
* Map a user-defined memory object into the virtual address
@@ -829,7 +829,7 @@ routine htg_vm_map(
cur_protection : vm_prot_t;
max_protection : vm_prot_t;
inheritance : vm_inherit_t);
-#else EMULATOR
+#else /* EMULATOR */
routine vm_map(
target_task : vm_task_t;
inout address : vm_address_t;
@@ -842,7 +842,7 @@ routine vm_map(
cur_protection : vm_prot_t;
max_protection : vm_prot_t;
inheritance : vm_inherit_t);
-#endif EMULATOR
+#endif /* EMULATOR */
/*
* Indicate that a range of the specified memory object cannot
@@ -933,15 +933,15 @@ routine port_set_backup(
ctype: mach_port_t;
out previous : port_t);
-#else MACH_IPC_COMPAT
+#else /* MACH_IPC_COMPAT */
skip; /* old port_set_backup */
-#endif MACH_IPC_COMPAT
+#endif /* MACH_IPC_COMPAT */
/*
* Set/Get special properties of memory associated
- * to some virtual address range, such as cachability,
+ * to some virtual address range, such as cachability,
* migrability, replicability. Machine-dependent.
*/
routine vm_machine_attribute(
diff --git a/include/mach/memory_object.defs b/include/mach/memory_object.defs
index e64be87..e7fc12f 100644
--- a/include/mach/memory_object.defs
+++ b/include/mach/memory_object.defs
@@ -2,24 +2,24 @@
* 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.
*/
@@ -33,18 +33,18 @@
subsystem
#if KERNEL_USER
KernelUser
-#endif KERNEL_USER
+#endif /* KERNEL_USER */
#if KERNEL_SERVER
KernelServer
-#endif KERNEL_SERVER
+#endif /* KERNEL_SERVER */
memory_object 2200;
#ifdef KERNEL
#include <norma_vm.h>
#if NORMA_VM
userprefix k_;
-#endif NORMA_VM
-#endif KERNEL
+#endif /* NORMA_VM */
+#endif /* KERNEL */
#include <mach/std_types.defs>
#include <mach/mach_types.defs>
@@ -52,7 +52,7 @@ userprefix k_;
#if SEQNOS
serverprefix seqnos_;
serverdemux seqnos_memory_object_server;
-#endif SEQNOS
+#endif /* SEQNOS */
/*
* Initialize the specified memory object, providing
@@ -69,7 +69,7 @@ simpleroutine memory_object_init(
memory_object : memory_object_t;
#if SEQNOS
msgseqno seqno : mach_port_seqno_t;
-#endif SEQNOS
+#endif /* SEQNOS */
memory_control : memory_object_control_t =
MACH_MSG_TYPE_MAKE_SEND
ctype: mach_port_t;
@@ -95,7 +95,7 @@ simpleroutine memory_object_terminate(
ctype: mach_port_t;
#if SEQNOS
msgseqno seqno : mach_port_seqno_t;
-#endif SEQNOS
+#endif /* SEQNOS */
memory_control : memory_object_control_t =
MACH_MSG_TYPE_MOVE_RECEIVE
ctype: mach_port_t
diff --git a/include/mach/std_types.defs b/include/mach/std_types.defs
index aef7dba..b0011f1 100644
--- a/include/mach/std_types.defs
+++ b/include/mach/std_types.defs
@@ -2,24 +2,24 @@
* Mach Operating System
* Copyright (c) 1991,1990,1989,1988 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.
*/
@@ -124,8 +124,8 @@ type port_rcv_t = MACH_MSG_TYPE_MOVE_RECEIVE
type port_array_t = ^array[] of port_t
ctype: mach_port_array_t;
-#endif MACH_IPC_COMPAT
+#endif /* MACH_IPC_COMPAT */
import <mach/std_types.h>;
-#endif _MACH_STD_TYPES_DEFS_
+#endif /* _MACH_STD_TYPES_DEFS_ */