Changeset 73c2d23 in rtems


Ignore:
Timestamp:
10/05/05 19:25:07 (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
d2a30c77
Parents:
d490fff
Message:

2005-10-05 Jiri Gaisler <jiri@…>

Edvin Catovic <edvin@…>
Konrad Eisele <konrad@…>

PR 827/bsps

  • ChangeLog?, configure.ac, console/Makefile.am, console/console.c, console/debugputs.c, startup/Makefile.am, startup/linkcmds, tools/Makefile.am: Portion of large update of SPARC BSPs. Includes addition of sis, leon2 and leon3 BSPs, deletion of leon BSP, addition of SMC91111 NIC driver and much more.
Location:
c/src/lib/libbsp/sparc/erc32
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/erc32/ChangeLog

    rd490fff r73c2d23  
     12005-10-05  Jiri Gaisler <jiri@gaisler.com>
     2            Edvin Catovic <edvin@gaisler.com>
     3            Konrad Eisele <konrad@gaisler.com>
     4
     5        PR 827/bsps
     6        * ChangeLog, configure.ac, console/Makefile.am, console/console.c,
     7        console/debugputs.c, startup/Makefile.am, startup/linkcmds,
     8        tools/Makefile.am: Portion of large update of SPARC BSPs. Includes
     9        addition of sis, leon2 and leon3 BSPs, deletion of leon BSP, addition
     10        of SMC91111 NIC driver and much more.
     11
     12
     132005-01-20      Jiri Gaisler <jiri@gaisler.com>
     14
     15        Added support for printk in console/console.c
     16
     172004-11-17      Edvin Catovic <edvin@gaisler.com>
     18
     19        Removed obsolete startup/boardinit.S
     20
     21
     222004-06-16      Edvin Catovic <edvin@gaisler.com>
     23
     24        * Makefile.am: Added bspstart (moved here from ../shared)
     25        * configure.ac: Added bspstart/Makefile
     26        * bspstart/bspstart.c: Moved here from ../shared
     27        * bspstart/Makefile.am: New file
     28        * wrapup/Makefile.am: Included bspstart in BSP_PIECES
     29
    1302003-09-04      Joel Sherrill <joel@OARcorp.com>
    231
  • c/src/lib/libbsp/sparc/erc32/configure.ac

    rd490fff r73c2d23  
    3737 the wall time required to execute the RTEMS test suites.])
    3838
     39RTEMS_BSPOPTS_SET([ENABLE_SIS_QUIRKS],[sis],[1])
     40RTEMS_BSPOPTS_SET([ENABLE_SIS_QUIRKS],[*],[0])
     41RTEMS_BSPOPTS_HELP([ENABLE_SIS_QUIRKS],
     42[If defined, then the SIS simulator specific code in the
     43 BSP will be enabled.  In particular, SIS requires special
     44 initialization not used on real ERC32 hardware.])
     45
    3946# Explicitly list all Makefiles here
    4047AC_CONFIG_FILES([Makefile
  • c/src/lib/libbsp/sparc/erc32/console/Makefile.am

    rd490fff r73c2d23  
    66PGM = $(ARCH)/console.rel
    77
    8 C_FILES = console.c consolereserveresources.c debugputs.c
     8C_FILES = console.c debugputs.c
    99C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
    1010
  • c/src/lib/libbsp/sparc/erc32/console/console.c

    rd490fff r73c2d23  
    1818#include <stdlib.h>
    1919#include <assert.h>
     20#include <rtems/bspIo.h>
    2021
    2122/*
     
    418419}
    419420
     421/* putchar/getchar for printk */
     422
     423static void bsp_out_char (char c)
     424{
     425  console_outbyte_polled(0, c);
     426}
     427
     428BSP_output_char_function_type BSP_output_char = bsp_out_char;
     429
     430static char bsp_in_char(void)
     431{
     432  int tmp;
     433
     434  while ((tmp = console_inbyte_nonblocking(0)) < 0);
     435  return (char) tmp;
     436}
     437
     438BSP_polling_getchar_function_type BSP_poll_char = bsp_in_char;
     439
     440
  • c/src/lib/libbsp/sparc/erc32/console/debugputs.c

    rd490fff r73c2d23  
    1818#include <stdlib.h>
    1919#include <assert.h>
     20#include <stdarg.h>
    2021
    2122/*
  • c/src/lib/libbsp/sparc/erc32/startup/Makefile.am

    rd490fff r73c2d23  
    1212C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
    1313
    14 S_FILES = boardinit.S
     14S_FILES =
    1515S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
    1616
     
    4141.PRECIOUS: $(PGM)
    4242
    43 EXTRA_DIST = linkcmds setvec.c spurious.c boardinit.S
     43EXTRA_DIST = linkcmds setvec.c spurious.c
    4444
    4545include $(top_srcdir)/../../../../../../automake/local.am
  • c/src/lib/libbsp/sparc/erc32/startup/linkcmds

    rd490fff r73c2d23  
    139139    _endtext = .;
    140140  } > ram
    141   .dynamic        : { *(.dynamic)       } >ram
    142   .jcr            : { *(.jcr)           } >ram
    143   .got            : { *(.got)           } >ram
    144   .plt            : { *(.plt)           } >ram
    145   .hash           : { *(.hash)          } >ram
    146   .dynrel         : { *(.dynrel)        } >ram
    147   .dynsym         : { *(.dynsym)        } >ram
    148   .dynstr         : { *(.dynstr)        } >ram
    149   .hash           : { *(.hash)          } >ram
    150141  .data :
    151142  {
     
    160151    _edata = .;
    161152  } > ram
     153  .dynamic        : { *(.dynamic)       } >ram
     154  .jcr            : { *(.jcr)           } >ram
     155  .got            : { *(.got)           } >ram
     156  .plt            : { *(.plt)           } >ram
     157  .hash           : { *(.hash)          } >ram
     158  .dynrel         : { *(.dynrel)        } >ram
     159  .dynsym         : { *(.dynsym)        } >ram
     160  .dynstr         : { *(.dynstr)        } >ram
     161  .hash           : { *(.hash)          } >ram
    162162  .shbss :
    163163  {
  • c/src/lib/libbsp/sparc/erc32/tools/Makefile.am

    rd490fff r73c2d23  
    99bsptools_bin_SCRIPTS = runtest
    1010
    11 TMPINSTALL_FILES = $(PROJECT_ROOT)/erc32/tests \
    12     $(PROJECT_ROOT)/erc32/tests/runtest
     11TMPINSTALL_FILES = $(bsptools_bindir) $(bsptools_bindir)/runtest
    1312
    14 $(PROJECT_ROOT)/erc32/tests:
     13$(bsptools_bindir):
    1514        $(mkinstalldirs) $@
    1615
    17 $(PROJECT_ROOT)/erc32/tests/runtest: runtest
     16$(bsptools_bindir)/runtest: runtest
    1817        $(INSTALL_SCRIPT) $< $@
    1918
Note: See TracChangeset for help on using the changeset viewer.