/* * \brief CPU driver for core Arm Cortex A8 specific implementation * \author Martin stein * \author Stefan Kalkowski * \date 2015-12-14 */ /* * Copyright (C) 2015-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 #include #include void Genode::Cpu::translation_added(Genode::addr_t const base, Genode::size_t const size) { using namespace Kernel; /* * The Cortex-A8 CPU can't use the L1 cache on page-table * walks. Therefore, as the page-tables lie in write-back cacheable * memory we've to clean the corresponding cache-lines even when a * page table entry is added. We only do this as core as the kernel * adds translations solely before MMU and caches are enabled. */ Cpu::clean_invalidate_data_cache_by_virt_region(base, size); }