Skip to content

Commit

Permalink
base-linux: make linux-specific headers private
Browse files Browse the repository at this point in the history
The interfaces linux_cpu_session, local_capability, linux_dataspace,
linux_native_pd are mere implementation necessities. They are meant for the
internal use by the framework only. So it is appropriate to move them to
base/internal/.

Issue genodelabs#1832
  • Loading branch information
nfeske authored and ehmry committed Apr 22, 2016
1 parent 23c1427 commit 17a01b3
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion repos/base-linux/src/base/env/rm_session_mmap.cc
Expand Up @@ -33,12 +33,12 @@
*/

/* Genode includes */
#include <base/local_capability.h>
#include <base/thread.h>
#include <linux_dataspace/client.h>
#include <linux_syscalls.h>

/* base-internal includes */
#include <base/internal/local_capability.h>
#include <base/internal/platform_env.h>
#include <base/internal/context_area.h>

Expand Down
6 changes: 5 additions & 1 deletion repos/base-linux/src/base/rm_session_client.cc
Expand Up @@ -11,11 +11,15 @@
* under the terms of the GNU General Public License version 2.
*/

#include <base/local_capability.h>
/* Genode includes */
#include <rm_session/client.h>

/* base-internal includes */
#include <base/internal/local_capability.h>

using namespace Genode;


/**
* Return pointer to locally implemented RM session
*
Expand Down
2 changes: 1 addition & 1 deletion repos/base-linux/src/include/base/internal/platform_env.h
Expand Up @@ -23,11 +23,11 @@

/* Genode includes */
#include <util/misc_math.h>
#include <base/local_capability.h>
#include <base/heap.h>
#include <linux_cpu_session/client.h>

/* base-internal includes */
#include <base/internal/local_capability.h>
#include <base/internal/platform_env_common.h>


Expand Down

0 comments on commit 17a01b3

Please sign in to comment.