2017-04-28 15:27:26 +02:00
|
|
|
/*
|
|
|
|
* \brief Board driver for core
|
|
|
|
* \author Stefan Kalkowski
|
|
|
|
* \date 2017-04-27
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2017 Genode Labs GmbH
|
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
|
|
* under the terms of the GNU Affero General Public License version 3.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CORE__SPEC__ARNDALE__BOARD_H_
|
|
|
|
#define _CORE__SPEC__ARNDALE__BOARD_H_
|
|
|
|
|
2019-07-10 13:30:54 +02:00
|
|
|
#include <hw/spec/arm/gicv2.h>
|
2019-05-16 13:42:46 +02:00
|
|
|
#include <hw/spec/arm/arndale_board.h>
|
2019-07-10 16:12:21 +02:00
|
|
|
#include <spec/arm/exynos_mct.h>
|
2019-09-04 15:38:19 +02:00
|
|
|
#include <spec/arm/cpu/vm_state_virtualization.h>
|
|
|
|
#include <translation_table.h>
|
|
|
|
#include <kernel/configuration.h>
|
|
|
|
|
|
|
|
namespace Kernel { class Cpu; }
|
2017-04-28 15:27:26 +02:00
|
|
|
|
|
|
|
namespace Board {
|
2019-05-16 13:42:46 +02:00
|
|
|
using namespace Hw::Arndale_board;
|
2017-04-28 15:27:26 +02:00
|
|
|
|
2019-07-10 13:30:54 +02:00
|
|
|
using Pic = Hw::Gicv2;
|
2019-09-04 15:38:19 +02:00
|
|
|
|
|
|
|
enum { VCPU_MAX = 1 };
|
|
|
|
|
|
|
|
using Vm_state = Genode::Vm_state;
|
|
|
|
using Vm_page_table = Hw::Level_1_stage_2_translation_table;
|
|
|
|
using Vm_page_table_array =
|
|
|
|
Vm_page_table::Allocator::Array<Kernel::DEFAULT_TRANSLATION_TABLE_MAX>;
|
|
|
|
|
|
|
|
struct Vcpu_context { Vcpu_context(Kernel::Cpu &) {} };
|
2017-04-28 15:27:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* _CORE__SPEC__ARNDALE__BOARD_H_ */
|