Changeset 2365488e in rtems


Ignore:
Timestamp:
Sep 22, 2000, 8:33:08 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
bbfdedd
Parents:
add92c6
Message:

2000-09-22 Joel Sherrill <joel@…>

  • start/crt0.S: Renamed to start/start.S.
  • start/start.S: Formerly start/crt0.S.
  • startup/linkcmds: New file. GNU linker script that is not correct for the target board but links programs.
  • bsp_specs: Use linkcmds.
  • include/Makefile.am, start/Makefile.am startup/Makefile.am: Now work.
  • startup/bspstart.c, startup/setvec.c: "#if 0"'ed out references to reoutines in assembly that are in turn "#if 0"'ed out.
Location:
c/src/lib/libbsp/a29k/portsw
Files:
1 added
7 edited
1 moved

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/a29k/portsw/ChangeLog

    radd92c6 r2365488e  
     12000-09-22      Joel Sherrill <joel@OARcorp.com>
     2
     3        * start/crt0.S: Renamed to start/start.S.
     4        * start/start.S: Formerly start/crt0.S.
     5        * startup/linkcmds: New file.  GNU linker script that is not
     6        correct for the target board but links programs.
     7        * bsp_specs: Use linkcmds.
     8        * include/Makefile.am, start/Makefile.am startup/Makefile.am:
     9        Now work.
     10        * startup/bspstart.c, startup/setvec.c: "#if 0"'ed out references
     11        to reoutines in assembly that are in turn "#if 0"'ed out.
     12
    1132000-09-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    214
  • c/src/lib/libbsp/a29k/portsw/bsp_specs

    radd92c6 r2365488e  
    1717*startfile:
    1818%{!qrtems: %(old_startfile)} \
    19 %{qrtems: %{qrtems_debug: crt0_g.o%s} %{!qrtems_debug: crt0.o%s}}
     19%{qrtems: %{qrtems_debug: start_g.o%s} %{!qrtems_debug: start.o%s}}
    2020
    2121*link:
  • c/src/lib/libbsp/a29k/portsw/include/Makefile.am

    radd92c6 r2365488e  
    88
    99$(PROJECT_INCLUDE):
    10         @$(mkinstalldirs) $@
     10        $(mkinstalldirs) $@
    1111
    12 $(PROJECT_INCLUDE)/bsp.h: bsp.h
     12$(PROJECT_INCLUDE)/%.h: %.h
    1313        $(INSTALL_DATA) $< $@
    1414
  • c/src/lib/libbsp/a29k/portsw/start/Makefile.am

    radd92c6 r2365488e  
    77PGM = $(ARCH)/start.o
    88
    9 S_FILES = crt0.S register.S
     9S_FILES = start.S register.S
    1010S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
    1111
     
    2929.PRECIOUS: $(PGM)
    3030
    31 EXTRA_DIST = amd.ah crt0.S pswmacro.ah register.S register.ah
     31EXTRA_DIST = amd.ah start.S pswmacro.ah register.S register.ah
    3232
    3333include $(top_srcdir)/../../../../../../automake/local.am
  • c/src/lib/libbsp/a29k/portsw/start/start.S

    radd92c6 r2365488e  
    4141;       NOTE - not C callable (no lead underscore)
    4242;
    43         .include        "sysmac.h"
     43#if 0
     44#include <sysmac.h>
     45#endif
    4446;
    4547;
     
    5456        .global start
    5557start:
     58#if 0
    5659        sub     gr1, gr1, 6 * 4
    5760        asgeu   V_SPILL, gr1, rab       ; better not ever happen
     
    5962
    6063;
    61 ; Save the initial value of the Am29027's Mode register
    62 ;
    63 ; If your system does not enter crt0 with value for Am29027's Mode
     64; Save the initial value of the Am29027 Mode register
     65;
     66; If your system does not enter crt0 with value for Am29027 Mode
    6467; register in gr96 and gr97, and also the coprocessor is active
    6568; uncomment the next 4 instructions.
     
    119122; Now call LibInit, if there is one. To aid runtime libraries
    120123; that need to do some startup initialization, we have created
    121 ; a bss variable called LibInit. If the library doesn't need
     124; a bss variable called LibInit. If the library does not need
    122125; any run-time initialization, the variable is still 0. If the
    123126; library does need run-time initialization, the library will
     
    143146; The following code segment was used to create the two flavors of the
    144147; run-time initialization routines (crt0_1.o, and crt0_2.o) as described
    145 ; in the User's Manual.  If osboot is used to create a stand-alone
     148; in the Users Manual.  If osboot is used to create a stand-alone
    146149; application, or the call to RAMInit is made in the start-up routine,
    147150; then the following is not needed.
     
    286289;        add     lr1,gr1,24
    287290;
     291#endif
    288292        .end
  • c/src/lib/libbsp/a29k/portsw/startup/Makefile.am

    radd92c6 r2365488e  
    2626        $(make-rel)
    2727
     28$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
     29        $(INSTALL_DATA) $< $@
     30
    2831$(PROJECT_RELEASE)/lib/ramlink: ramlink
    2932        $(INSTALL_DATA) $< $@
     
    3437# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    3538TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/ramlink \
     39    $(PROJECT_RELEASE)/lib/linkcmds \
    3640    $(PROJECT_RELEASE)/lib/romlink
    3741
  • c/src/lib/libbsp/a29k/portsw/startup/bspstart.c

    radd92c6 r2365488e  
    7777    do {
    7878       heap_size -= HEAP_BLOCK_SIZE;
     79/* JRS just to link 9/22/2000 */
     80#if 0
    7981       heap_start = _sysalloc( heap_size );
     82#else
     83       heap_start = 0;
     84#endif
    8085    } while ( !heap_start );
    8186
     
    129134   */
    130135
     136/* JRS just to link 9/22/2000 */
     137#if 0
    131138  BSP_Configuration.work_space_start = _sysalloc( BSP_Configuration.work_space_size + 512 );
     139#else
     140  BSP_Configuration.work_space_start = 0;
     141#endif
    132142  if (!BSP_Configuration.work_space_start)
    133143    rtems_fatal_error_occurred( BSP_Configuration.work_space_size );
     
    143153  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    144154
     155/* JRS just to link 9/22/2000 */
     156#if 0
    145157  _settrap( 109,&a29k_enable_sup);
    146158  _settrap( 110,&a29k_disable_sup);
     
    151163  _settrap( 108,&a29k_context_save_sup);
    152164  _settrap( 105,&a29k_sigdfl_sup);
     165#endif
    153166
    154167  /*
  • c/src/lib/libbsp/a29k/portsw/startup/setvec.c

    radd92c6 r2365488e  
    4242  else {
    4343    /* XXX: install non-RTEMS ISR as "raw" interupt */
     44/* JRS just to link 9/22/2000 */
     45#if 0
    4446    _settrap( vector, handler );
     47#else
     48     ;
     49#endif
    4550  }
    4651  return previous_isr;
Note: See TracChangeset for help on using the changeset viewer.