L4Re Operating System Framework
Interface and Usage Documentation
|
C interface of the initial environment that is provided to an L4 task. More...
Data Structures | |
struct | l4re_env_cap_entry_t |
Entry in the L4Re environment array for the named inital objects. More... | |
Typedefs | |
typedef struct l4re_env_cap_entry_t | l4re_env_cap_entry_t |
Entry in the L4Re environment array for the named inital objects. | |
Functions | |
l4re_env_t * | l4re_env (void) L4_NOTHROW |
Get L4Re initial environment. | |
l4_kernel_info_t const * | l4re_kip (void) L4_NOTHROW |
Get Kernel Info Page. | |
l4_cap_idx_t | l4re_env_get_cap (char const *name) L4_NOTHROW |
Get the capability selector for the object named name. | |
l4_cap_idx_t | l4re_env_get_cap_e (char const *name, l4re_env_t const *e) L4_NOTHROW |
Get the capability selector for the object named name. | |
l4re_env_cap_entry_t const * | l4re_env_get_cap_l (char const *name, unsigned l, l4re_env_t const *e) L4_NOTHROW |
Get the full l4re_env_cap_entry_t for the object named name. | |
C interface of the initial environment that is provided to an L4 task.
For an explanation of the default task capabilites see l4_default_caps_t.
For the C++ interface refer to L4Re::Env.
|
inline |
Get L4Re initial environment.
Definition at line 190 of file env.h.
Referenced by l4re_env_get_cap().
|
inline |
Get the capability selector for the object named name.
name | is the name of the object to lookup in the initial objects. |
Definition at line 229 of file env.h.
References l4re_env(), and l4re_env_get_cap_e().
|
inline |
Get the capability selector for the object named name.
name | is the name of the object to lookup in the initial objects. |
e | is the environment structure to use for the operation. |
Definition at line 216 of file env.h.
References l4re_env_cap_entry_t::cap, L4_INVALID_CAP, and l4re_env_get_cap_l().
Referenced by l4re_env_get_cap().
|
inline |
Get the full l4re_env_cap_entry_t for the object named name.
name | is the name of the object to lookup in the initial objects. |
l | is the length of the name string, thus name might not be zero terminated. |
e | is the environment structure to use for the operation. |
Definition at line 198 of file env.h.
References l4re_env_cap_entry_t::flags, and l4re_env_cap_entry_t::name.
Referenced by L4Re::Env::get(), and l4re_env_get_cap_e().
|
inline |
Get Kernel Info Page.
Definition at line 194 of file env.h.
References l4_kip().
Referenced by L4::Poll_timeout_kipclock::set(), and L4::Poll_timeout_kipclock::test().