2013-04-01 00:18:52 +02:00
|
|
|
/*
|
|
|
|
* cpu.h - mc1322x specific definitions
|
|
|
|
* Copyright (C) 2013 Oliver Hahm <oliver.hahm@inria.fr>
|
|
|
|
*
|
2013-08-16 10:20:23 +02:00
|
|
|
* This source code is licensed under the GNU Lesser General Public License,
|
|
|
|
* Version 2. See the file LICENSE for more details.
|
2013-04-01 00:18:52 +02:00
|
|
|
*/
|
2014-02-11 18:15:43 +01:00
|
|
|
|
2013-11-27 16:28:31 +01:00
|
|
|
/**
|
2013-11-27 17:54:30 +01:00
|
|
|
* @defgroup mc1322x Freescale MC1322x
|
|
|
|
* @ingroup cpu
|
|
|
|
* @brief Freescale MC1322x specific code
|
2013-11-27 16:28:31 +01:00
|
|
|
*/
|
2013-04-01 00:18:52 +02:00
|
|
|
|
|
|
|
#ifndef CPU_H
|
2014-02-11 18:15:43 +01:00
|
|
|
#define CPU_H
|
2013-04-01 00:18:52 +02:00
|
|
|
|
2013-10-24 13:53:09 +02:00
|
|
|
/**
|
|
|
|
* @defgroup mc1322x Freescale mc1322x
|
|
|
|
* @ingroup cpu
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
2013-04-02 02:06:24 +02:00
|
|
|
#include "arm_cpu.h"
|
2013-04-01 02:11:43 +02:00
|
|
|
#include "mc1322x.h"
|
2013-04-01 00:18:52 +02:00
|
|
|
|
2013-10-24 13:53:09 +02:00
|
|
|
extern uintptr_t __stack_start; ///< end of user stack memory space
|
|
|
|
bool install_irq(int int_number, void *handler_addr, int priority);
|
2013-04-01 00:18:52 +02:00
|
|
|
|
2013-10-24 13:53:09 +02:00
|
|
|
/** @} */
|
2013-04-01 00:18:52 +02:00
|
|
|
#endif /* CPU_H */
|