Modify as_area_share() to accept destination area flags bitmask from the sender
commitfd4d8c080e51030459c861e84ddbc47663832efa
authorJakub Jermar <jakub@jermar.eu>
Thu, 25 May 2006 21:21:58 +0000 (25 21:21 +0000)
committerJakub Jermar <jakub@jermar.eu>
Thu, 25 May 2006 21:21:58 +0000 (25 21:21 +0000)
tree18910ce63182ac2761cf8c7b74966cc0bd533496
parentbaafe7129927f6fcfc81c0942b4cae0a700500cb
Modify as_area_share() to accept destination area flags bitmask from the sender
(i.e. the sender can limit access mode to the shared area for the recipient).
Modify IPC_M_AS_AREA_SEND code to support this. Arguments for sender: arg1=as_area,
arg2=size, arg3=flags_mask.

The mechanism seems to work, but the page fault handlers need to be altered to
distinguish between faults under different access modes.
generic/include/mm/as.h
generic/src/ipc/sysipc.c
generic/src/mm/as.c