summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-03-17 10:17:02 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-11-03 11:11:43 +0100
commit81d37c131bcc83bc58dcabef2ef1513c1e208ed6 (patch)
tree818d56cbc51ba11adbbcdd305381d81831021135
parentfde14995f9f1a5af830b12be6cc4f9eb2a0cc7bf (diff)
include: add a payload-aware intran mutator for memory_object_t
* include/mach/mach_types.defs (memory_object_t): Add a payload-aware intran mutator. * include/mach/memory_object.defs: Likewise in the inlined type declarations.
-rw-r--r--include/mach/mach_types.defs3
-rw-r--r--include/mach/memory_object.defs13
2 files changed, 16 insertions, 0 deletions
diff --git a/include/mach/mach_types.defs b/include/mach/mach_types.defs
index bfce6cb..85ad653 100644
--- a/include/mach/mach_types.defs
+++ b/include/mach/mach_types.defs
@@ -139,6 +139,9 @@ type memory_object_t = mach_port_t
#ifdef MEMORY_OBJECT_INTRAN
intran: MEMORY_OBJECT_INTRAN
#endif
+#ifdef MEMORY_OBJECT_INTRAN_PAYLOAD
+ intranpayload: MEMORY_OBJECT_INTRAN_PAYLOAD
+#endif
#ifdef MEMORY_OBJECT_OUTTRAN
outtran: MEMORY_OBJECT_OUTTRAN
#endif
diff --git a/include/mach/memory_object.defs b/include/mach/memory_object.defs
index 1ae36aa..6372ded 100644
--- a/include/mach/memory_object.defs
+++ b/include/mach/memory_object.defs
@@ -93,6 +93,10 @@ simpleroutine memory_object_terminate(
#ifdef MEMORY_OBJECT_INTRAN
intran: MEMORY_OBJECT_INTRAN
#endif
+#ifdef MEMORY_OBJECT_INTRAN_PAYLOAD
+ intranpayload:
+ MEMORY_OBJECT_INTRAN_PAYLOAD
+#endif
#ifdef MEMORY_OBJECT_DESTRUCTOR
destructor: MEMORY_OBJECT_DESTRUCTOR
#endif
@@ -236,6 +240,9 @@ simpleroutine memory_object_lock_completed(
#ifdef MEMORY_OBJECT_INTRAN
intran: MEMORY_OBJECT_INTRAN
#endif
+#ifdef MEMORY_OBJECT_INTRAN_PAYLOAD
+ intranpayload: MEMORY_OBJECT_INTRAN_PAYLOAD
+#endif
#ifdef MEMORY_OBJECT_DESTRUCTOR
destructor: MEMORY_OBJECT_DESTRUCTOR
#endif
@@ -274,6 +281,9 @@ simpleroutine memory_object_supply_completed(
#ifdef MEMORY_OBJECT_INTRAN
intran: MEMORY_OBJECT_INTRAN
#endif
+#ifdef MEMORY_OBJECT_INTRAN_PAYLOAD
+ intranpayload: MEMORY_OBJECT_INTRAN_PAYLOAD
+#endif
#ifdef MEMORY_OBJECT_DESTRUCTOR
destructor: MEMORY_OBJECT_DESTRUCTOR
#endif
@@ -327,6 +337,9 @@ simpleroutine memory_object_change_completed(
#ifdef MEMORY_OBJECT_INTRAN
intran: MEMORY_OBJECT_INTRAN
#endif
+#ifdef MEMORY_OBJECT_INTRAN_PAYLOAD
+ intranpayload: MEMORY_OBJECT_INTRAN_PAYLOAD
+#endif
#ifdef MEMORY_OBJECT_DESTRUCTOR
destructor: MEMORY_OBJECT_DESTRUCTOR
#endif