mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-28 15:53:06 +08:00
powerpc/include/rtems/score/types.h: Eliminate this file
Updates #3327.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <rtems/score/types.h>
|
||||
#include <rtems/score/basedefs.h>
|
||||
|
||||
/*
|
||||
* Define the name of the CPU family.
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user