summaryrefslogtreecommitdiff
path: root/debian/patches/tn-0002-include-add-X_IMPORTS-to-ipc-definitions.patch
blob: e79ac54e7d172f66d31236c7202406745c6c64c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
From 1f60234ceb8c3fa90333658528f24ae887ece6f8 Mon Sep 17 00:00:00 2001
From: Justus Winter <4winter@informatik.uni-hamburg.de>
Date: Thu, 6 Nov 2014 16:57:35 +0100
Subject: [PATCH gnumach 2/2] include: add X_IMPORTS to ipc definitions

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