transfer_msg_items

Chen Tian chen.tian at acm.org
Thu Jul 21 20:14:58 CEST 2011


Please ignore the message I sent yesterday. I have figured it out. Thanks.

On Wed, Jul 20, 2011 at 5:54 PM, Chen Tian <chen.tian at acm.org> wrote:
> Hello,
>
> Why was a sender's send item (e.g. mr[0] and mr[1] ) merged and stored
> into the receiver's mr[0]?
>
> Basically I have trouble understanding the following code.
>
> *rcv_words=(item->b.raw() & ~0x0ff7) | (sfp.raw())&0x0ff0); rcv_word +=2 ;
>
> Why didn't we use receiver's mr[1] as well? In the case of page fault
> handling IPC, the pf address stored in sender's mr[1] is not used ?
>
> Thanks.
>
> Chen
>




More information about the l4-hackers mailing list