6106e64aac
This commit moves the headers residing in `repos/base/include/spec/*/drivers` to `repos/base/include/drivers/defs` or repos/base/include/drivers/uart` respectively. The first one contains definitions about board-specific MMIO iand RAM addresses, or IRQ lines. While the latter contains device driver code for UART devices. Those definitions are used by driver implementations in `repos/base-hw`, `repos/os`, and `repos/dde-linux`, which now need to include them more explicitely. This work is a step in the direction of reducing 'SPEC' identifiers overall. Ref #2403
33 lines
797 B
C++
33 lines
797 B
C++
/*
|
|
* \brief Definitions common to all Cortex A15 CPUs
|
|
* \author Stefan Kalkowski
|
|
* \date 2017-02-23
|
|
*/
|
|
|
|
/*
|
|
* 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__LIB__HW__SPEC__ARM__CORTEX_A15_H_
|
|
#define _SRC__LIB__HW__SPEC__ARM__CORTEX_A15_H_
|
|
|
|
#include <base/stdint.h>
|
|
|
|
namespace Hw { template <Genode::addr_t> struct Cortex_a15_mmio; }
|
|
|
|
template <typename Genode::addr_t BASE>
|
|
struct Hw::Cortex_a15_mmio
|
|
{
|
|
enum {
|
|
IRQ_CONTROLLER_DISTR_BASE = BASE + 0x1000,
|
|
IRQ_CONTROLLER_DISTR_SIZE = 0x1000,
|
|
IRQ_CONTROLLER_CPU_BASE = BASE + 0x2000,
|
|
IRQ_CONTROLLER_CPU_SIZE = 0x2000,
|
|
};
|
|
};
|
|
|
|
#endif /* _SRC__LIB__HW__SPEC__ARM__CORTEX_A15_H_ */
|