mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 23:12:24 +00:00
39 lines
875 B
C
39 lines
875 B
C
|
/*
|
||
|
* \brief Platform-specific context area definitions
|
||
|
* \author Stefan Kalkowski
|
||
|
* \date 2014-01-24
|
||
|
*/
|
||
|
|
||
|
/*
|
||
|
* Copyright (C) 2014 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__NATIVE_CONFIG_H_
|
||
|
#define _INCLUDE__BASE__NATIVE_CONFIG_H_
|
||
|
|
||
|
#include <base/stdint.h>
|
||
|
|
||
|
namespace Genode {
|
||
|
|
||
|
struct Native_config
|
||
|
{
|
||
|
/**
|
||
|
* Thread-context area configuration
|
||
|
*/
|
||
|
static constexpr addr_t context_area_virtual_base() {
|
||
|
return 0x20000000UL; }
|
||
|
static constexpr addr_t context_area_virtual_size() {
|
||
|
return 0x10000000UL; }
|
||
|
|
||
|
/**
|
||
|
* Size of virtual address region holding the context of one thread
|
||
|
*/
|
||
|
static constexpr addr_t context_virtual_size() { return 0x00100000UL; }
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif /* _INCLUDE__BASE__NATIVE_CONFIG_H_ */
|