genode/repos/base-hw/src/core/include/spec/x86/board.h

38 lines
648 B
C++

/*
* \brief x86 mmio constants
* \author Reto Buerki
* \date 2015-03-18
*/
/*
* Copyright (C) 2015 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 _BOARD_H_
#define _BOARD_H_
namespace Genode
{
struct Board
{
enum {
MMIO_LAPIC_BASE = 0xfee00000,
MMIO_LAPIC_SIZE = 0x1000,
MMIO_IOAPIC_BASE = 0xfec00000,
MMIO_IOAPIC_SIZE = 0x1000,
VECTOR_REMAP_BASE = 48,
TIMER_VECTOR_KERNEL = 32,
TIMER_VECTOR_USER = 50,
ISA_IRQ_END = 15,
};
void init() { }
};
}
#endif /* _BOARD_H_ */