Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

L4_rcv_desc Class Reference

L4 receive descriptor. More...

#include <l4_types.h>

List of all members.

Public Member Functions

 L4_rcv_desc (Mword w=(Mword)-1)
 Create a L4 receive descriptor from it's binary representation.
Mword open_wait () const
 Open wait?
Mword rmap () const
 Wait for a register map message?
void * msg () const
 Get a pointer to the receive buffer.
L4_fpage fpage () const
 Get the receive flex page.
Mword is_register_ipc () const
 Receive a register only message?
Mword has_receive () const
 Is there a receive part?
Mword raw () const
 for debugging (jdb)

Static Public Member Functions

static L4_rcv_desc short_fpage (L4_fpage fp)
 Create a receive descriptor for receiving the given flex page.

Private Attributes

Mword _d


Detailed Description

L4 receive descriptor.


Constructor & Destructor Documentation

L4_rcv_desc::L4_rcv_desc Mword  w = (Mword)-1  )  [inline]
 

Create a L4 receive descriptor from it's binary representation.


Member Function Documentation

L4_fpage L4_rcv_desc::fpage  )  const [inline]
 

Get the receive flex page.

Precondition:
rmap() must return true.
Returns:
the receive flex page.

Mword L4_rcv_desc::has_receive  )  const [inline]
 

Is there a receive part?

Returns:
whether there is a receive expected or not.

Mword L4_rcv_desc::is_register_ipc  )  const [inline]
 

Receive a register only message?

Returns:
true, if a register only message shall be received.

void * L4_rcv_desc::msg  )  const [inline]
 

Get a pointer to the receive buffer.

Precondition:
The is_register_ipc() method must return false.
Returns:
the address of the receive buffer.

Mword L4_rcv_desc::open_wait  )  const [inline]
 

Open wait?

Returns:
the open wait bit.

Mword L4_rcv_desc::raw  )  const [inline]
 

for debugging (jdb)

Mword L4_rcv_desc::rmap  )  const [inline]
 

Wait for a register map message?

Returns:
whether a register map receive is expected.

L4_rcv_desc L4_rcv_desc::short_fpage L4_fpage  fp  )  [inline, static]
 

Create a receive descriptor for receiving the given flex page.

The descriptor is for receiving the given flex page by an register only message.

Parameters:
fp the receive flex page.
Returns:
An L4 receive descriptor for receiving the given flex page as register only message.


Member Data Documentation

Mword L4_rcv_desc::_d [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Sep 26 14:20:16 2005 for Fiasco by  doxygen 1.4.2