2015-09-02 11:59:31 +00:00
|
|
|
/*
|
|
|
|
* \brief Base driver for the Zynq (QEMU)
|
|
|
|
* \author Johannes Schlatow
|
|
|
|
* \date 2015-06-30
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2017-02-20 12:23:52 +00:00
|
|
|
* Copyright (C) 2015-2017 Genode Labs GmbH
|
2015-09-02 11:59:31 +00:00
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
2017-02-20 12:23:52 +00:00
|
|
|
* under the terms of the GNU Affero General Public License version 3.
|
2015-09-02 11:59:31 +00:00
|
|
|
*/
|
|
|
|
|
2017-04-28 13:27:26 +00:00
|
|
|
#ifndef _INCLUDE__DRIVERS__DEFS__ZYNQ_QEMU_H_
|
|
|
|
#define _INCLUDE__DRIVERS__DEFS__ZYNQ_QEMU_H_
|
2015-09-02 11:59:31 +00:00
|
|
|
|
2017-04-28 13:27:26 +00:00
|
|
|
#include <drivers/defs/zynq.h>
|
2015-09-02 11:59:31 +00:00
|
|
|
|
2017-04-28 13:27:26 +00:00
|
|
|
namespace Zynq_qemu {
|
|
|
|
|
|
|
|
using namespace Zynq;
|
2015-09-02 11:59:31 +00:00
|
|
|
|
2016-05-18 10:20:04 +00:00
|
|
|
enum {
|
|
|
|
CORTEX_A9_PRIVATE_TIMER_CLK = 100000000,
|
|
|
|
CORTEX_A9_PRIVATE_TIMER_DIV = 100,
|
2015-09-02 11:59:31 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-04-28 13:27:26 +00:00
|
|
|
#endif /* _INCLUDE__DRIVERS__DEFS__ZYNQ_QEMU_H_ */
|