Changeset 65c34da0 in rtems


Ignore:
Timestamp:
Nov 21, 2001, 6:35:11 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
bbb6af24
Parents:
1c3c605
Message:

2001-11-21 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Add @exceptions@ to SUBDIRS.
  • configure.ac: Apply RTEMS_BSPOPTS_*(*) to merge-in settings from make/custom/score603e.cfg; Add automake conditional for SCORE_GENERATION_1; Add RTEMS_PPC_EXCEPTIONS([old]).
  • include/Makefile.am: include force-preinstall.am.
  • start/start.S: include <bspopts.h> instead of targopts.h.
  • tod/Makefile.am: Apply SCORE_GENERATION_1 conditional.
  • vectors/vector.S: include <bsp.h>.
  • wrapup/Makefile.am: Apply @exceptions@.
Location:
c/src/lib/libbsp/powerpc/score603e
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/score603e/ChangeLog

    r1c3c605 r65c34da0  
     12001-11-21      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * Makefile.am: Add @exceptions@ to SUBDIRS.
     4        * configure.ac: Apply RTEMS_BSPOPTS_*(*) to merge-in settings from
     5        make/custom/score603e.cfg;
     6        Add automake conditional for SCORE_GENERATION_1;
     7        Add RTEMS_PPC_EXCEPTIONS([old]).
     8        * include/Makefile.am: include force-preinstall.am.
     9        * start/start.S: include <bspopts.h> instead of targopts.h.
     10        * tod/Makefile.am: Apply SCORE_GENERATION_1 conditional.
     11        * vectors/vector.S: include <bsp.h>.
     12        * wrapup/Makefile.am: Apply @exceptions@.
     13
    1142001-10-25      Joel Sherrill <joel@OARcorp.com>
    215
  • c/src/lib/libbsp/powerpc/score603e/Makefile.am

    r1c3c605 r65c34da0  
    99#  from the individual .rel files built in other directories
    1010SUBDIRS = include clock console startup start timer tod PCI_bus vectors \
    11     wrapup
     11    @exceptions@ wrapup
    1212
    1313include $(top_srcdir)/../../bsp.am
  • c/src/lib/libbsp/powerpc/score603e/configure.ac

    r1c3c605 r65c34da0  
    2222
    2323## bsp-specific options
    24 CONSOLE_USE_INTERRUPTS=${CONSOLE_USE_INTERRUPTS-0}
    25 AC_DEFINE_UNQUOTED([CONSOLE_USE_INTERRUPTS],
    26   [$CONSOLE_USE_INTERRUPTS],
    27   [whether using console interrupts])
     24RTEMS_BSPOPTS_SET([SCORE603E_GENERATION],[*],[2])
     25RTEMS_BSPOPTS_HELP([SCORE603E_GENERATION],
     26[FIXME: Missing explanation])
     27
     28RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[0])
     29RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS],
     30[whether using console interrupts])
     31
     32RTEMS_BSPOPTS_SET([INITIALIZE_COM_PORTS],[*],[1])
     33RTEMS_BSPOPTS_HELP([INITIALIZE_COM_PORTS],
     34[FIXME: Missing explanation])
     35
     36RTEMS_BSPOPTS_SET([HAS_PMC_PSC8],[*],[0])
     37RTEMS_BSPOPTS_HELP([HAS_PMC_PSC8],
     38[FIXME: Missing explanation])
     39
     40## FIXME: This should be a 1 out of 3 selection
     41## and is somehow coupled to USE_DINK (cf. include/gen2.h)
     42RTEMS_BSPOPTS_SET([SCORE603E_USE_SDS],[*],[0])
     43RTEMS_BSPOPTS_HELP([SCORE603E_USE_SDS],
     44[use SDS ROM monitor])
     45
     46RTEMS_BSPOPTS_SET([SCORE603E_OPEN_FIRMWARE],[*],[0])
     47RTEMS_BSPOPTS_HELP([SCORE603E_OPEN_FIRMWARE],
     48[use Open Firmware ROM monitor])
     49
     50RTEMS_BSPOPTS_SET([SCORE603E_USE_NONE],[*],[0])
     51RTEMS_BSPOPTS_HELP([SCORE603E_USE_NONE],
     52[use no ROM monitor])
     53
     54RTEMS_BSPOPTS_SET([SCORE603E_USE_DINK],[*],[1])
     55RTEMS_BSPOPTS_HELP([SCORE603E_USE_DINK],
     56[FIXME: Missing explanation.])
     57
     58RTEMS_BSPOPTS_SET([PPC_USE_SPRG],[*],[0])
     59RTEMS_BSPOPTS_HELP([PPC_USE_SPRG],
     60[If defined, then the PowerPC specific code in RTEMS will use some
     61of the special purpose registers to slightly optimize interrupt
     62response time.  The use of these registers can conflict with
     63other tools like debuggers.])
     64
     65RTEMS_BSPOPTS_SET([PPC_USE_DATA_CACHE],[*],[0])
     66RTEMS_BSPOPTS_HELP([PPC_USE_DATA_CACHE],
     67[If defined, then the PowerPC specific code in RTEMS will use
     68 data cache instructions to optimize the context switch code.
     69 This code can conflict with debuggers or emulators.  It is known
     70 to break the Corelis PowerPC emulator with at least some combinations
     71 of PowerPC 603e revisions and emulator versions.
     72 The BSP actually contains the call that enables this.])
     73
     74RTEMS_BSPOPTS_SET([PPC_VECTOR_FILE_BASE],[*],[0x0100])
     75RTEMS_BSPOPTS_HELP([PPC_VECTOR_FILE_BASE],
     76[This defines the base address of the exception table.
     77 NOTE: Vectors are actually at 0xFFF00000 but file starts at offset.])
    2878
    2979AM_CONFIG_HEADER(include/bspopts.h)
     80
     81AM_CONDITIONAL(SCORE603E_GENERATION_1, test "${SCORE603E_GENERATION}" = "1")
     82
    3083RTEMS_PROJECT_ROOT
    3184
     
    4295vectors/Makefile
    4396wrapup/Makefile])
     97
     98RTEMS_PPC_EXCEPTIONS([old])
     99
    44100AC_OUTPUT
    45 
  • c/src/lib/libbsp/powerpc/score603e/include/Makefile.am

    r1c3c605 r65c34da0  
    1818all-local: $(TMPINSTALL_FILES)
    1919
     20include $(top_srcdir)/../../../../../../automake/force-preinstall.am
    2021include $(top_srcdir)/../../../../../../automake/local.am
  • c/src/lib/libbsp/powerpc/score603e/start/start.S

    r1c3c605 r65c34da0  
    1818 */
    1919
    20 #include <rtems/score/targopts.h> /* for SCORE603E_GENERATION */
     20#include <bspopts.h> /* for SCORE603E_GENERATION */
    2121#include "ppc-asm.h"
    2222
  • c/src/lib/libbsp/powerpc/score603e/tod/Makefile.am

    r1c3c605 r65c34da0  
    1212
    1313# generation 1
    14 TOD_C_FILES_1_V = tod_g1.c
     14if SCORE603E_GENERATION_1
     15TOD_C_FILES = tod_g1.c
     16else
    1517# generation 2
    16 TOD_C_FILES_2_V = tod.c
    17 TOD_C_FILES = $(TOD_C_FILES_$(SCORE603E_GENERATION)_V)
     18TOD_C_FILES = tod.c
     19endif
    1820
    1921C_FILES = $(TOD_C_FILES)
  • c/src/lib/libbsp/powerpc/score603e/vectors/vectors.S

    r1c3c605 r65c34da0  
    2626 */
    2727
     28#include <bsp.h>
    2829#include "asm.h"
    2930
  • c/src/lib/libbsp/powerpc/score603e/wrapup/Makefile.am

    r1c3c605 r65c34da0  
    1010# bummer; have to use $foreach since % pattern subst rules only replace 1x
    1111OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
    12     $(wildcard ../../../../libcpu/powerpc/old_exception_processing/$(ARCH)/*.rel)
     12    ../@exceptions@/$(ARCH)/*.rel
    1313LIB = $(ARCH)/libbsp.a
    1414
Note: See TracChangeset for help on using the changeset viewer.