aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-11-25 13:46:41 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-10-10 15:11:48 +0200
commit003b3a589a0db5eb1db9376d707f3ca68220dba0 (patch)
treecd3d8b0850751cb6323ec147a9807cb40108cfbd /NEWS
parent4d0503d0040fd1ba590d3c7cd68b444bfcbbae5a (diff)
downloadmig-003b3a589a0db5eb1db9376d707f3ca68220dba0.tar.gz
mig-003b3a589a0db5eb1db9376d707f3ca68220dba0.tar.bz2
mig-003b3a589a0db5eb1db9376d707f3ca68220dba0.zip
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.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 9fc6b3d..c4bed78 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,13 @@
2013-XX-XX
Version 1.5
+* 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.
+
* Emit `X_server_routine' functions that can be inlined reducing the
message dispatch overhead.