L4Re - L4 Runtime Environment
L4virtio::Svr::Bad_descriptor Struct Reference

Exception used by Queue to indicate descriptor errors. More...

+ Collaboration diagram for L4virtio::Svr::Bad_descriptor:

Public Types

enum  Error {
  Bad_address, Bad_rights, Bad_flags, Bad_next,
  Bad_size
}
 The error code. More...
 

Public Member Functions

 Bad_descriptor (Request_processor const *proc, Error e)
 Make a bad descriptor exception. More...
 

Data Fields

Request_processor const * proc
 The processor that triggered the exception.
 

Detailed Description

Exception used by Queue to indicate descriptor errors.

Definition at line 329 of file virtio.

Member Enumeration Documentation

◆ Error

The error code.

Enumerator
Bad_address 

Address cannot be translated.

Bad_rights 

Missing access rights on memory.

Bad_flags 

Invalid combination of descriptor flags.

Bad_next 

Invalid next index.

Bad_size 

Invalid size of memory block.

Definition at line 332 of file virtio.

Constructor & Destructor Documentation

◆ Bad_descriptor()

L4virtio::Svr::Bad_descriptor::Bad_descriptor ( Request_processor const *  proc,
Error  e 
)
inline

Make a bad descriptor exception.

Parameters
procThe request processor causing the exception
eThe error code.

Definition at line 352 of file virtio.


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