bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH gnumach 2/2] include: add X_IMPORTS to ipc definitions


From: Justus Winter
Subject: [PATCH gnumach 2/2] include: add X_IMPORTS to ipc definitions
Date: Wed, 12 Nov 2014 16:49:09 +0100

This makes it possible to inject imports.

* include/mach/gnumach.defs: Make it possible to inject imports.
* include/mach/mach.defs: Likewise.
* include/mach/mach_host.defs: Likewise.
---
 include/mach/gnumach.defs   | 4 ++++
 include/mach/mach.defs      | 4 ++++
 include/mach/mach_host.defs | 4 ++++
 3 files changed, 12 insertions(+)

diff --git a/include/mach/gnumach.defs b/include/mach/gnumach.defs
index bac3b09..dd4da87 100644
--- a/include/mach/gnumach.defs
+++ b/include/mach/gnumach.defs
@@ -29,6 +29,10 @@ subsystem
 #include <mach/mach_types.defs>
 #include <mach_debug/mach_debug_types.defs>
 
+#ifdef GNUMACH_IMPORTS
+GNUMACH_IMPORTS
+#endif
+
 type vm_cache_statistics_data_t = struct[11] of integer_t;
 
 /*
diff --git a/include/mach/mach.defs b/include/mach/mach.defs
index 5851080..3786f65 100644
--- a/include/mach/mach.defs
+++ b/include/mach/mach.defs
@@ -46,6 +46,10 @@ userprefix r_;
 #include <mach/std_types.defs>
 #include <mach/mach_types.defs>
 
+#ifdef MACH_IMPORTS
+MACH_IMPORTS
+#endif
+
 skip;  /* old port_allocate */
 skip;  /* old port_deallocate */
 skip;  /* old port_enable */
diff --git a/include/mach/mach_host.defs b/include/mach/mach_host.defs
index 2644146..6699a50 100644
--- a/include/mach/mach_host.defs
+++ b/include/mach/mach_host.defs
@@ -47,6 +47,10 @@ subsystem
 #include <mach/std_types.defs>
 #include <mach/mach_types.defs>
 
+#ifdef MACH_HOST_IMPORTS
+MACH_HOST_IMPORTS
+#endif
+
 /*
  *     Get list of processors on this host.
  */
-- 
2.1.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]