Ack. Justus Winter, le Thu 18 Sep 2014 15:22:48 +0200, a écrit : > * 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. > --- > include/mach/mach_types.defs | 3 +++ > include/mach/memory_object.defs | 13 +++++++++++++ > 2 files changed, 16 insertions(+) > > 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 > -- > 2.1.0 >
-- Samuel mdiym42: note to self mdiym42: make sure your cat is not sleeping in the bass drum before you start playing them