2017-02-09 13:18:44 +01:00
|
|
|
/*
|
|
|
|
* Copyright 2016, Imagination Technologies Limited and/or its
|
|
|
|
* affiliated group companies.
|
|
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
* directory for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2018-06-01 12:25:00 +02:00
|
|
|
* @defgroup cpu_mips32r2_generic Imagination Technologies MIPS32R2 generic
|
2017-02-09 13:18:44 +01:00
|
|
|
* @ingroup cpu
|
2018-06-01 12:25:00 +02:00
|
|
|
* @brief Imagination Technologies MIPS32R2 generic
|
2017-02-09 13:18:44 +01:00
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @file
|
2017-08-24 19:51:44 +02:00
|
|
|
* @brief Common implementations and headers for Imagination Technologies MIPS32R2 compliant devices
|
2017-02-09 13:18:44 +01:00
|
|
|
*
|
|
|
|
* @author Neil Jones <neil.jones@imgtec.com>
|
|
|
|
*/
|
|
|
|
|
2017-05-23 18:19:52 +02:00
|
|
|
#ifndef CPU_H
|
|
|
|
#define CPU_H
|
2017-02-09 13:18:44 +01:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <inttypes.h>
|
|
|
|
|
|
|
|
#include "irq.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Print the last instruction's address
|
|
|
|
*
|
|
|
|
* @todo: Not supported
|
|
|
|
*/
|
|
|
|
static inline void cpu_print_last_instruction(void)
|
|
|
|
{
|
|
|
|
/* This function must exist else RIOT won't compile */
|
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2017-05-23 18:19:52 +02:00
|
|
|
#endif /* CPU_H */
|
2017-02-09 13:18:44 +01:00
|
|
|
/** @} */
|