Changeset ac815430 in rtems for c/src/exec/score


Ignore:
Timestamp:
Jun 14, 2000, 5:07:54 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
c63a5cf
Parents:
61bd0301
Message:

Patch rtems-rc-20000614-sh.tar.gz from Ralf Corsepius
<corsepiu@…> that migrates the SH port to
multilib'ing. This patch involved moving a number of
files in the CVS repository, adding new files, and
deleting files from their previous location. Ralf
gave good instructions (not repeated here) and here
are his notes:

Note 1: In this version, I did not change the installation points of
the headers which are moved inside of the source-tree. This is a
temporary hack for not breaking compatibility with 4.5 based BSPs,
but will probably not last once having real multilibs (We would have
include file conflicts when several BSPs/CPU_MODELS share a common
installation prefix).

Note 2: I hope not to have broken too much, but I would not be
astonished if something goes wrong.

Note 3: There are more patches to come :)

Location:
c/src/exec/score/cpu/sh
Files:
7 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/cpu/sh/Makefile.am

    r61bd0301 rac815430  
    2222        $(INSTALL_DATA) $< $@
    2323
    24 C_FILES = cpu.c cpu_asm.c isp$(RTEMS_CPU_MODEL).c
     24C_FILES = cpu.c
    2525C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    2626
     
    4141.PRECIOUS: $(REL)
    4242
    43 EXTRA_DIST = asm.h cpu.c cpu_asm.c ispsh7032.c ispsh7045.c rtems.c
     43EXTRA_DIST = asm.h cpu.c rtems.c
    4444
    4545include $(top_srcdir)/../../../../../../automake/subdirs.am
  • c/src/exec/score/cpu/sh/rtems/score/Makefile.am

    r61bd0301 rac815430  
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    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
     7H_FILES = cpu.h shtypes.h sh.h sh_io.h
     8noinst_HEADERS = cpu.h shtypes.h sh.h sh_io.h
    119
    1210#
  • c/src/exec/score/cpu/sh/rtems/score/sh.h

    r61bd0301 rac815430  
    4141 
    4242#if defined(rtems_multilib)
     43
    4344/*
    4445 *  Figure out all CPU Model Feature Flags based upon compiler
     
    5051#define SH_HAS_SEPARATE_STACKS 1
    5152
    52 #elif defined(sh7032)
    53 #define CPU_MODEL_NAME  "SH7032"
    54 #define SH_HAS_FPU      0
     53#else
    5554
    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
    5960
    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 */
    6465
    6566/*
Note: See TracChangeset for help on using the changeset viewer.