mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-24 01:28:48 +00:00
committed by
Christian Helmuth
parent
28117fee12
commit
9b0eb720b0
@ -28,6 +28,7 @@
|
||||
|
||||
namespace Genode {
|
||||
|
||||
struct Native_utcb;
|
||||
class Rm_session;
|
||||
class Thread_base;
|
||||
class Stack;
|
||||
|
@ -16,6 +16,7 @@
|
||||
|
||||
/* base-internal includes */
|
||||
#include <base/internal/stack.h>
|
||||
#include <base/internal/native_utcb.h>
|
||||
|
||||
using namespace Genode;
|
||||
|
||||
|
23
repos/base/src/include/base/internal/page_size.h
Normal file
23
repos/base/src/include/base/internal/page_size.h
Normal 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_ */
|
@ -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; }
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user