forked from Imagelibrary/rtems
@@ -11,4 +11,3 @@ include_rtems_score_HEADERS += include/rtems/score/cpuatomic.h
|
|||||||
include_rtems_score_HEADERS += include/rtems/score/cpuimpl.h
|
include_rtems_score_HEADERS += include/rtems/score/cpuimpl.h
|
||||||
include_rtems_score_HEADERS += include/rtems/score/sh.h
|
include_rtems_score_HEADERS += include/rtems/score/sh.h
|
||||||
include_rtems_score_HEADERS += include/rtems/score/sh_io.h
|
include_rtems_score_HEADERS += include/rtems/score/sh_io.h
|
||||||
include_rtems_score_HEADERS += include/rtems/score/types.h
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <rtems/score/types.h>
|
#include <rtems/score/basedefs.h>
|
||||||
#include <rtems/score/sh.h>
|
#include <rtems/score/sh.h>
|
||||||
|
|
||||||
/* conditional compilation parameters */
|
/* conditional compilation parameters */
|
||||||
@@ -731,6 +731,13 @@ static inline CPU_Counter_ticks _CPU_Counter_difference(
|
|||||||
return second - first;
|
return second - first;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Type that can store a 32-bit integer or a pointer. */
|
||||||
|
typedef uintptr_t CPU_Uint32ptr;
|
||||||
|
|
||||||
|
/** Types related to SH specific ISRs */
|
||||||
|
typedef void sh_isr;
|
||||||
|
typedef void ( *sh_isr_entry )( void );
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -1,56 +0,0 @@
|
|||||||
/**
|
|
||||||
* @file
|
|
||||||
*
|
|
||||||
* @brief Hitachi SH CPU Type Definitions
|
|
||||||
*
|
|
||||||
* This include file contains information pertaining to the Hitachi SH
|
|
||||||
* processor.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Authors: Ralf Corsepius (corsepiu@faw.uni-ulm.de) and
|
|
||||||
* Bernd Becker (becker@faw.uni-ulm.de)
|
|
||||||
*
|
|
||||||
* COPYRIGHT (c) 1997-1998, FAW Ulm, Germany
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* COPYRIGHT (c) 1998-2001.
|
|
||||||
* On-Line Applications Research Corporation (OAR).
|
|
||||||
*
|
|
||||||
* The license and distribution terms for this file may be
|
|
||||||
* found in the file LICENSE in this distribution or at
|
|
||||||
* http://www.rtems.org/license/LICENSE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _RTEMS_SCORE_TYPES_H
|
|
||||||
#define _RTEMS_SCORE_TYPES_H
|
|
||||||
|
|
||||||
#include <rtems/score/basedefs.h>
|
|
||||||
|
|
||||||
#ifndef ASM
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
|
||||||
* This section defines the basic types for this processor.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** Type that can store a 32-bit integer or a pointer. */
|
|
||||||
typedef uintptr_t CPU_Uint32ptr;
|
|
||||||
|
|
||||||
typedef void sh_isr;
|
|
||||||
typedef void ( *sh_isr_entry )( void );
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* !ASM */
|
|
||||||
|
|
||||||
#endif
|
|
||||||
Reference in New Issue
Block a user