From fce900b543534a573311fc1263deb33b588a050c Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 8 Mar 2018 14:15:47 -0600 Subject: sh/include/rtems/score/types.h: Eliminate this file Updates #3327. --- cpukit/score/cpu/sh/include/rtems/score/cpu.h | 9 +++- cpukit/score/cpu/sh/include/rtems/score/types.h | 56 ------------------------- 2 files changed, 8 insertions(+), 57 deletions(-) delete mode 100644 cpukit/score/cpu/sh/include/rtems/score/types.h (limited to 'cpukit/score/cpu/sh/include/rtems/score') diff --git a/cpukit/score/cpu/sh/include/rtems/score/cpu.h b/cpukit/score/cpu/sh/include/rtems/score/cpu.h index c2b7081e9e..aeef5defdd 100644 --- a/cpukit/score/cpu/sh/include/rtems/score/cpu.h +++ b/cpukit/score/cpu/sh/include/rtems/score/cpu.h @@ -31,7 +31,7 @@ extern "C" { #endif -#include +#include #include /* conditional compilation parameters */ @@ -731,6 +731,13 @@ static inline CPU_Counter_ticks _CPU_Counter_difference( 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 } #endif diff --git a/cpukit/score/cpu/sh/include/rtems/score/types.h b/cpukit/score/cpu/sh/include/rtems/score/types.h deleted file mode 100644 index a449a6d6e3..0000000000 --- a/cpukit/score/cpu/sh/include/rtems/score/types.h +++ /dev/null @@ -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 - -#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 -- cgit v1.2.3