Changeset ac815430 in rtems
- Timestamp:
- 06/14/00 17:07:54 (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- c63a5cf
- Parents:
- 61bd0301
- Files:
-
- 4 added
- 7 deleted
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/score/cpu/sh/Makefile.am
r61bd0301 rac815430 22 22 $(INSTALL_DATA) $< $@ 23 23 24 C_FILES = cpu.c cpu_asm.c isp$(RTEMS_CPU_MODEL).c24 C_FILES = cpu.c 25 25 C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) 26 26 … … 41 41 .PRECIOUS: $(REL) 42 42 43 EXTRA_DIST = asm.h cpu.c cpu_asm.c ispsh7032.c ispsh7045.crtems.c43 EXTRA_DIST = asm.h cpu.c rtems.c 44 44 45 45 include $(top_srcdir)/../../../../../../automake/subdirs.am -
c/src/exec/score/cpu/sh/rtems/score/Makefile.am
r61bd0301 rac815430 5 5 AUTOMAKE_OPTIONS = foreign 1.4 6 6 7 H_FILES = cpu.h shtypes.h sh.h sh_io.h isp$(RTEMS_CPU_MODEL).h \ 8 io$(RTEMS_CPU_MODEL).h 9 noinst_HEADERS = cpu.h shtypes.h sh.h sh_io.h iosh7032.h ispsh7032.h \ 10 iosh7045.h ispsh7045.h 7 H_FILES = cpu.h shtypes.h sh.h sh_io.h 8 noinst_HEADERS = cpu.h shtypes.h sh.h sh_io.h 11 9 12 10 # -
c/src/exec/score/cpu/sh/rtems/score/sh.h
r61bd0301 rac815430 41 41 42 42 #if defined(rtems_multilib) 43 43 44 /* 44 45 * Figure out all CPU Model Feature Flags based upon compiler … … 50 51 #define SH_HAS_SEPARATE_STACKS 1 51 52 52 #elif defined(sh7032) 53 #define CPU_MODEL_NAME "SH7032" 54 #define SH_HAS_FPU 0 53 #else 55 54 56 #elif defined (sh7045) 57 #define CPU_MODEL_NAME "SH7045" 58 #define SH_HAS_FPU 0 55 #if defined(__sh1__) || defined(__sh2__) || defined(__sh3__) 56 #define SH_HAS_FPU 0 57 #else 58 #define SH_HAS_FPU 1 59 #endif 59 60 60 #else 61 # error "Unsupported CPU Model"62 63 #endif 61 /* this should not be here */ 62 #define CPU_MODEL_NAME "SH-Multilib" 63 64 #endif /* multilib */ 64 65 65 66 /* -
c/src/lib/libbsp/sh/gensh1/wrapup/Makefile.am
r61bd0301 rac815430 10 10 11 11 # pieces to pick up out of libcpu/sh/sh7032 12 CPU_PIECES = null clock timer sci delay 12 CPU_PIECES = null clock timer sci delay score 13 13 14 14 # bummer; have to use $foreach since % pattern subst rules only replace 1x -
c/src/lib/libbsp/sh/gensh2/wrapup/Makefile.am
r61bd0301 rac815430 10 10 11 11 # pieces to pick up out of libcpu/sh 12 CPU_PIECES = null clock timer sci 12 CPU_PIECES = null clock timer sci score 13 13 14 14 # bummer; have to use $foreach since % pattern subst rules only replace 1x -
c/src/lib/libcpu/sh/Makefile.am
r61bd0301 rac815430 6 6 ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal 7 7 8 SUBDIRS = @ RTEMS_CPU_MODEL@8 SUBDIRS = @subdirs@ 9 9 10 10 include $(top_srcdir)/../../../../../automake/subdirs.am -
c/src/lib/libcpu/sh/configure.in
r61bd0301 rac815430 21 21 RTEMS_PROJECT_ROOT 22 22 23 RTEMS_PROG_CC_FOR_TARGET24 RTEMS_CANONICALIZE_TOOLS25 26 23 RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) 27 24 RTEMS_CHECK_BSP_CACHE(RTEMS_BSP) 28 25 26 if test -d ${srcdir}/$RTEMS_CPU_MODEL; then 27 RTEMS_CPU_MODEL_SUBDIR="$RTEMS_CPU_MODEL" 28 fi 29 AC_CONFIG_SUBDIRS($RTEMS_CPU_MODEL_SUBDIR) 30 29 31 # Explicitly list all Makefiles here 30 32 AC_OUTPUT( 31 Makefile 32 sh7032/Makefile 33 sh7032/null/Makefile 34 sh7032/clock/Makefile 35 sh7032/delay/Makefile 36 sh7032/include/Makefile 37 sh7032/timer/Makefile 38 sh7032/sci/Makefile 39 sh7045/Makefile 40 sh7045/clock/Makefile 41 sh7045/include/Makefile 42 sh7045/null/Makefile 43 sh7045/sci/Makefile 44 sh7045/timer/Makefile) 33 Makefile) -
c/src/lib/libcpu/sh/sh7032/Makefile.am
r61bd0301 rac815430 4 4 5 5 AUTOMAKE_OPTIONS = foreign 1.4 6 ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal 6 7 7 SUBDIRS = include clock timer null sci delay8 SUBDIRS = include score clock timer null sci delay 8 9 9 include $(top_srcdir)/../../../../../ automake/subdirs.am10 include $(top_srcdir)/../../../../../ automake/local.am10 include $(top_srcdir)/../../../../../../automake/subdirs.am 11 include $(top_srcdir)/../../../../../../automake/local.am -
c/src/lib/libcpu/sh/sh7032/clock/Makefile.am
r61bd0301 rac815430 13 13 14 14 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 15 include $(top_srcdir)/../../../../../ automake/lib.am15 include $(top_srcdir)/../../../../../../automake/lib.am 16 16 17 17 # … … 28 28 EXTRA_DIST = ckinit.c 29 29 30 include $(top_srcdir)/../../../../../ automake/local.am30 include $(top_srcdir)/../../../../../../automake/local.am -
c/src/lib/libcpu/sh/sh7032/delay/Makefile.am
r61bd0301 rac815430 13 13 14 14 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 15 include $(top_srcdir)/../../../../../ automake/lib.am15 include $(top_srcdir)/../../../../../../automake/lib.am 16 16 17 17 # … … 28 28 EXTRA_DIST = delay.c 29 29 30 include $(top_srcdir)/../../../../../ automake/local.am30 include $(top_srcdir)/../../../../../../automake/local.am -
c/src/lib/libcpu/sh/sh7032/include/Makefile.am
r61bd0301 rac815430 6 6 7 7 H_FILES = null.h sci.h sh7_pfc.h sh7_sci.h 8 SCORE_H_FILES= ispsh7032.h iosh7032.h 8 9 9 10 # NOTE: Unlike other CPUS, we install into a subdirectory to avoid … … 16 17 $(INSTALL_DATA) $< $@ 17 18 19 $(PROJECT_INCLUDE)/rtems/score/%.h: %.h 20 $(INSTALL_DATA) $< $@ 21 18 22 TMPINSTALL_FILES += $(PROJECT_INCLUDE)/sh \ 19 $(H_FILES:%=$(PROJECT_INCLUDE)/sh/%) 23 $(H_FILES:%.h=$(PROJECT_INCLUDE)/sh/%.h) \ 24 $(SCORE_H_FILES:%.h=$(PROJECT_INCLUDE)/rtems/score/%.h) 20 25 21 26 all-local: $(TMPINSTALL_FILES) … … 23 28 EXTRA_DIST = null.h sci.h sh7_pfc.h sh7_sci.h 24 29 25 include $(top_srcdir)/../../../../../ automake/local.am30 include $(top_srcdir)/../../../../../../automake/local.am -
c/src/lib/libcpu/sh/sh7032/null/Makefile.am
r61bd0301 rac815430 13 13 14 14 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 15 include $(top_srcdir)/../../../../../ automake/lib.am15 include $(top_srcdir)/../../../../../../automake/lib.am 16 16 17 17 # … … 28 28 EXTRA_DIST = close.c cntrl.c init.c open.c read.c write.c 29 29 30 include $(top_srcdir)/../../../../../ automake/local.am30 include $(top_srcdir)/../../../../../../automake/local.am -
c/src/lib/libcpu/sh/sh7032/sci/Makefile.am
r61bd0301 rac815430 13 13 14 14 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 15 include $(top_srcdir)/../../../../../ automake/lib.am15 include $(top_srcdir)/../../../../../../automake/lib.am 16 16 17 17 # … … 28 28 EXTRA_DIST = sci.c 29 29 30 include $(top_srcdir)/../../../../../ automake/local.am30 include $(top_srcdir)/../../../../../../automake/local.am -
c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c
r61bd0301 rac815430 44 44 #include <rtems/score/sh.h> 45 45 46 #if defined(sh7032)47 46 #include <rtems/score/ispsh7032.h> 48 47 #include <rtems/score/iosh7032.h> 49 #elif defined (sh7045)50 #include <rtems/score/ispsh7045.h>51 #include <rtems/score/iosh7045.h>52 #endif53 54 48 #include <rtems/score/sh_io.h> 55 49 -
c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c
r61bd0301 rac815430 32 32 #include <rtems/score/shtypes.h> 33 33 #include <rtems/score/ispsh7032.h> 34 35 #if !defined(sh7032)36 #error Wrong CPU MODEL37 #endif38 34 39 35 /* -
c/src/lib/libcpu/sh/sh7032/timer/Makefile.am
r61bd0301 rac815430 13 13 14 14 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 15 include $(top_srcdir)/../../../../../ automake/lib.am15 include $(top_srcdir)/../../../../../../automake/lib.am 16 16 17 17 # … … 28 28 EXTRA_DIST = timer.c 29 29 30 include $(top_srcdir)/../../../../../ automake/local.am30 include $(top_srcdir)/../../../../../../automake/local.am -
c/src/lib/libcpu/sh/sh7045/Makefile.am
r61bd0301 rac815430 4 4 5 5 AUTOMAKE_OPTIONS = foreign 1.4 6 ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal 6 7 7 SUBDIRS = include clock sci timer null8 SUBDIRS = include score clock sci timer null 8 9 9 include $(top_srcdir)/../../../../../ automake/subdirs.am10 include $(top_srcdir)/../../../../../ automake/local.am10 include $(top_srcdir)/../../../../../../automake/subdirs.am 11 include $(top_srcdir)/../../../../../../automake/local.am -
c/src/lib/libcpu/sh/sh7045/clock/Makefile.am
r61bd0301 rac815430 13 13 14 14 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 15 include $(top_srcdir)/../../../../../ automake/lib.am15 include $(top_srcdir)/../../../../../../automake/lib.am 16 16 17 17 # … … 28 28 EXTRA_DIST = ckinit.c 29 29 30 include $(top_srcdir)/../../../../../ automake/local.am30 include $(top_srcdir)/../../../../../../automake/local.am -
c/src/lib/libcpu/sh/sh7045/include/Makefile.am
r61bd0301 rac815430 6 6 7 7 H_FILES = io_types.h null.h sci.h sh7_pfc.h sh7_sci.h 8 SCORE_H_FILES = ispsh7045.h iosh7045.h 8 9 9 10 # NOTE: Unlike other CPUS, we install into a subdirectory to avoid … … 16 17 $(INSTALL_DATA) $< $@ 17 18 19 $(PROJECT_INCLUDE)/rtems/score/%.h: %.h 20 $(INSTALL_DATA) $< $@ 21 18 22 TMPINSTALL_FILES += $(PROJECT_INCLUDE)/sh \ 19 $(H_FILES:%=$(PROJECT_INCLUDE)/sh/%) 23 $(H_FILES:%.h=$(PROJECT_INCLUDE)/sh/%.h) \ 24 $(SCORE_H_FILES:%.h=$(PROJECT_INCLUDE)/rtems/score/%.h) 20 25 21 26 all-local: $(TMPINSTALL_FILES) … … 23 28 EXTRA_DIST = io_types.h null.h sci.h sh7_pfc.h sh7_sci.h 24 29 25 include $(top_srcdir)/../../../../../ automake/local.am30 include $(top_srcdir)/../../../../../../automake/local.am -
c/src/lib/libcpu/sh/sh7045/null/Makefile.am
r61bd0301 rac815430 13 13 14 14 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 15 include $(top_srcdir)/../../../../../ automake/lib.am15 include $(top_srcdir)/../../../../../../automake/lib.am 16 16 17 17 # … … 28 28 EXTRA_DIST = close.c cntrl.c init.c open.c read.c write.c 29 29 30 include $(top_srcdir)/../../../../../ automake/local.am30 include $(top_srcdir)/../../../../../../automake/local.am -
c/src/lib/libcpu/sh/sh7045/sci/Makefile.am
r61bd0301 rac815430 13 13 14 14 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 15 include $(top_srcdir)/../../../../../ automake/lib.am15 include $(top_srcdir)/../../../../../../automake/lib.am 16 16 17 17 # … … 28 28 EXTRA_DIST = sci.c 29 29 30 include $(top_srcdir)/../../../../../ automake/local.am30 include $(top_srcdir)/../../../../../../automake/local.am -
c/src/lib/libcpu/sh/sh7045/score/cpu_asm.c
r61bd0301 rac815430 44 44 #include <rtems/score/sh.h> 45 45 46 #if defined(sh7032)47 #include <rtems/score/ispsh7032.h>48 #include <rtems/score/iosh7032.h>49 #elif defined (sh7045)50 46 #include <rtems/score/ispsh7045.h> 51 47 #include <rtems/score/iosh7045.h> 52 #endif53 54 48 #include <rtems/score/sh_io.h> 55 49 -
c/src/lib/libcpu/sh/sh7045/score/ispsh7045.c
r61bd0301 rac815430 43 43 #include <rtems/system.h> 44 44 #include <rtems/score/shtypes.h> 45 46 #if !defined (sh7045)47 #error Wrong CPU MODEL48 #endif49 45 50 46 /* -
c/src/lib/libcpu/sh/sh7045/timer/Makefile.am
r61bd0301 rac815430 13 13 14 14 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 15 include $(top_srcdir)/../../../../../ automake/lib.am15 include $(top_srcdir)/../../../../../../automake/lib.am 16 16 17 17 # … … 28 28 EXTRA_DIST = timer.c 29 29 30 include $(top_srcdir)/../../../../../ automake/local.am30 include $(top_srcdir)/../../../../../../automake/local.am -
cpukit/score/cpu/sh/Makefile.am
r61bd0301 rac815430 22 22 $(INSTALL_DATA) $< $@ 23 23 24 C_FILES = cpu.c cpu_asm.c isp$(RTEMS_CPU_MODEL).c24 C_FILES = cpu.c 25 25 C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) 26 26 … … 41 41 .PRECIOUS: $(REL) 42 42 43 EXTRA_DIST = asm.h cpu.c cpu_asm.c ispsh7032.c ispsh7045.crtems.c43 EXTRA_DIST = asm.h cpu.c rtems.c 44 44 45 45 include $(top_srcdir)/../../../../../../automake/subdirs.am -
cpukit/score/cpu/sh/rtems/score/sh.h
r61bd0301 rac815430 41 41 42 42 #if defined(rtems_multilib) 43 43 44 /* 44 45 * Figure out all CPU Model Feature Flags based upon compiler … … 50 51 #define SH_HAS_SEPARATE_STACKS 1 51 52 52 #elif defined(sh7032) 53 #define CPU_MODEL_NAME "SH7032" 54 #define SH_HAS_FPU 0 53 #else 55 54 56 #elif defined (sh7045) 57 #define CPU_MODEL_NAME "SH7045" 58 #define SH_HAS_FPU 0 55 #if defined(__sh1__) || defined(__sh2__) || defined(__sh3__) 56 #define SH_HAS_FPU 0 57 #else 58 #define SH_HAS_FPU 1 59 #endif 59 60 60 #else 61 # error "Unsupported CPU Model"62 63 #endif 61 /* this should not be here */ 62 #define CPU_MODEL_NAME "SH-Multilib" 63 64 #endif /* multilib */ 64 65 65 66 /*
Note: See TracChangeset
for help on using the changeset viewer.