mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-28 17:48:53 +00:00
8d03312528
'Core_tlb' ensures that core never throws pagefaults, in contrast to its base 'Tlb' that is planned to use displacement in the future. 'Core_tlb' enables the application of differenet memory attributes in core, according to the board specific partitioning of the physical address space. This way it enables caching in core.
57 lines
1.0 KiB
C++
57 lines
1.0 KiB
C++
/*
|
|
* \brief Board definitions for the i.MX31
|
|
* \author Martin Stein
|
|
* \author Norman Feske
|
|
* \date 2011-11-03
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2012 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__PLATFORM__BOARD_H_
|
|
#define _INCLUDE__PLATFORM__BOARD_H_
|
|
|
|
/* Genode includes */
|
|
#include <util/mmio.h>
|
|
|
|
namespace Genode
|
|
{
|
|
/**
|
|
* i.MX31 motherboard
|
|
*/
|
|
struct Board
|
|
{
|
|
enum {
|
|
RAM_0_BASE = 0x80000000,
|
|
RAM_0_SIZE = 0x20000000,
|
|
|
|
MMIO_0_BASE = 0x30000000,
|
|
MMIO_0_SIZE = 0x50000000,
|
|
|
|
UART_1_IRQ = 45,
|
|
UART_1_MMIO_BASE = 0x43f90000,
|
|
UART_1_MMIO_SIZE = 0x00004000,
|
|
|
|
EPIT_1_IRQ = 28,
|
|
EPIT_1_MMIO_BASE = 0x53f94000,
|
|
EPIT_1_MMIO_SIZE = 0x00004000,
|
|
|
|
AVIC_MMIO_BASE = 0x68000000,
|
|
AVIC_MMIO_SIZE = 0x04000000,
|
|
|
|
AIPS_1_MMIO_BASE = 0x43F00000,
|
|
AIPS_1_MMIO_SIZE = 0x00004000,
|
|
|
|
AIPS_2_MMIO_BASE = 0x53F00000,
|
|
AIPS_2_MMIO_SIZE = 0x00004000,
|
|
};
|
|
};
|
|
}
|
|
|
|
#endif /* _INCLUDE__PLATFORM__BOARD_H_ */
|
|
|