[rtems commit] mips/include/rtems/score/types.h: Eliminate this file

Joel Sherrill joel at rtems.org
Mon Mar 12 19:29:59 UTC 2018


Module:    rtems
Branch:    master
Commit:    859251a3ac416ff2c3987fa28d07cdde435508c6
Changeset: http://git.rtems.org/rtems/commit/?id=859251a3ac416ff2c3987fa28d07cdde435508c6

Author:    Joel Sherrill <joel at rtems.org>
Date:      Thu Mar  8 12:29:23 2018 -0600

mips/include/rtems/score/types.h: Eliminate this file

Updates #3327.

---

 cpukit/score/cpu/mips/headers.am                  |  1 -
 cpukit/score/cpu/mips/include/rtems/score/cpu.h   |  7 +--
 cpukit/score/cpu/mips/include/rtems/score/types.h | 56 -----------------------
 3 files changed, 4 insertions(+), 60 deletions(-)

diff --git a/cpukit/score/cpu/mips/headers.am b/cpukit/score/cpu/mips/headers.am
index cbcf1dd..a1effb7 100644
--- a/cpukit/score/cpu/mips/headers.am
+++ b/cpukit/score/cpu/mips/headers.am
@@ -19,4 +19,3 @@ include_rtems_score_HEADERS += include/rtems/score/cpu.h
 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/mips.h
-include_rtems_score_HEADERS += include/rtems/score/types.h
diff --git a/cpukit/score/cpu/mips/include/rtems/score/cpu.h b/cpukit/score/cpu/mips/include/rtems/score/cpu.h
index 74afc80..acc4ef8 100644
--- a/cpukit/score/cpu/mips/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/mips/include/rtems/score/cpu.h
@@ -56,7 +56,7 @@
 extern "C" {
 #endif
 
-#include <rtems/score/types.h>
+#include <rtems/score/basedefs.h>
 #include <rtems/score/mips.h>
 
 /* conditional compilation parameters */
@@ -998,9 +998,10 @@ static inline CPU_Counter_ticks _CPU_Counter_difference(
   return second - first;
 }
 
-#endif
-
+/** Type that can store a 32-bit integer or a pointer. */
+typedef uintptr_t CPU_Uint32ptr;
 
+#endif
 
 #ifdef __cplusplus
 }
diff --git a/cpukit/score/cpu/mips/include/rtems/score/types.h b/cpukit/score/cpu/mips/include/rtems/score/types.h
deleted file mode 100644
index e3226a3..0000000
--- a/cpukit/score/cpu/mips/include/rtems/score/types.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * @file rtems/score/types.h
- *
- * @brief Type Definitions Pertaining to the MIPS Processor Family
- *
- *  This include file contains type definitions pertaining to the MIPS
- *  processor family.
- */
-
-/*
- *  COPYRIGHT (c) 1989-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.
- */
-/* @(#)mipstypes.h       08/20/96     1.4 */
-
-#ifndef _RTEMS_SCORE_TYPES_H
-#define _RTEMS_SCORE_TYPES_H
-
-/**
- *  @defgroup ScoreTypes MIPS Processor Family Type Definitions
- *
- *  @ingroup Score
- *
- */
-/**@{*/
-
-#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 mips_isr;
-typedef void ( *mips_isr_entry )( void );
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif  /* !ASM */
-
-/**@}*/
-#endif




More information about the vc mailing list