2017-02-21 13:46:59 +01:00
|
|
|
/*
|
|
|
|
* \brief PC specific board definitions
|
|
|
|
* \author Stefan Kalkowski
|
|
|
|
* \date 2017-04-03
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* 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 _SRC__BOOTSTRAP__SPEC__X86_64__BOARD_H_
|
|
|
|
#define _SRC__BOOTSTRAP__SPEC__X86_64__BOARD_H_
|
|
|
|
|
2017-04-28 15:27:26 +02:00
|
|
|
#include <drivers/uart/x86_pc.h>
|
2017-02-21 13:46:59 +01:00
|
|
|
|
|
|
|
#include <hw/spec/x86_64/page_table.h>
|
|
|
|
#include <hw/spec/x86_64/cpu.h>
|
|
|
|
#include <hw/spec/x86_64/x86_64.h>
|
|
|
|
|
|
|
|
namespace Bootstrap {
|
|
|
|
struct Pic {};
|
|
|
|
using Cpu = Hw::X86_64_cpu;
|
2017-04-28 15:27:26 +02:00
|
|
|
}
|
2017-02-21 13:46:59 +01:00
|
|
|
|
2017-04-28 15:27:26 +02:00
|
|
|
namespace Board {
|
|
|
|
struct Serial;
|
2017-02-21 13:46:59 +01:00
|
|
|
enum Dummies { UART_BASE, UART_CLOCK };
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-04-28 15:27:26 +02:00
|
|
|
struct Board::Serial : Genode::X86_uart
|
2017-02-21 13:46:59 +01:00
|
|
|
{
|
|
|
|
Serial(Genode::addr_t, Genode::size_t, unsigned);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _SRC__BOOTSTRAP__SPEC__X86_64__BOARD_H_ */
|