summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2018-03-08 17:25:54 -0600
committerJoel Sherrill <joel@rtems.org>2018-03-12 14:29:40 -0500
commitd978d1b47346ab90b43a3d879cd283705082d09a (patch)
treef4a4b25e9555a87e65e90667957aa4e7f793d61b
parentm68k/include/rtems/score/types.h: Eliminate this file (diff)
downloadrtems-d978d1b47346ab90b43a3d879cd283705082d09a.tar.bz2
powerpc/include/rtems/score/types.h: Eliminate this file
Updates #3327.
-rw-r--r--cpukit/score/cpu/powerpc/headers.am1
-rw-r--r--cpukit/score/cpu/powerpc/include/rtems/score/cpu.h5
-rw-r--r--cpukit/score/cpu/powerpc/include/rtems/score/powerpc.h2
-rw-r--r--cpukit/score/cpu/powerpc/include/rtems/score/types.h60
4 files changed, 5 insertions, 63 deletions
diff --git a/cpukit/score/cpu/powerpc/headers.am b/cpukit/score/cpu/powerpc/headers.am
index d8253e84f9..5d8037c566 100644
--- a/cpukit/score/cpu/powerpc/headers.am
+++ b/cpukit/score/cpu/powerpc/headers.am
@@ -18,4 +18,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/powerpc.h
-include_rtems_score_HEADERS += include/rtems/score/types.h
diff --git a/cpukit/score/cpu/powerpc/include/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/include/rtems/score/cpu.h
index 8c0f200641..7b6948a1d2 100644
--- a/cpukit/score/cpu/powerpc/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/powerpc/include/rtems/score/cpu.h
@@ -35,7 +35,7 @@
#ifndef _RTEMS_SCORE_CPU_H
#define _RTEMS_SCORE_CPU_H
-#include <rtems/score/types.h>
+#include <rtems/score/basedefs.h>
#include <rtems/score/powerpc.h>
#include <rtems/powerpc/registers.h>
@@ -1248,6 +1248,9 @@ void _CPU_Fatal_error(
uint32_t _error
);
+/** Type that can store a 32-bit integer or a pointer. */
+typedef uintptr_t CPU_Uint32ptr;
+
#endif /* ASM */
#ifdef __cplusplus
diff --git a/cpukit/score/cpu/powerpc/include/rtems/score/powerpc.h b/cpukit/score/cpu/powerpc/include/rtems/score/powerpc.h
index 2cd82ea9f0..84e164d70b 100644
--- a/cpukit/score/cpu/powerpc/include/rtems/score/powerpc.h
+++ b/cpukit/score/cpu/powerpc/include/rtems/score/powerpc.h
@@ -49,7 +49,7 @@
extern "C" {
#endif
-#include <rtems/score/types.h>
+#include <rtems/score/basedefs.h>
/*
* Define the name of the CPU family.
diff --git a/cpukit/score/cpu/powerpc/include/rtems/score/types.h b/cpukit/score/cpu/powerpc/include/rtems/score/types.h
deleted file mode 100644
index 38f7a9d968..0000000000
--- a/cpukit/score/cpu/powerpc/include/rtems/score/types.h
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
- * @file
- *
- * @brief PowerPC CPU Type Definitions
- *
- * This include file contains type definitions pertaining to the PowerPC
- * processor family.
- */
-
-/*
- * Author: Andrew Bray <andy@i-cubed.co.uk>
- *
- * COPYRIGHT (c) 1995 by i-cubed ltd.
- *
- * To anyone who acknowledges that this file is provided "AS IS"
- * without any express or implied warranty:
- * permission to use, copy, modify, and distribute this file
- * for any purpose is hereby granted without fee, provided that
- * the above copyright notice and this notice appears in all
- * copies, and that the name of i-cubed limited not be used in
- * advertising or publicity pertaining to distribution of the
- * software without specific, written prior permission.
- * i-cubed limited makes no representations about the suitability
- * of this software for any purpose.
- *
- * Derived from c/src/exec/cpu/no_cpu/no_cputypes.h:
- *
- * COPYRIGHT (c) 1989-1997.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may 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;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* !ASM */
-
-#endif