[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] MIG branch, master, updated. v1.4-9-g003b3a5
From: |
Justus Winter |
Subject: |
[SCM] MIG branch, master, updated. v1.4-9-g003b3a5 |
Date: |
Mon, 03 Nov 2014 10:05:38 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MIG".
The branch, master has been updated
via 003b3a589a0db5eb1db9376d707f3ca68220dba0 (commit)
from 4d0503d0040fd1ba590d3c7cd68b444bfcbbae5a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 003b3a589a0db5eb1db9376d707f3ca68220dba0
Author: Justus Winter <address@hidden>
Date: Mon Nov 25 13:46:41 2013 +0100
Add support for protected payloads
Add support for protected payloads. The new `intranpayload' option can
be used to specify a translation function translating payloads to
values of the translated type. This function will be used instead of
the `intran' function to to look up the receiving object of a message
in a server.
This makes it easy to use the protected payloads introduced in GNU
Mach 1.5.
An inTransPayload function translates payloads to objects, like an
inTrans function translates from port names to objects. Generate code
in the server routine to optimize lookups to the receiver of the
message.
Additionally, if no intran function is provided, but an intranpayload
function is, it is expected to translate from payloads to port names.
This is used to preserve the semantics in case the server routine
expects a port name.
* NEWS: Add item.
* lexxer.l: Emit syInTranPayload.
* parser.h: Define syInTranPayload.
* parser.y (TransTypeSpec): Handle syInTranPayload.
* type.h (struct ipc_type): Add itInTransPayload.
* server.c (WriteExtractArgValue): If a payload-aware intrans function
has been specified, use it to get a reference to the receiving object.
* routine.c (rtAugmentArgKind): Force the use of a local variable if a
payload-aware translate-in function is defined.
-----------------------------------------------------------------------
Summary of changes:
NEWS | 7 +++++++
lexxer.l | 1 +
parser.h | 1 +
parser.y | 17 +++++++++++++++++
routine.c | 4 +++-
server.c | 39 +++++++++++++++++++++++++++++++++++----
type.c | 10 +++++++++-
type.h | 2 ++
8 files changed, 75 insertions(+), 6 deletions(-)
hooks/post-receive
--
MIG
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] MIG branch, master, updated. v1.4-9-g003b3a5,
Justus Winter <=