2014-07-09 12:03:17 +02:00
|
|
|
/*
|
2016-01-11 11:02:52 +01:00
|
|
|
* \brief ARM Cortex A8 CPU driver for core
|
2014-07-09 12:03:17 +02:00
|
|
|
* \author Martin stein
|
2016-01-11 11:02:52 +01:00
|
|
|
* \author Stefan Kalkowski
|
2014-07-09 12:03:17 +02:00
|
|
|
* \date 2011-11-03
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2017-02-20 13:23:52 +01:00
|
|
|
* Copyright (C) 2011-2017 Genode Labs GmbH
|
2014-07-09 12:03:17 +02:00
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
2017-02-20 13:23:52 +01:00
|
|
|
* under the terms of the GNU Affero General Public License version 3.
|
2014-07-09 12:03:17 +02:00
|
|
|
*/
|
|
|
|
|
2017-04-12 10:06:29 +02:00
|
|
|
#ifndef _CORE__SPEC__CORTEX_A8__CPU_H_
|
|
|
|
#define _CORE__SPEC__CORTEX_A8__CPU_H_
|
2014-07-09 12:03:17 +02:00
|
|
|
|
|
|
|
/* core includes */
|
2014-07-15 14:51:27 +02:00
|
|
|
#include <spec/arm_v7/cpu_support.h>
|
2014-07-09 12:03:17 +02:00
|
|
|
|
2017-04-12 11:19:23 +02:00
|
|
|
namespace Genode { struct Cpu; }
|
2014-07-09 12:03:17 +02:00
|
|
|
|
2014-07-15 14:51:27 +02:00
|
|
|
|
2017-04-12 11:19:23 +02:00
|
|
|
struct Genode::Cpu : Arm_v7_cpu
|
2014-07-09 12:03:17 +02:00
|
|
|
{
|
2017-04-12 11:19:23 +02:00
|
|
|
/**
|
|
|
|
* Post processing after a translation was added to a translation table
|
|
|
|
*
|
|
|
|
* \param addr virtual address of the translation
|
|
|
|
* \param size size of the translation
|
|
|
|
*/
|
|
|
|
static void translation_added(addr_t const addr, size_t const size);
|
2014-07-15 14:51:27 +02:00
|
|
|
};
|
2014-07-09 12:03:17 +02:00
|
|
|
|
2017-04-12 10:06:29 +02:00
|
|
|
#endif /* _CORE__SPEC__CORTEX_A8__CPU_H_ */
|