Overview   API Reference  

resource_manager Struct Reference

Generic resource management class. More...

#include <resource_manager.hpp>

Inheritance diagram for resource_manager:

Inheritance graph
[legend]

List of all members.

Public Types

enum  resource_flags_constants {
  DONT_USE = 0x0001, RESERVED_VIRTUAL = 0x0002, RESERVED_PHYSICAL = 0x0004, AVOID_USE = 0x0008,
  AVAILABLE_FROM_OMEGA0 = 0x0010, ATTACHED = 0x0020, FIXED = 0x0100, VIRTUAL = 0x0200,
  PHYSICAL = 0x0400, USE_MASK = FIXED | VIRTUAL | PHYSICAL, ALL_MASK
}
 Constants reflecting a resource's current/desired state. More...

Public Member Functions

 static_assert (integer_traits< resource_flags::word_type >::const_max >=ALL_MASK,"resource_flags's max value is too small")

Classes

struct  range_traits
struct  range_traits< uint16_t, NumberC >
struct  resource_flags
 Resource state flags. More...


Detailed Description

Generic resource management class.

Member Enumeration Documentation

Constants reflecting a resource's current/desired state.

Enumerator:
DONT_USE  Do not use this resource at all.
RESERVED_VIRTUAL  Reserved for virtual use.
RESERVED_PHYSICAL  Reserved for physical use.
AVOID_USE  Avoid to use (e.g. legacy IRQs).
AVAILABLE_FROM_OMEGA0  Initially available from omega0 (only IRQs).
ATTACHED  A handler (e.g. thread) has been attached (e.g. to an IRQ).
FIXED  Fixed resource. Should not be relocated (e.g. a legacy IRQ).
VIRTUAL  Registered/currently virtual.
PHYSICAL  Registered/currently physical.
USE_MASK  Mask containing all allowed client-side bits.
ALL_MASK  Mask containing all used bits.


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

L4vmm Reference Manual, written by Mario Schwalbe  © 2006-2008