Environment of a process

The environment of a Genode process is defined by its parent and initialized on startup.

Namespace global

Public functions

env

Return

Env *

parent_cap

Return parent capability

Return

Parent_capability

Platforms have to implement this function for environment initialization.

Class Genode::Env

Public functions

cpu_session

CPU session for the program

Return

Cpu_session *

This session is used to create threads.

heap

Heap backed by the ram_session of the environment.

Return

Allocator *

parent

Communication channel to our parent

Return

Parent *

pd_session

Pd session of the program

Return

Pd_session *

ram_session

RAM session for the program

Return

Ram_session *

The RAM Session represents a quota of memory that is available to the program. Quota can be used to allocate RAM-Dataspaces.

ram_session_cap

Return

Ram_session_capability

rm_session

Region manager session of the program

Return

Rm_session *