diff options
Diffstat (limited to 'cpukit/score/cpu/nios2')
-rw-r--r-- | cpukit/score/cpu/nios2/Makefile.am | 1 | ||||
-rw-r--r-- | cpukit/score/cpu/nios2/preinstall.am | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/nios2/rtems/score/cpuimpl.h | 30 |
3 files changed, 35 insertions, 0 deletions
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 <rtems/score/cpu.h> + +#ifndef ASM + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* ASM */ + +#endif /* _RTEMS_SCORE_CPUIMPL_H */ |