genode/repos/dde_rump/src/lib/rump/env.cc
Sebastian Sumpf 6fa6d72c0b rump_fs: Transition to new API
The rump libraries and the rump_fs component are now conform to the new base
API. Also the I/O back end should be running stable now.

issue #2224
2017-01-13 13:07:13 +01:00

32 lines
498 B
C++

/**
* \brief Rump::Env initialization
* \author Sebastian Sumpf
* \date 2016-06-23
*/
/*
* Copyright (C) 2016 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#include <rump/env.h>
/*
* Genode nviroment instance
*/
static Genode::Constructible<Rump::Env> _env;
Rump::Env &Rump::env()
{
return *_env;
}
void Rump::construct_env(Genode::Env &env)
{
_env.construct(env);
}