Turn 'platform_env.h' into a private header

This patch removes 'platform_env.h' from the public API headers because
this header was not part of the API anyway.
This commit is contained in:
Norman Feske
2013-02-13 21:46:19 +01:00
parent cb225a1216
commit b1f63e3356
17 changed files with 49 additions and 37 deletions

View File

@@ -1,5 +1,6 @@
SRC_CC = env.cc rm_session_mmap.cc platform_env.cc debug.cc context_area.cc
LIBS = ipc heap log_console lock syscall
INC_DIR += $(REP_DIR)/src/base/env
vpath env.cc $(BASE_DIR)/src/base/env
vpath context_area.cc $(BASE_DIR)/src/base/env

View File

@@ -11,18 +11,18 @@
* under the terms of the GNU General Public License version 2.
*/
/* Genode includes */
#include <util/arg_string.h>
#include <base/platform_env.h>
#include <base/thread.h>
#include <linux_dataspace/client.h>
#include <linux_syscalls.h>
/* local includes */
#include <platform_env.h>
using namespace Genode;
/****************************************************
** Support for Platform_env_base::Rm_session_mmap **
****************************************************/

View File

@@ -11,11 +11,14 @@
* under the terms of the GNU General Public License version 2.
*/
#include <base/platform_env.h>
/* Genode includes */
#include <base/thread.h>
#include <linux_dataspace/client.h>
#include <linux_syscalls.h>
/* local includes */
#include <platform_env.h>
using namespace Genode;

View File

@@ -18,15 +18,15 @@
#ifndef _CORE__INCLUDE__CORE_ENV_H_
#define _CORE__INCLUDE__CORE_ENV_H_
/* Genode includes */
#include <base/platform_env.h>
/* core includes */
#include <platform.h>
#include <core_parent.h>
#include <cap_session_component.h>
#include <ram_session_component.h>
/* internal base includes */
#include <platform_env.h>
namespace Genode {
@@ -195,6 +195,8 @@ namespace Genode {
PWRN("%s:%u not implemented", __FILE__, __LINE__);
return 0;
}
void reload_parent_cap(Capability<Parent>::Dst, long) { }
};

View File

@@ -27,7 +27,8 @@ SRC_CC = main.cc \
INC_DIR += $(REP_DIR)/src/core/include \
$(GEN_CORE_DIR)/include \
$(REP_DIR)/src/platform \
$(REP_DIR)/src/base/ipc
$(REP_DIR)/src/base/ipc \
$(REP_DIR)/src/base/env
HOST_INC_DIR += /usr/include