2015-07-02 16:25:51 +02:00
|
|
|
/*
|
|
|
|
* \brief x86_64_muen constants
|
|
|
|
* \author Adrian-Ken Rueegsegger
|
|
|
|
* \date 2015-07-02
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2017-02-20 13:23:52 +01:00
|
|
|
* Copyright (C) 2015-2017 Genode Labs GmbH
|
2015-07-02 16:25:51 +02:00
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
2017-02-20 13:23:52 +01:00
|
|
|
* under the terms of the GNU Affero General Public License version 3.
|
2015-07-02 16:25:51 +02:00
|
|
|
*/
|
|
|
|
|
2017-04-12 10:06:29 +02:00
|
|
|
#ifndef _CORE__SPEC__X86_64__MUEN__BOARD_H_
|
|
|
|
#define _CORE__SPEC__X86_64__MUEN__BOARD_H_
|
2015-07-02 16:25:51 +02:00
|
|
|
|
2019-05-16 14:20:39 +02:00
|
|
|
#include <hw/spec/x86_64/pc_board.h>
|
2019-07-10 13:30:54 +02:00
|
|
|
#include <spec/x86_64/muen/pic.h>
|
2017-05-02 13:00:17 +02:00
|
|
|
|
|
|
|
namespace Board {
|
2019-05-16 14:20:39 +02:00
|
|
|
using namespace Hw::Pc_board;
|
2017-05-02 13:00:17 +02:00
|
|
|
|
|
|
|
enum {
|
|
|
|
TIMER_BASE_ADDR = 0xe00010000,
|
|
|
|
TIMER_SIZE = 0x1000,
|
|
|
|
TIMER_PREEMPT_BASE_ADDR = 0xe00011000,
|
|
|
|
TIMER_PREEMPT_SIZE = 0x1000,
|
|
|
|
|
|
|
|
VECTOR_REMAP_BASE = 48,
|
|
|
|
TIMER_EVENT_PREEMPT = 30,
|
|
|
|
TIMER_EVENT_KERNEL = 31,
|
|
|
|
TIMER_VECTOR_KERNEL = 32,
|
|
|
|
TIMER_VECTOR_USER = 50,
|
2015-07-02 16:25:51 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2017-04-12 10:06:29 +02:00
|
|
|
#endif /* _CORE__SPEC__X86_64__MUEN__BOARD_H_ */
|