base: remove 'Native_utcb' from public API

Fixes #1905
This commit is contained in:
Norman Feske
2016-03-08 16:59:43 +01:00
committed by Christian Helmuth
parent 28117fee12
commit 9b0eb720b0
45 changed files with 443 additions and 219 deletions

View File

@ -28,6 +28,7 @@
namespace Genode {
struct Native_utcb;
class Rm_session;
class Thread_base;
class Stack;

View File

@ -16,6 +16,7 @@
/* base-internal includes */
#include <base/internal/stack.h>
#include <base/internal/native_utcb.h>
using namespace Genode;

View File

@ -0,0 +1,23 @@
/*
* \brief Page size utilities
* \author Norman Feske
* \date 2016-03-08
*/
/*
* 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.
*/
#ifndef _INCLUDE__BASE__INTERNAL__PAGE_SIZE_H_
#define _INCLUDE__BASE__INTERNAL__PAGE_SIZE_H_
namespace Genode
{
constexpr size_t get_page_size_log2() { return 12; }
constexpr size_t get_page_size() { return 1 << get_page_size_log2(); }
}
#endif /* _INCLUDE__BASE__INTERNAL__PAGE_SIZE_H_ */

View File

@ -59,6 +59,9 @@
#include <cpu/consts.h>
#include <ram_session/ram_session.h> /* for 'Ram_dataspace_capability' type */
/* base-internal includes */
#include <base/internal/native_utcb.h>
namespace Genode { class Stack; }