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
24 lines
506 B
C++
24 lines
506 B
C++
/*
|
|
* \brief Board implementation specific to Cortex A9
|
|
* \author Stefan Kalkowski
|
|
* \date 2016-01-07
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2016-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.
|
|
*/
|
|
|
|
#include <board.h>
|
|
#include <platform.h>
|
|
|
|
Board::L2_cache & Board::l2_cache()
|
|
{
|
|
using namespace Genode;
|
|
|
|
static L2_cache cache(Platform::mmio_to_virt(Board::PL310_MMIO_BASE));
|
|
return cache;
|
|
}
|