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
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@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
l4-hackers@os.inf.tu-dresden.de