2012-05-24 12:57:03 +02:00
|
|
|
/*
|
2012-10-23 17:12:09 +02:00
|
|
|
* \brief Programmable interrupt controller for core
|
2012-05-24 12:57:03 +02:00
|
|
|
* \author Martin stein
|
|
|
|
* \date 2011-10-26
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2013-01-25 16:56:39 +01:00
|
|
|
* Copyright (C) 2011-2013 Genode Labs GmbH
|
2012-05-24 12:57:03 +02:00
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
|
|
* under the terms of the GNU General Public License version 2.
|
|
|
|
*/
|
|
|
|
|
2012-12-03 17:21:35 +01:00
|
|
|
#ifndef _PIC__CORTEX_A9_H_
|
|
|
|
#define _PIC__CORTEX_A9_H_
|
2012-05-24 12:57:03 +02:00
|
|
|
|
2013-01-25 16:56:39 +01:00
|
|
|
/* core includes */
|
|
|
|
#include <pic/arm_gic.h>
|
|
|
|
#include <cpu.h>
|
2012-05-24 12:57:03 +02:00
|
|
|
|
2012-10-23 17:12:09 +02:00
|
|
|
namespace Cortex_a9
|
2012-05-24 12:57:03 +02:00
|
|
|
{
|
|
|
|
/**
|
2012-10-23 17:12:09 +02:00
|
|
|
* Programmable interrupt controller for core
|
2012-05-24 12:57:03 +02:00
|
|
|
*/
|
2013-01-25 16:56:39 +01:00
|
|
|
class Pic : public Arm_gic::Pic
|
2012-05-24 12:57:03 +02:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
/**
|
2013-01-25 16:56:39 +01:00
|
|
|
* Constructor
|
2012-05-24 12:57:03 +02:00
|
|
|
*/
|
2013-01-25 16:56:39 +01:00
|
|
|
Pic() : Arm_gic::Pic(Genode::Cpu::PL390_DISTRIBUTOR_MMIO_BASE,
|
|
|
|
Genode::Cpu::PL390_CPU_MMIO_BASE) { }
|
2012-05-24 12:57:03 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2012-12-03 17:21:35 +01:00
|
|
|
#endif /* _PIC__CORTEX_A9_H_ */
|
2012-05-24 12:57:03 +02:00
|
|
|
|