mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
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:
@@ -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
|
||||
|
||||
8
base-linux/src/base/env/platform_env.cc
vendored
8
base-linux/src/base/env/platform_env.cc
vendored
@@ -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 **
|
||||
****************************************************/
|
||||
|
||||
5
base-linux/src/base/env/rm_session_mmap.cc
vendored
5
base-linux/src/base/env/rm_session_mmap.cc
vendored
@@ -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;
|
||||
|
||||
|
||||
|
||||
@@ -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) { }
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user