diff options
| author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-11-21 01:11:32 +0100 |
|---|---|---|
| committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-11-21 01:11:32 +0100 |
| commit | 2142dcf3c136357c45020dd292cf37b4fdf92526 (patch) | |
| tree | 797b78f7a144480f03ca40ad299545addec01207 /debian | |
| parent | 7005b5642d7ba8e91665b8823b4f912a5bf947e8 (diff) | |
add patch series
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/patches/0001-include-make-mach_port_t-payload-aware.patch | 37 | ||||
| -rw-r--r-- | debian/patches/series | 1 |
2 files changed, 38 insertions, 0 deletions
diff --git a/debian/patches/0001-include-make-mach_port_t-payload-aware.patch b/debian/patches/0001-include-make-mach_port_t-payload-aware.patch new file mode 100644 index 0000000..f641f97 --- /dev/null +++ b/debian/patches/0001-include-make-mach_port_t-payload-aware.patch @@ -0,0 +1,37 @@ +From 2e590fb9450ea50f4d639d32ca06a50043f5050c Mon Sep 17 00:00:00 2001 +From: Justus Winter <4winter@informatik.uni-hamburg.de> +Date: Fri, 21 Nov 2014 01:05:49 +0100 +Subject: [PATCH gnumach] include: make `mach_port_t' payload-aware + +Honor a new macro `MACH_PAYLOAD_TO_PORT' to inject a translation +function mapping payloads to port names in the definition of +`mach_port_t'. + +* include/mach/std_types.defs (mach_port_t): Honor +`MACH_PAYLOAD_TO_PORT'. +--- + include/mach/std_types.defs | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git a/include/mach/std_types.defs b/include/mach/std_types.defs +index 00d1a69..a1f156d 100644 +--- a/include/mach/std_types.defs ++++ b/include/mach/std_types.defs +@@ -49,7 +49,13 @@ type pointer_t = ^array[] of MACH_MSG_TYPE_BYTE + ctype: vm_offset_t; + + +-type mach_port_t = MACH_MSG_TYPE_COPY_SEND; ++type mach_port_t = MACH_MSG_TYPE_COPY_SEND ++#ifndef KERNEL_SERVER ++#ifdef MACH_PAYLOAD_TO_PORT ++ intranpayload: mach_port_t MACH_PAYLOAD_TO_PORT ++#endif /* MACH_PAYLOAD_TO_PORT */ ++#endif /* KERNEL_SERVER */ ++; + type mach_port_array_t = array[] of mach_port_t; + + type mach_port_name_t = MACH_MSG_TYPE_PORT_NAME +-- +2.1.3 + diff --git a/debian/patches/series b/debian/patches/series index 39a711a..3b39d51 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -8,3 +8,4 @@ Add-some-padding-to-make-objects-fit-a-single-cache-.patch vm_cache_policy.patch tn-0001-kern-provide-notifications-about-new-tasks.patch tn-0002-include-add-X_IMPORTS-to-ipc-definitions.patch +0001-include-make-mach_port_t-payload-aware.patch |
