From df63fbd1ac1085d1a570c28a17d8425de32d7b78 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 4 Nov 2016 13:45:25 +0100 Subject: score: Add The aim of this file is to encapsulate CPU port implementation details. This helps to hide implementation details from which indirectly includes . --- cpukit/score/cpu/arm/Makefile.am | 1 + cpukit/score/cpu/arm/preinstall.am | 4 ++++ cpukit/score/cpu/arm/rtems/score/cpuimpl.h | 30 +++++++++++++++++++++++++ cpukit/score/cpu/bfin/Makefile.am | 1 + cpukit/score/cpu/bfin/preinstall.am | 4 ++++ cpukit/score/cpu/bfin/rtems/score/cpuimpl.h | 30 +++++++++++++++++++++++++ cpukit/score/cpu/epiphany/Makefile.am | 1 + cpukit/score/cpu/epiphany/preinstall.am | 4 ++++ cpukit/score/cpu/epiphany/rtems/score/cpuimpl.h | 30 +++++++++++++++++++++++++ cpukit/score/cpu/i386/Makefile.am | 1 + cpukit/score/cpu/i386/preinstall.am | 4 ++++ cpukit/score/cpu/i386/rtems/score/cpuimpl.h | 30 +++++++++++++++++++++++++ cpukit/score/cpu/lm32/Makefile.am | 1 + cpukit/score/cpu/lm32/preinstall.am | 4 ++++ cpukit/score/cpu/lm32/rtems/score/cpuimpl.h | 30 +++++++++++++++++++++++++ cpukit/score/cpu/m32c/Makefile.am | 1 + cpukit/score/cpu/m32c/preinstall.am | 4 ++++ cpukit/score/cpu/m32c/rtems/score/cpuimpl.h | 30 +++++++++++++++++++++++++ cpukit/score/cpu/m68k/Makefile.am | 1 + cpukit/score/cpu/m68k/preinstall.am | 4 ++++ cpukit/score/cpu/m68k/rtems/score/cpuimpl.h | 30 +++++++++++++++++++++++++ cpukit/score/cpu/mips/Makefile.am | 1 + cpukit/score/cpu/mips/preinstall.am | 4 ++++ cpukit/score/cpu/mips/rtems/score/cpuimpl.h | 30 +++++++++++++++++++++++++ cpukit/score/cpu/moxie/Makefile.am | 1 + cpukit/score/cpu/moxie/preinstall.am | 4 ++++ cpukit/score/cpu/moxie/rtems/score/cpuimpl.h | 30 +++++++++++++++++++++++++ cpukit/score/cpu/nios2/Makefile.am | 1 + cpukit/score/cpu/nios2/preinstall.am | 4 ++++ cpukit/score/cpu/nios2/rtems/score/cpuimpl.h | 30 +++++++++++++++++++++++++ cpukit/score/cpu/no_cpu/Makefile.am | 1 + cpukit/score/cpu/no_cpu/preinstall.am | 4 ++++ cpukit/score/cpu/no_cpu/rtems/score/cpuimpl.h | 30 +++++++++++++++++++++++++ cpukit/score/cpu/or1k/Makefile.am | 1 + cpukit/score/cpu/or1k/preinstall.am | 4 ++++ cpukit/score/cpu/or1k/rtems/score/cpuimpl.h | 30 +++++++++++++++++++++++++ cpukit/score/cpu/powerpc/Makefile.am | 1 + cpukit/score/cpu/powerpc/preinstall.am | 4 ++++ cpukit/score/cpu/powerpc/rtems/score/cpuimpl.h | 30 +++++++++++++++++++++++++ cpukit/score/cpu/sh/Makefile.am | 1 + cpukit/score/cpu/sh/preinstall.am | 4 ++++ cpukit/score/cpu/sh/rtems/score/cpuimpl.h | 30 +++++++++++++++++++++++++ cpukit/score/cpu/sparc/Makefile.am | 1 + cpukit/score/cpu/sparc/preinstall.am | 4 ++++ cpukit/score/cpu/sparc/rtems/score/cpuimpl.h | 30 +++++++++++++++++++++++++ cpukit/score/cpu/sparc64/Makefile.am | 1 + cpukit/score/cpu/sparc64/preinstall.am | 4 ++++ cpukit/score/cpu/sparc64/rtems/score/cpuimpl.h | 30 +++++++++++++++++++++++++ cpukit/score/cpu/v850/Makefile.am | 1 + cpukit/score/cpu/v850/preinstall.am | 4 ++++ cpukit/score/cpu/v850/rtems/score/cpuimpl.h | 30 +++++++++++++++++++++++++ 51 files changed, 595 insertions(+) create mode 100644 cpukit/score/cpu/arm/rtems/score/cpuimpl.h create mode 100644 cpukit/score/cpu/bfin/rtems/score/cpuimpl.h create mode 100644 cpukit/score/cpu/epiphany/rtems/score/cpuimpl.h create mode 100644 cpukit/score/cpu/i386/rtems/score/cpuimpl.h create mode 100644 cpukit/score/cpu/lm32/rtems/score/cpuimpl.h create mode 100644 cpukit/score/cpu/m32c/rtems/score/cpuimpl.h create mode 100644 cpukit/score/cpu/m68k/rtems/score/cpuimpl.h create mode 100644 cpukit/score/cpu/mips/rtems/score/cpuimpl.h create mode 100644 cpukit/score/cpu/moxie/rtems/score/cpuimpl.h create mode 100644 cpukit/score/cpu/nios2/rtems/score/cpuimpl.h create mode 100644 cpukit/score/cpu/no_cpu/rtems/score/cpuimpl.h create mode 100644 cpukit/score/cpu/or1k/rtems/score/cpuimpl.h create mode 100644 cpukit/score/cpu/powerpc/rtems/score/cpuimpl.h create mode 100644 cpukit/score/cpu/sh/rtems/score/cpuimpl.h create mode 100644 cpukit/score/cpu/sparc/rtems/score/cpuimpl.h create mode 100644 cpukit/score/cpu/sparc64/rtems/score/cpuimpl.h create mode 100644 cpukit/score/cpu/v850/rtems/score/cpuimpl.h diff --git a/cpukit/score/cpu/arm/Makefile.am b/cpukit/score/cpu/arm/Makefile.am index 4b242f0fa4..33372a235d 100644 --- a/cpukit/score/cpu/arm/Makefile.am +++ b/cpukit/score/cpu/arm/Makefile.am @@ -4,6 +4,7 @@ include_rtems_HEADERS = rtems/asm.h include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/cpu.h +include_rtems_score_HEADERS += rtems/score/cpuimpl.h include_rtems_score_HEADERS += rtems/score/cpu_asm.h include_rtems_score_HEADERS += rtems/score/arm.h include_rtems_score_HEADERS += rtems/score/armv4.h diff --git a/cpukit/score/cpu/arm/preinstall.am b/cpukit/score/cpu/arm/preinstall.am index 4213c552ab..15a0f08c7e 100644 --- a/cpukit/score/cpu/arm/preinstall.am +++ b/cpukit/score/cpu/arm/preinstall.am @@ -31,6 +31,10 @@ $(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h +$(PROJECT_INCLUDE)/rtems/score/cpuimpl.h: rtems/score/cpuimpl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h + $(PROJECT_INCLUDE)/rtems/score/cpu_asm.h: rtems/score/cpu_asm.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu_asm.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu_asm.h diff --git a/cpukit/score/cpu/arm/rtems/score/cpuimpl.h b/cpukit/score/cpu/arm/rtems/score/cpuimpl.h new file mode 100644 index 0000000000..6b8b601cb0 --- /dev/null +++ b/cpukit/score/cpu/arm/rtems/score/cpuimpl.h @@ -0,0 +1,30 @@ +/** + * @file + * + * @brief CPU Port Implementation API + */ + +/* + * 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_CPUIMPL_H +#define _RTEMS_SCORE_CPUIMPL_H + +#include + +#ifndef ASM + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* ASM */ + +#endif /* _RTEMS_SCORE_CPUIMPL_H */ diff --git a/cpukit/score/cpu/bfin/Makefile.am b/cpukit/score/cpu/bfin/Makefile.am index cc0bddb732..8fa75df995 100644 --- a/cpukit/score/cpu/bfin/Makefile.am +++ b/cpukit/score/cpu/bfin/Makefile.am @@ -10,6 +10,7 @@ include_rtems_bfin_HEADERS += rtems/bfin/bf52x.h include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/cpu.h +include_rtems_score_HEADERS += rtems/score/cpuimpl.h include_rtems_score_HEADERS += rtems/score/bfin.h include_rtems_score_HEADERS += rtems/score/cpu_asm.h include_rtems_score_HEADERS += rtems/score/types.h diff --git a/cpukit/score/cpu/bfin/preinstall.am b/cpukit/score/cpu/bfin/preinstall.am index a16a047e80..0ede1d7450 100644 --- a/cpukit/score/cpu/bfin/preinstall.am +++ b/cpukit/score/cpu/bfin/preinstall.am @@ -48,6 +48,10 @@ $(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h +$(PROJECT_INCLUDE)/rtems/score/cpuimpl.h: rtems/score/cpuimpl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h + $(PROJECT_INCLUDE)/rtems/score/bfin.h: rtems/score/bfin.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/bfin.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/bfin.h diff --git a/cpukit/score/cpu/bfin/rtems/score/cpuimpl.h b/cpukit/score/cpu/bfin/rtems/score/cpuimpl.h new file mode 100644 index 0000000000..6b8b601cb0 --- /dev/null +++ b/cpukit/score/cpu/bfin/rtems/score/cpuimpl.h @@ -0,0 +1,30 @@ +/** + * @file + * + * @brief CPU Port Implementation API + */ + +/* + * 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_CPUIMPL_H +#define _RTEMS_SCORE_CPUIMPL_H + +#include + +#ifndef ASM + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* ASM */ + +#endif /* _RTEMS_SCORE_CPUIMPL_H */ diff --git a/cpukit/score/cpu/epiphany/Makefile.am b/cpukit/score/cpu/epiphany/Makefile.am index 0099f081ca..ed99b436e6 100644 --- a/cpukit/score/cpu/epiphany/Makefile.am +++ b/cpukit/score/cpu/epiphany/Makefile.am @@ -11,6 +11,7 @@ include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = include_rtems_score_HEADERS += rtems/score/cpu.h +include_rtems_score_HEADERS += rtems/score/cpuimpl.h include_rtems_score_HEADERS += rtems/score/cpuatomic.h include_rtems_score_HEADERS += rtems/score/cpu_asm.h include_rtems_score_HEADERS += rtems/score/types.h diff --git a/cpukit/score/cpu/epiphany/preinstall.am b/cpukit/score/cpu/epiphany/preinstall.am index 0250d128ed..e12a51695e 100644 --- a/cpukit/score/cpu/epiphany/preinstall.am +++ b/cpukit/score/cpu/epiphany/preinstall.am @@ -31,6 +31,10 @@ $(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h +$(PROJECT_INCLUDE)/rtems/score/cpuimpl.h: rtems/score/cpuimpl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h + $(PROJECT_INCLUDE)/rtems/score/cpuatomic.h: rtems/score/cpuatomic.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuatomic.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuatomic.h diff --git a/cpukit/score/cpu/epiphany/rtems/score/cpuimpl.h b/cpukit/score/cpu/epiphany/rtems/score/cpuimpl.h new file mode 100644 index 0000000000..6b8b601cb0 --- /dev/null +++ b/cpukit/score/cpu/epiphany/rtems/score/cpuimpl.h @@ -0,0 +1,30 @@ +/** + * @file + * + * @brief CPU Port Implementation API + */ + +/* + * 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_CPUIMPL_H +#define _RTEMS_SCORE_CPUIMPL_H + +#include + +#ifndef ASM + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* ASM */ + +#endif /* _RTEMS_SCORE_CPUIMPL_H */ diff --git a/cpukit/score/cpu/i386/Makefile.am b/cpukit/score/cpu/i386/Makefile.am index 494cd679e8..7fb2a081b6 100644 --- a/cpukit/score/cpu/i386/Makefile.am +++ b/cpukit/score/cpu/i386/Makefile.am @@ -5,6 +5,7 @@ include_rtems_HEADERS= rtems/asm.h include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/cpu.h +include_rtems_score_HEADERS += rtems/score/cpuimpl.h include_rtems_score_HEADERS += rtems/score/i386.h include_rtems_score_HEADERS += rtems/score/types.h include_rtems_score_HEADERS += rtems/score/interrupts.h diff --git a/cpukit/score/cpu/i386/preinstall.am b/cpukit/score/cpu/i386/preinstall.am index 060176be04..6eda753836 100644 --- a/cpukit/score/cpu/i386/preinstall.am +++ b/cpukit/score/cpu/i386/preinstall.am @@ -31,6 +31,10 @@ $(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h +$(PROJECT_INCLUDE)/rtems/score/cpuimpl.h: rtems/score/cpuimpl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h + $(PROJECT_INCLUDE)/rtems/score/i386.h: rtems/score/i386.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/i386.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/i386.h diff --git a/cpukit/score/cpu/i386/rtems/score/cpuimpl.h b/cpukit/score/cpu/i386/rtems/score/cpuimpl.h new file mode 100644 index 0000000000..6b8b601cb0 --- /dev/null +++ b/cpukit/score/cpu/i386/rtems/score/cpuimpl.h @@ -0,0 +1,30 @@ +/** + * @file + * + * @brief CPU Port Implementation API + */ + +/* + * 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_CPUIMPL_H +#define _RTEMS_SCORE_CPUIMPL_H + +#include + +#ifndef ASM + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* ASM */ + +#endif /* _RTEMS_SCORE_CPUIMPL_H */ diff --git a/cpukit/score/cpu/lm32/Makefile.am b/cpukit/score/cpu/lm32/Makefile.am index fdbd83ce02..72cb69abcc 100644 --- a/cpukit/score/cpu/lm32/Makefile.am +++ b/cpukit/score/cpu/lm32/Makefile.am @@ -5,6 +5,7 @@ include_rtems_HEADERS = rtems/asm.h include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/cpu.h +include_rtems_score_HEADERS += rtems/score/cpuimpl.h include_rtems_score_HEADERS += rtems/score/lm32.h include_rtems_score_HEADERS += rtems/score/cpu_asm.h include_rtems_score_HEADERS += rtems/score/types.h diff --git a/cpukit/score/cpu/lm32/preinstall.am b/cpukit/score/cpu/lm32/preinstall.am index dce4d991e3..282353f3f7 100644 --- a/cpukit/score/cpu/lm32/preinstall.am +++ b/cpukit/score/cpu/lm32/preinstall.am @@ -31,6 +31,10 @@ $(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h +$(PROJECT_INCLUDE)/rtems/score/cpuimpl.h: rtems/score/cpuimpl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h + $(PROJECT_INCLUDE)/rtems/score/lm32.h: rtems/score/lm32.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/lm32.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/lm32.h diff --git a/cpukit/score/cpu/lm32/rtems/score/cpuimpl.h b/cpukit/score/cpu/lm32/rtems/score/cpuimpl.h new file mode 100644 index 0000000000..6b8b601cb0 --- /dev/null +++ b/cpukit/score/cpu/lm32/rtems/score/cpuimpl.h @@ -0,0 +1,30 @@ +/** + * @file + * + * @brief CPU Port Implementation API + */ + +/* + * 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_CPUIMPL_H +#define _RTEMS_SCORE_CPUIMPL_H + +#include + +#ifndef ASM + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* ASM */ + +#endif /* _RTEMS_SCORE_CPUIMPL_H */ diff --git a/cpukit/score/cpu/m32c/Makefile.am b/cpukit/score/cpu/m32c/Makefile.am index 7f284b271f..993cf4b4d3 100644 --- a/cpukit/score/cpu/m32c/Makefile.am +++ b/cpukit/score/cpu/m32c/Makefile.am @@ -7,6 +7,7 @@ include_rtems_HEADERS = rtems/asm.h include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/cpu.h +include_rtems_score_HEADERS += rtems/score/cpuimpl.h include_rtems_score_HEADERS += rtems/score/m32c.h include_rtems_score_HEADERS += rtems/score/cpu_asm.h include_rtems_score_HEADERS += rtems/score/types.h diff --git a/cpukit/score/cpu/m32c/preinstall.am b/cpukit/score/cpu/m32c/preinstall.am index 8525e22137..3e12ca477d 100644 --- a/cpukit/score/cpu/m32c/preinstall.am +++ b/cpukit/score/cpu/m32c/preinstall.am @@ -40,6 +40,10 @@ $(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h +$(PROJECT_INCLUDE)/rtems/score/cpuimpl.h: rtems/score/cpuimpl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h + $(PROJECT_INCLUDE)/rtems/score/m32c.h: rtems/score/m32c.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/m32c.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/m32c.h diff --git a/cpukit/score/cpu/m32c/rtems/score/cpuimpl.h b/cpukit/score/cpu/m32c/rtems/score/cpuimpl.h new file mode 100644 index 0000000000..6b8b601cb0 --- /dev/null +++ b/cpukit/score/cpu/m32c/rtems/score/cpuimpl.h @@ -0,0 +1,30 @@ +/** + * @file + * + * @brief CPU Port Implementation API + */ + +/* + * 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_CPUIMPL_H +#define _RTEMS_SCORE_CPUIMPL_H + +#include + +#ifndef ASM + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* ASM */ + +#endif /* _RTEMS_SCORE_CPUIMPL_H */ diff --git a/cpukit/score/cpu/m68k/Makefile.am b/cpukit/score/cpu/m68k/Makefile.am index 360dca784a..04eebcba85 100644 --- a/cpukit/score/cpu/m68k/Makefile.am +++ b/cpukit/score/cpu/m68k/Makefile.am @@ -14,6 +14,7 @@ include_rtems_m68k_HEADERS += rtems/m68k/sim.h include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/cpu.h +include_rtems_score_HEADERS += rtems/score/cpuimpl.h include_rtems_score_HEADERS += rtems/score/m68k.h include_rtems_score_HEADERS += rtems/score/types.h include_rtems_score_HEADERS += rtems/score/cpuatomic.h diff --git a/cpukit/score/cpu/m68k/preinstall.am b/cpukit/score/cpu/m68k/preinstall.am index 29954b520a..a580b7a4b5 100644 --- a/cpukit/score/cpu/m68k/preinstall.am +++ b/cpukit/score/cpu/m68k/preinstall.am @@ -52,6 +52,10 @@ $(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h +$(PROJECT_INCLUDE)/rtems/score/cpuimpl.h: rtems/score/cpuimpl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h + $(PROJECT_INCLUDE)/rtems/score/m68k.h: rtems/score/m68k.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/m68k.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/m68k.h diff --git a/cpukit/score/cpu/m68k/rtems/score/cpuimpl.h b/cpukit/score/cpu/m68k/rtems/score/cpuimpl.h new file mode 100644 index 0000000000..6b8b601cb0 --- /dev/null +++ b/cpukit/score/cpu/m68k/rtems/score/cpuimpl.h @@ -0,0 +1,30 @@ +/** + * @file + * + * @brief CPU Port Implementation API + */ + +/* + * 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_CPUIMPL_H +#define _RTEMS_SCORE_CPUIMPL_H + +#include + +#ifndef ASM + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* ASM */ + +#endif /* _RTEMS_SCORE_CPUIMPL_H */ diff --git a/cpukit/score/cpu/mips/Makefile.am b/cpukit/score/cpu/mips/Makefile.am index de4d957986..123e5232b9 100644 --- a/cpukit/score/cpu/mips/Makefile.am +++ b/cpukit/score/cpu/mips/Makefile.am @@ -9,6 +9,7 @@ include_rtems_mips_HEADERS += rtems/mips/iregdef.h include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/cpu.h +include_rtems_score_HEADERS += rtems/score/cpuimpl.h include_rtems_score_HEADERS += rtems/score/mips.h include_rtems_score_HEADERS += rtems/score/types.h include_rtems_score_HEADERS += rtems/score/cpuatomic.h diff --git a/cpukit/score/cpu/mips/preinstall.am b/cpukit/score/cpu/mips/preinstall.am index 2385f8cf15..8fa3cc67a3 100644 --- a/cpukit/score/cpu/mips/preinstall.am +++ b/cpukit/score/cpu/mips/preinstall.am @@ -44,6 +44,10 @@ $(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h +$(PROJECT_INCLUDE)/rtems/score/cpuimpl.h: rtems/score/cpuimpl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h + $(PROJECT_INCLUDE)/rtems/score/mips.h: rtems/score/mips.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/mips.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/mips.h diff --git a/cpukit/score/cpu/mips/rtems/score/cpuimpl.h b/cpukit/score/cpu/mips/rtems/score/cpuimpl.h new file mode 100644 index 0000000000..6b8b601cb0 --- /dev/null +++ b/cpukit/score/cpu/mips/rtems/score/cpuimpl.h @@ -0,0 +1,30 @@ +/** + * @file + * + * @brief CPU Port Implementation API + */ + +/* + * 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_CPUIMPL_H +#define _RTEMS_SCORE_CPUIMPL_H + +#include + +#ifndef ASM + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* ASM */ + +#endif /* _RTEMS_SCORE_CPUIMPL_H */ diff --git a/cpukit/score/cpu/moxie/Makefile.am b/cpukit/score/cpu/moxie/Makefile.am index 209a077010..edd2bd4699 100644 --- a/cpukit/score/cpu/moxie/Makefile.am +++ b/cpukit/score/cpu/moxie/Makefile.am @@ -10,6 +10,7 @@ include_rtems_HEADERS = rtems/asm.h include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/moxie.h \ rtems/score/types.h +include_rtems_score_HEADERS += rtems/score/cpuimpl.h include_rtems_score_HEADERS += rtems/score/cpuatomic.h noinst_LIBRARIES = libscorecpu.a diff --git a/cpukit/score/cpu/moxie/preinstall.am b/cpukit/score/cpu/moxie/preinstall.am index b1c6aa6361..9753489081 100644 --- a/cpukit/score/cpu/moxie/preinstall.am +++ b/cpukit/score/cpu/moxie/preinstall.am @@ -39,6 +39,10 @@ $(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h $(PROJECT_INCLUDE)/r $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/types.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h +$(PROJECT_INCLUDE)/rtems/score/cpuimpl.h: rtems/score/cpuimpl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h + $(PROJECT_INCLUDE)/rtems/score/cpuatomic.h: rtems/score/cpuatomic.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuatomic.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuatomic.h diff --git a/cpukit/score/cpu/moxie/rtems/score/cpuimpl.h b/cpukit/score/cpu/moxie/rtems/score/cpuimpl.h new file mode 100644 index 0000000000..6b8b601cb0 --- /dev/null +++ b/cpukit/score/cpu/moxie/rtems/score/cpuimpl.h @@ -0,0 +1,30 @@ +/** + * @file + * + * @brief CPU Port Implementation API + */ + +/* + * 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_CPUIMPL_H +#define _RTEMS_SCORE_CPUIMPL_H + +#include + +#ifndef ASM + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* ASM */ + +#endif /* _RTEMS_SCORE_CPUIMPL_H */ diff --git a/cpukit/score/cpu/nios2/Makefile.am b/cpukit/score/cpu/nios2/Makefile.am index 6004467228..b3e9d28c01 100644 --- a/cpukit/score/cpu/nios2/Makefile.am +++ b/cpukit/score/cpu/nios2/Makefile.am @@ -11,6 +11,7 @@ include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = include_rtems_score_HEADERS += rtems/score/cpu.h +include_rtems_score_HEADERS += rtems/score/cpuimpl.h include_rtems_score_HEADERS += rtems/score/nios2.h include_rtems_score_HEADERS += rtems/score/nios2-utility.h include_rtems_score_HEADERS += rtems/score/nios2-count-zeros.h diff --git a/cpukit/score/cpu/nios2/preinstall.am b/cpukit/score/cpu/nios2/preinstall.am index 0dc5117ee2..fa07df865d 100644 --- a/cpukit/score/cpu/nios2/preinstall.am +++ b/cpukit/score/cpu/nios2/preinstall.am @@ -31,6 +31,10 @@ $(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h +$(PROJECT_INCLUDE)/rtems/score/cpuimpl.h: rtems/score/cpuimpl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h + $(PROJECT_INCLUDE)/rtems/score/nios2.h: rtems/score/nios2.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/nios2.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/nios2.h diff --git a/cpukit/score/cpu/nios2/rtems/score/cpuimpl.h b/cpukit/score/cpu/nios2/rtems/score/cpuimpl.h new file mode 100644 index 0000000000..6b8b601cb0 --- /dev/null +++ b/cpukit/score/cpu/nios2/rtems/score/cpuimpl.h @@ -0,0 +1,30 @@ +/** + * @file + * + * @brief CPU Port Implementation API + */ + +/* + * 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_CPUIMPL_H +#define _RTEMS_SCORE_CPUIMPL_H + +#include + +#ifndef ASM + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* ASM */ + +#endif /* _RTEMS_SCORE_CPUIMPL_H */ diff --git a/cpukit/score/cpu/no_cpu/Makefile.am b/cpukit/score/cpu/no_cpu/Makefile.am index 9d89bc8c0f..3134c01da8 100644 --- a/cpukit/score/cpu/no_cpu/Makefile.am +++ b/cpukit/score/cpu/no_cpu/Makefile.am @@ -5,6 +5,7 @@ include_rtems_HEADERS = rtems/asm.h include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/cpu.h +include_rtems_score_HEADERS += rtems/score/cpuimpl.h include_rtems_score_HEADERS += rtems/score/no_cpu.h include_rtems_score_HEADERS += rtems/score/cpu_asm.h include_rtems_score_HEADERS += rtems/score/types.h diff --git a/cpukit/score/cpu/no_cpu/preinstall.am b/cpukit/score/cpu/no_cpu/preinstall.am index a56caeafd8..fa63e6a812 100644 --- a/cpukit/score/cpu/no_cpu/preinstall.am +++ b/cpukit/score/cpu/no_cpu/preinstall.am @@ -31,6 +31,10 @@ $(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h +$(PROJECT_INCLUDE)/rtems/score/cpuimpl.h: rtems/score/cpuimpl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h + $(PROJECT_INCLUDE)/rtems/score/no_cpu.h: rtems/score/no_cpu.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/no_cpu.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/no_cpu.h diff --git a/cpukit/score/cpu/no_cpu/rtems/score/cpuimpl.h b/cpukit/score/cpu/no_cpu/rtems/score/cpuimpl.h new file mode 100644 index 0000000000..6b8b601cb0 --- /dev/null +++ b/cpukit/score/cpu/no_cpu/rtems/score/cpuimpl.h @@ -0,0 +1,30 @@ +/** + * @file + * + * @brief CPU Port Implementation API + */ + +/* + * 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_CPUIMPL_H +#define _RTEMS_SCORE_CPUIMPL_H + +#include + +#ifndef ASM + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* ASM */ + +#endif /* _RTEMS_SCORE_CPUIMPL_H */ diff --git a/cpukit/score/cpu/or1k/Makefile.am b/cpukit/score/cpu/or1k/Makefile.am index 89b603bb3b..c9f28595f8 100644 --- a/cpukit/score/cpu/or1k/Makefile.am +++ b/cpukit/score/cpu/or1k/Makefile.am @@ -11,6 +11,7 @@ include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = include_rtems_score_HEADERS += rtems/score/cpu.h +include_rtems_score_HEADERS += rtems/score/cpuimpl.h include_rtems_score_HEADERS += rtems/score/cpuatomic.h include_rtems_score_HEADERS += rtems/score/cpu_asm.h include_rtems_score_HEADERS += rtems/score/types.h diff --git a/cpukit/score/cpu/or1k/preinstall.am b/cpukit/score/cpu/or1k/preinstall.am index 6e15e20f6c..eae1e46d14 100644 --- a/cpukit/score/cpu/or1k/preinstall.am +++ b/cpukit/score/cpu/or1k/preinstall.am @@ -31,6 +31,10 @@ $(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h +$(PROJECT_INCLUDE)/rtems/score/cpuimpl.h: rtems/score/cpuimpl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h + $(PROJECT_INCLUDE)/rtems/score/cpuatomic.h: rtems/score/cpuatomic.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuatomic.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuatomic.h diff --git a/cpukit/score/cpu/or1k/rtems/score/cpuimpl.h b/cpukit/score/cpu/or1k/rtems/score/cpuimpl.h new file mode 100644 index 0000000000..6b8b601cb0 --- /dev/null +++ b/cpukit/score/cpu/or1k/rtems/score/cpuimpl.h @@ -0,0 +1,30 @@ +/** + * @file + * + * @brief CPU Port Implementation API + */ + +/* + * 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_CPUIMPL_H +#define _RTEMS_SCORE_CPUIMPL_H + +#include + +#ifndef ASM + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* ASM */ + +#endif /* _RTEMS_SCORE_CPUIMPL_H */ diff --git a/cpukit/score/cpu/powerpc/Makefile.am b/cpukit/score/cpu/powerpc/Makefile.am index 5934dae6c9..7ed1f7996f 100644 --- a/cpukit/score/cpu/powerpc/Makefile.am +++ b/cpukit/score/cpu/powerpc/Makefile.am @@ -6,6 +6,7 @@ include_rtems_HEADERS = rtems/asm.h include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/powerpc.h include_rtems_score_HEADERS += rtems/score/cpu.h +include_rtems_score_HEADERS += rtems/score/cpuimpl.h include_rtems_score_HEADERS += rtems/score/types.h include_rtems_score_HEADERS += rtems/score/cpuatomic.h diff --git a/cpukit/score/cpu/powerpc/preinstall.am b/cpukit/score/cpu/powerpc/preinstall.am index 32934982f4..b0f59c24f9 100644 --- a/cpukit/score/cpu/powerpc/preinstall.am +++ b/cpukit/score/cpu/powerpc/preinstall.am @@ -35,6 +35,10 @@ $(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h +$(PROJECT_INCLUDE)/rtems/score/cpuimpl.h: rtems/score/cpuimpl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h + $(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/types.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpuimpl.h b/cpukit/score/cpu/powerpc/rtems/score/cpuimpl.h new file mode 100644 index 0000000000..6b8b601cb0 --- /dev/null +++ b/cpukit/score/cpu/powerpc/rtems/score/cpuimpl.h @@ -0,0 +1,30 @@ +/** + * @file + * + * @brief CPU Port Implementation API + */ + +/* + * 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_CPUIMPL_H +#define _RTEMS_SCORE_CPUIMPL_H + +#include + +#ifndef ASM + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* ASM */ + +#endif /* _RTEMS_SCORE_CPUIMPL_H */ diff --git a/cpukit/score/cpu/sh/Makefile.am b/cpukit/score/cpu/sh/Makefile.am index 68be19fffa..b480b1aa26 100644 --- a/cpukit/score/cpu/sh/Makefile.am +++ b/cpukit/score/cpu/sh/Makefile.am @@ -5,6 +5,7 @@ include_rtems_HEADERS = rtems/asm.h include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/cpu.h +include_rtems_score_HEADERS += rtems/score/cpuimpl.h include_rtems_score_HEADERS += rtems/score/types.h include_rtems_score_HEADERS += rtems/score/sh.h include_rtems_score_HEADERS += rtems/score/sh_io.h diff --git a/cpukit/score/cpu/sh/preinstall.am b/cpukit/score/cpu/sh/preinstall.am index c7b29acba4..08d2352709 100644 --- a/cpukit/score/cpu/sh/preinstall.am +++ b/cpukit/score/cpu/sh/preinstall.am @@ -31,6 +31,10 @@ $(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h +$(PROJECT_INCLUDE)/rtems/score/cpuimpl.h: rtems/score/cpuimpl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h + $(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/types.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h diff --git a/cpukit/score/cpu/sh/rtems/score/cpuimpl.h b/cpukit/score/cpu/sh/rtems/score/cpuimpl.h new file mode 100644 index 0000000000..6b8b601cb0 --- /dev/null +++ b/cpukit/score/cpu/sh/rtems/score/cpuimpl.h @@ -0,0 +1,30 @@ +/** + * @file + * + * @brief CPU Port Implementation API + */ + +/* + * 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_CPUIMPL_H +#define _RTEMS_SCORE_CPUIMPL_H + +#include + +#ifndef ASM + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* ASM */ + +#endif /* _RTEMS_SCORE_CPUIMPL_H */ diff --git a/cpukit/score/cpu/sparc/Makefile.am b/cpukit/score/cpu/sparc/Makefile.am index 2de5fcad73..ec600b6cad 100644 --- a/cpukit/score/cpu/sparc/Makefile.am +++ b/cpukit/score/cpu/sparc/Makefile.am @@ -6,6 +6,7 @@ include_rtems_HEADERS = rtems/asm.h include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/sparc.h include_rtems_score_HEADERS += rtems/score/cpu.h +include_rtems_score_HEADERS += rtems/score/cpuimpl.h include_rtems_score_HEADERS += rtems/score/sparcimpl.h include_rtems_score_HEADERS += rtems/score/types.h include_rtems_score_HEADERS += rtems/score/cpuatomic.h diff --git a/cpukit/score/cpu/sparc/preinstall.am b/cpukit/score/cpu/sparc/preinstall.am index c2df31c6c5..6bae48c717 100644 --- a/cpukit/score/cpu/sparc/preinstall.am +++ b/cpukit/score/cpu/sparc/preinstall.am @@ -35,6 +35,10 @@ $(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h +$(PROJECT_INCLUDE)/rtems/score/cpuimpl.h: rtems/score/cpuimpl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h + $(PROJECT_INCLUDE)/rtems/score/sparcimpl.h: rtems/score/sparcimpl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/sparcimpl.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/sparcimpl.h diff --git a/cpukit/score/cpu/sparc/rtems/score/cpuimpl.h b/cpukit/score/cpu/sparc/rtems/score/cpuimpl.h new file mode 100644 index 0000000000..6b8b601cb0 --- /dev/null +++ b/cpukit/score/cpu/sparc/rtems/score/cpuimpl.h @@ -0,0 +1,30 @@ +/** + * @file + * + * @brief CPU Port Implementation API + */ + +/* + * 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_CPUIMPL_H +#define _RTEMS_SCORE_CPUIMPL_H + +#include + +#ifndef ASM + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* ASM */ + +#endif /* _RTEMS_SCORE_CPUIMPL_H */ diff --git a/cpukit/score/cpu/sparc64/Makefile.am b/cpukit/score/cpu/sparc64/Makefile.am index 01230661fb..491c197b81 100644 --- a/cpukit/score/cpu/sparc64/Makefile.am +++ b/cpukit/score/cpu/sparc64/Makefile.am @@ -9,6 +9,7 @@ include_rtems_HEADERS = rtems/asm.h include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/sparc64.h include_rtems_score_HEADERS += rtems/score/cpu.h +include_rtems_score_HEADERS += rtems/score/cpuimpl.h include_rtems_score_HEADERS += rtems/score/types.h include_rtems_score_HEADERS += rtems/score/cpuatomic.h diff --git a/cpukit/score/cpu/sparc64/preinstall.am b/cpukit/score/cpu/sparc64/preinstall.am index 00af891ed2..8565c8a672 100644 --- a/cpukit/score/cpu/sparc64/preinstall.am +++ b/cpukit/score/cpu/sparc64/preinstall.am @@ -35,6 +35,10 @@ $(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h +$(PROJECT_INCLUDE)/rtems/score/cpuimpl.h: rtems/score/cpuimpl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h + $(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/types.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h diff --git a/cpukit/score/cpu/sparc64/rtems/score/cpuimpl.h b/cpukit/score/cpu/sparc64/rtems/score/cpuimpl.h new file mode 100644 index 0000000000..6b8b601cb0 --- /dev/null +++ b/cpukit/score/cpu/sparc64/rtems/score/cpuimpl.h @@ -0,0 +1,30 @@ +/** + * @file + * + * @brief CPU Port Implementation API + */ + +/* + * 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_CPUIMPL_H +#define _RTEMS_SCORE_CPUIMPL_H + +#include + +#ifndef ASM + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* ASM */ + +#endif /* _RTEMS_SCORE_CPUIMPL_H */ diff --git a/cpukit/score/cpu/v850/Makefile.am b/cpukit/score/cpu/v850/Makefile.am index c1baae7b52..7200f2a097 100644 --- a/cpukit/score/cpu/v850/Makefile.am +++ b/cpukit/score/cpu/v850/Makefile.am @@ -5,6 +5,7 @@ include_rtems_HEADERS = rtems/asm.h include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/cpu.h +include_rtems_score_HEADERS += rtems/score/cpuimpl.h include_rtems_score_HEADERS += rtems/score/v850.h include_rtems_score_HEADERS += rtems/score/cpu_asm.h rtems/score/types.h include_rtems_score_HEADERS += rtems/score/cpuatomic.h diff --git a/cpukit/score/cpu/v850/preinstall.am b/cpukit/score/cpu/v850/preinstall.am index a35021f95d..5acf6a3db5 100644 --- a/cpukit/score/cpu/v850/preinstall.am +++ b/cpukit/score/cpu/v850/preinstall.am @@ -31,6 +31,10 @@ $(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h +$(PROJECT_INCLUDE)/rtems/score/cpuimpl.h: rtems/score/cpuimpl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h + $(PROJECT_INCLUDE)/rtems/score/v850.h: rtems/score/v850.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/v850.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/v850.h diff --git a/cpukit/score/cpu/v850/rtems/score/cpuimpl.h b/cpukit/score/cpu/v850/rtems/score/cpuimpl.h new file mode 100644 index 0000000000..6b8b601cb0 --- /dev/null +++ b/cpukit/score/cpu/v850/rtems/score/cpuimpl.h @@ -0,0 +1,30 @@ +/** + * @file + * + * @brief CPU Port Implementation API + */ + +/* + * 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_CPUIMPL_H +#define _RTEMS_SCORE_CPUIMPL_H + +#include + +#ifndef ASM + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* ASM */ + +#endif /* _RTEMS_SCORE_CPUIMPL_H */ -- cgit v1.2.3