6fa6d72c0b
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
32 lines
498 B
C++
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);
|
|
}
|