L4Re - L4 Runtime Environment
L4virtio::Virtqueue::Desc::Flags Struct Reference

Type for descriptor flags. More...

+ Collaboration diagram for L4virtio::Virtqueue::Desc::Flags:

Public Member Functions

 Flags (l4_uint16_t v)
 Make Flags from raw 16bit value.
 

Data Fields

l4_uint16_t raw
 raw flags value of a virtio descriptor.
 
typedef cxx::Bitfield< decltype(raw), 0, 0 > next_bfm_t
 Part of a descriptor chain which is continued with the next field. More...
 
next_bfm_t::Val next () const
 Get the next bits ( 0 to 0 ) of raw . More...
 
next_bfm_t::Ref next ()
 Get a reference to the next bits ( 0 to 0 ) of raw . More...
 
typedef cxx::Bitfield< decltype(raw), 1, 1 > write_bfm_t
 Block described by this descriptor is writeable. More...
 
write_bfm_t::Val write () const
 Get the write bits ( 1 to 1 ) of raw . More...
 
write_bfm_t::Ref write ()
 Get a reference to the write bits ( 1 to 1 ) of raw . More...
 
typedef cxx::Bitfield< decltype(raw), 2, 2 > indirect_bfm_t
 Indirect descriptor, block contains a list of descriptors. More...
 
indirect_bfm_t::Val indirect () const
 Get the indirect bits ( 2 to 2 ) of raw . More...
 
indirect_bfm_t::Ref indirect ()
 Get a reference to the indirect bits ( 2 to 2 ) of raw . More...
 

Detailed Description

Type for descriptor flags.

Definition at line 99 of file virtqueue.

Member Typedef Documentation

◆ indirect_bfm_t

Indirect descriptor, block contains a list of descriptors.

Type to access the indirect bits ( 2 to 2 ) of raw .

Definition at line 110 of file virtqueue.

◆ next_bfm_t

Part of a descriptor chain which is continued with the next field.

Type to access the next bits ( 0 to 0 ) of raw .

Definition at line 108 of file virtqueue.

◆ write_bfm_t

Block described by this descriptor is writeable.

Type to access the write bits ( 1 to 1 ) of raw .

Definition at line 108 of file virtqueue.

Member Function Documentation

◆ indirect() [1/2]

indirect_bfm_t::Val L4virtio::Virtqueue::Desc::Flags::indirect ( ) const
inline

Get the indirect bits ( 2 to 2 ) of raw .

Definition at line 112 of file virtqueue.

Referenced by L4virtio::Svr::Request_processor::next(), and L4virtio::Svr::Request_processor::start().

+ Here is the caller graph for this function:

◆ indirect() [2/2]

indirect_bfm_t::Ref L4virtio::Virtqueue::Desc::Flags::indirect ( )
inline

Get a reference to the indirect bits ( 2 to 2 ) of raw .

Definition at line 112 of file virtqueue.

◆ next() [1/2]

next_bfm_t::Ref L4virtio::Virtqueue::Desc::Flags::next ( )
inline

Get a reference to the next bits ( 0 to 0 ) of raw .

Definition at line 108 of file virtqueue.

◆ next() [2/2]

next_bfm_t::Val L4virtio::Virtqueue::Desc::Flags::next ( ) const
inline

Get the next bits ( 0 to 0 ) of raw .

Definition at line 108 of file virtqueue.

Referenced by L4virtio::Svr::Request_processor::has_more(), and L4virtio::Svr::Request_processor::next().

+ Here is the caller graph for this function:

◆ write() [1/2]

write_bfm_t::Val L4virtio::Virtqueue::Desc::Flags::write ( ) const
inline

Get the write bits ( 1 to 1 ) of raw .

Definition at line 110 of file virtqueue.

◆ write() [2/2]

write_bfm_t::Ref L4virtio::Virtqueue::Desc::Flags::write ( )
inline

Get a reference to the write bits ( 1 to 1 ) of raw .

Definition at line 110 of file virtqueue.


The documentation for this struct was generated from the following file: