2016-10-30 14:17:24 +00:00
|
|
|
/*
|
|
|
|
* \brief Interfaces for initializing libc subsystems
|
|
|
|
* \author Norman Feske
|
|
|
|
* \date 2016-10-27
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2017-02-20 12:23:52 +00:00
|
|
|
* Copyright (C) 2016-2017 Genode Labs GmbH
|
2016-10-30 14:17:24 +00:00
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
2017-02-20 12:23:52 +00:00
|
|
|
* under the terms of the GNU Affero General Public License version 3.
|
2016-10-30 14:17:24 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _LIBC_INIT_H_
|
|
|
|
#define _LIBC_INIT_H_
|
|
|
|
|
|
|
|
/* Genode includes */
|
|
|
|
#include <base/env.h>
|
2017-02-22 13:42:20 +00:00
|
|
|
#include <util/xml_node.h>
|
2016-10-30 14:17:24 +00:00
|
|
|
|
|
|
|
namespace Libc {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Support for shared libraries
|
|
|
|
*/
|
|
|
|
void init_dl(Genode::Env &env);
|
2017-01-31 15:01:07 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Global memory allocator
|
|
|
|
*/
|
|
|
|
void init_mem_alloc(Genode::Env &env);
|
2017-02-22 13:23:06 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Support for querying available RAM quota in sysctl functions
|
|
|
|
*/
|
|
|
|
void sysctl_init(Genode::Env &env);
|
2017-02-22 13:42:20 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set libc config node
|
|
|
|
*/
|
|
|
|
void libc_config_init(Genode::Xml_node node);
|
2016-10-30 14:17:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* _LIBC_INIT_H_ */
|