[PATCH] h8300/h8sim: Remove
updates #2453. --- c/src/lib/libbsp/h8300/h8sim/Makefile.am | 55 - c/src/lib/libbsp/h8300/h8sim/bsp_specs | 14 --- c/src/lib/libbsp/h8300/h8sim/configure.ac | 20 c/src/lib/libbsp/h8300/h8sim/console/console-io.c | 65 --- c/src/lib/libbsp/h8300/h8sim/console/syscalls.S| 46 c/src/lib/libbsp/h8300/h8sim/doxygen.h | 15 --- c/src/lib/libbsp/h8300/h8sim/include/bsp.h | 50 - .../h8300/h8sim/make/custom/h8sim-testsuite.tcfg | 12 -- c/src/lib/libbsp/h8300/h8sim/make/custom/h8sim.cfg | 16 --- .../h8300/h8sim/make/custom/h8sxsim-testsuite.tcfg | 16 --- .../lib/libbsp/h8300/h8sim/make/custom/h8sxsim.cfg | 16 --- c/src/lib/libbsp/h8300/h8sim/preinstall.am | 71 c/src/lib/libbsp/h8300/h8sim/start/start.S | 48 .../libbsp/h8300/h8sim/startup/h8bdinstallirq.c| 17 --- c/src/lib/libbsp/h8300/h8sim/startup/linkcmds | 123 - 15 files changed, 584 deletions(-) delete mode 100644 c/src/lib/libbsp/h8300/h8sim/Makefile.am delete mode 100644 c/src/lib/libbsp/h8300/h8sim/bsp_specs delete mode 100644 c/src/lib/libbsp/h8300/h8sim/configure.ac delete mode 100644 c/src/lib/libbsp/h8300/h8sim/console/console-io.c delete mode 100644 c/src/lib/libbsp/h8300/h8sim/console/syscalls.S delete mode 100644 c/src/lib/libbsp/h8300/h8sim/doxygen.h delete mode 100644 c/src/lib/libbsp/h8300/h8sim/include/bsp.h delete mode 100644 c/src/lib/libbsp/h8300/h8sim/make/custom/h8sim-testsuite.tcfg delete mode 100644 c/src/lib/libbsp/h8300/h8sim/make/custom/h8sim.cfg delete mode 100644 c/src/lib/libbsp/h8300/h8sim/make/custom/h8sxsim-testsuite.tcfg delete mode 100644 c/src/lib/libbsp/h8300/h8sim/make/custom/h8sxsim.cfg delete mode 100644 c/src/lib/libbsp/h8300/h8sim/preinstall.am delete mode 100644 c/src/lib/libbsp/h8300/h8sim/start/start.S delete mode 100644 c/src/lib/libbsp/h8300/h8sim/startup/h8bdinstallirq.c delete mode 100644 c/src/lib/libbsp/h8300/h8sim/startup/linkcmds diff --git a/c/src/lib/libbsp/h8300/h8sim/Makefile.am b/c/src/lib/libbsp/h8300/h8sim/Makefile.am deleted file mode 100644 index de36975..000 --- a/c/src/lib/libbsp/h8300/h8sim/Makefile.am +++ /dev/null @@ -1,55 +0,0 @@ -ACLOCAL_AMFLAGS = -I ../../../../aclocal - -include $(top_srcdir)/../../../../automake/compile.am - -include_bspdir = $(includedir)/bsp - -dist_project_lib_DATA = bsp_specs - -include_HEADERS = include/bsp.h -include_HEADERS += ../../shared/include/tm27.h - -nodist_include_HEADERS = include/bspopts.h -nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h -nodist_include_bsp_HEADERS += ../../shared/include/console-polled.h -DISTCLEANFILES = include/bspopts.h - -nodist_include_HEADERS += ../../shared/include/coverhd.h - -noinst_LIBRARIES = libbspstart.a -libbspstart_a_SOURCES = start/start.S -project_lib_DATA = start.$(OBJEXT) - -dist_project_lib_DATA += startup/linkcmds - -noinst_LIBRARIES += libbsp.a -libbsp_a_SOURCES = - -# startup -libbsp_a_SOURCES += ../../shared/bspclean.c -libbsp_a_SOURCES += ../../shared/bsplibc.c -libbsp_a_SOURCES += ../../shared/bsppredriverhook.c -libbsp_a_SOURCES += ../../shared/bspgetworkarea.c -libbsp_a_SOURCES += ../../shared/bsppost.c -libbsp_a_SOURCES += ../../shared/bspstart.c -libbsp_a_SOURCES += startup/h8bdinstallirq.c -libbsp_a_SOURCES += ../../shared/bootcard.c -libbsp_a_SOURCES += ../../shared/sbrk.c -libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c - -# clock -libbsp_a_SOURCES += ../../shared/clock_driver_simidle.c -# console -libbsp_a_SOURCES += ../../shared/console-polled.c -libbsp_a_SOURCES += console/console-io.c -libbsp_a_SOURCES += console/syscalls.S -# timer -libbsp_a_SOURCES += ../../shared/timerstub.c - -# Cache -libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c -libbsp_a_SOURCES += ../../shared/include/cache_.h -libbsp_a_CPPFLAGS = -I$(srcdir)/../../shared/include - -include $(srcdir)/preinstall.am -include $(top_srcdir)/../../../../automake/local.am diff --git a/c/src/lib/libbsp/h8300/h8sim/bsp_specs b/c/src/lib/libbsp/h8300/h8sim/bsp_specs deleted file mode 100644 index b243ab6..000 --- a/c/src/lib/libbsp/h8300/h8sim/bsp_specs +++ /dev/null @@ -1,14 +0,0 @@ -%rename endfile old_endfile -%rename startfile old_startfile -%rename link old_link - -*startfile: -%{!qrtems: %(old_startfile)} \ -%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e _start}} - -*link: -%(old_link) %{!qrtems: %(old_link)} %{qrtems: -dc -dp -N} - -*endfile: -%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s} - diff --git a/c/src/lib/libbsp/h8300/h8sim/configure.ac b/c/src/lib/libbsp/h8300/h8sim/configure.ac deleted file mode 100644 index e0c22cb..000 --- a/c/src/lib/libbsp/h8300/h8sim/configure.ac +++ /dev/null @@ -1,20 +0,0 @@ -## Process this file with autoconf to produce a configure script. - -AC_PREREQ([2.69]) -AC_INIT([rtems-c-src-lib-libbsp-h8300-h8sim],[_RTEMS_VERSION],[https://devel.rte
[PATCH] h8300: Remove h8sim references
updates #2453. --- dejagnu/boards/rtems-h8300-h8sim.exp | 40 -- gcc/RTEMS_GCC_Testing.txt | 2 +- gcc/do_one | 1 - gcc/parallelize_build | 2 +- gcc/rundeja| 6 - gcc/testsuite/ada/acats/Makefile.rtems | 3 --- sim-scripts/.gitignore | 2 -- sim-scripts/Makefile | 5 + sim-scripts/README | 1 - sim-scripts/h8sim.in | 26 -- 10 files changed, 3 insertions(+), 85 deletions(-) delete mode 100755 dejagnu/boards/rtems-h8300-h8sim.exp delete mode 100644 sim-scripts/h8sim.in diff --git a/dejagnu/boards/rtems-h8300-h8sim.exp b/dejagnu/boards/rtems-h8300-h8sim.exp deleted file mode 100755 index 3da3ec4..000 --- a/dejagnu/boards/rtems-h8300-h8sim.exp +++ /dev/null @@ -1,40 +0,0 @@ -# This is a list of toolchains that are supported on this board. -set_board_info target_install {} - -# Load the generic configuration for this board, This will define a basic -# set of routines needed by the tool to communicate with the board. -load_generic_config "sim" - -# basic-sim.exp is a basic description for the standard Cygnus simulator. -load_base_board_description "basic-sim" - -# The name of the simulator is "nosim" -setup_sim h8sim - -# No multilib flags needed by default. -process_multilib_options "" - -# The compiler used to build for this board. This has *nothing* to do -# with what compiler is tested if we're testing gcc. -set_board_info compiler "[find_gcc]" - -set_board_info cflags "[newlib_include_flags] -mh -mint32 -B${RTEMS_MAKEFILE_PATH}/lib/ -specs bsp_specs -qrtems -DUNDERSCORES -Wl,-wrap,_exit -Wl,-wrap,_main -Wl,-wrap,_abort -Wl,-wrap,_exit-Wl,-wrap,__exit " -set_board_info ldflags "[newlib_link_flags] ${RTEMS_CONFIG_OBJ}" - -# The simulator isn't really remote. -set_board_info isremote 0 -# We only have a small stack available to us -set_board_info gcc,stack_size 2048 - -# wrapper script which handles the device tree -set_board_info sim "h8sim" -set_board_info sim,options "-i" - -# No support for signals on this target. -set_board_info gdb,nosignals 1 - -# The simulator doesn't return exit statuses and we need to indicate this. -set_board_info needs_status_wrapper 1 - -# Can't call functions from GDB. -# set_board_info gdb,cannot_call_functions 1 diff --git a/gcc/RTEMS_GCC_Testing.txt b/gcc/RTEMS_GCC_Testing.txt index 8bd886f..df9e3f3 100644 --- a/gcc/RTEMS_GCC_Testing.txt +++ b/gcc/RTEMS_GCC_Testing.txt @@ -129,7 +129,7 @@ this target | arm-rtems* | edb7312| Skyeye | avr-rtems* | avrtest| avrtest | bfin-rtems*| eZKit533 | Skyeye -| h8300-rtems* | h8sim | gdb +| h8300-rtems* | N/A| not supported | i386-rtems*| pc386 | qemu | lm32-rtems*| lm32_evr | gdb | m32c-rtems*| m32csim| gdb diff --git a/gcc/do_one b/gcc/do_one index 4b9fc14..173af02 100755 --- a/gcc/do_one +++ b/gcc/do_one @@ -358,7 +358,6 @@ if [ ${needCPU} = yes -a ${needBSP} = yes -a \ arm-realview_pbx_a9_qemu) dejacfg=rtems-arm-realview_pbx_a9_qemu ;; avr-avrtest) dejacfg=rtems-avr-avrtest ;; bfin-eZKit533)dejacfg=rtems-bfin-nosim ;; -h8300-h8sim) dejacfg=rtems-h8300-h8sim ;; i386-pc386|i386-qemu) dejacfg=rtems-i386-qemu ;; lm32-lm32_evr)dejacfg=rtems-lm32-lm32_evr ;; m32c-m32csim) dejacfg=rtems-m32c-m32csim ;; diff --git a/gcc/parallelize_build b/gcc/parallelize_build index cf55c21..3497bb2 100755 --- a/gcc/parallelize_build +++ b/gcc/parallelize_build @@ -181,7 +181,7 @@ if [ ${do_tools} = "yes" ] ; then ${BASEDIR}/rtems-testing/gcc/do_one -B1 -A ${args} arm edb7312 ${BASEDIR}/rtems-testing/gcc/do_one -B1 -A ${args} avr avrtest ${BASEDIR}/rtems-testing/gcc/do_one -B1 -A ${args} bfin eZKit533 -${BASEDIR}/rtems-testing/gcc/do_one -B1 -A ${args} h8300 h8sim +${BASEDIR}/rtems-testing/gcc/do_one -B1 -A ${args} h8300 ${BASEDIR}/rtems-testing/gcc/do_one -B1 -A ${args} i386 pc386 ${BASEDIR}/rtems-testing/gcc/do_one -B1 -A ${args} lm32 lm32_evr ${BASEDIR}/rtems-testing/gcc/do_one -B1 -A ${args} m32c m32csim diff --git a/gcc/rundeja b/gcc/rundeja index de037e4..cde46db 100755 --- a/gcc/rundeja +++ b/gcc/rundeja @@ -65,12 +65,6 @@ case $1 in DEJABSP=uC5282 BSP_SIM=uC5282 ;; - h8sim) -CPU=h8300 -BSP=h8sim -DEJABSP=h8sim -BSP_SIM=h8sim -;; simsh1) CPU=sh BSP=simsh1 diff --git a/gcc/testsuite/ada/acats/Makefile.rtems b/gcc/testsuite/ada/acats/Makefile.rtems index 58d97a1..4124b1b 100644 --- a/gcc/testsuite/ada/acats/Makefile.rtems +++ b/gcc/testsuite/ada/acats/Makefile.rtems @@ -60,9 +60,6 @@ stamp-targetrun: ifeq ($(RTEMS_BSP),simsh1) echo " simsh -C -l 60 $$"'*' >> $@ endif # simsh1 - ifeq ($(RTEMS_BSP),h8sim) - echo " h8sim -C -l 60 $$"'*' >> $@ - endif # h8s
[PATCH] bsps/h8sim*: Remove
closes #2453. --- tester/rtems/testing/bsps/h8sim-run.mc | 54 tester/rtems/testing/bsps/h8sim.mc | 56 -- 2 files changed, 110 deletions(-) delete mode 100644 tester/rtems/testing/bsps/h8sim-run.mc delete mode 100644 tester/rtems/testing/bsps/h8sim.mc diff --git a/tester/rtems/testing/bsps/h8sim-run.mc b/tester/rtems/testing/bsps/h8sim-run.mc deleted file mode 100644 index 60e6331..000 --- a/tester/rtems/testing/bsps/h8sim-run.mc +++ /dev/null @@ -1,54 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value: 'single line', '''multi line''' -# - -# -# The h8sim BSP -# -[global] -bsp: none,none, 'h8sim' - -[h8sim] -h8sim: none,none, '%{_rtscripts}/run.cfg' -h8sim_arch: none,none, 'h8300' -bsp_run_cmd: none,none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none,none, '-a -nouartrx' diff --git a/tester/rtems/testing/bsps/h8sim.mc b/tester/rtems/testing/bsps/h8sim.mc deleted file mode 100644 index b98e4a5..000 --- a/tester/rtems/testing/bsps/h8sim.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value: 'single line', '''multi line''' -# - -# -# The h8sim BSP -# -[global] -bsp: none,none, 'h8sim' - -[h8sim] -h8sim: none,none, '%{_rtscripts}/gdb
Re: Breaking master [Was: [PATCH] Chase Newlib sys/select.h changes]
On 12/11/15 17:39, Sebastian Huber wrote: Since we have now the RSB, I prefer to avoid autoconf stuff and instead force users of the master branch to update their tool chain. I agree. Easy to add, difficult to remove. The difficult part is to set up your development host to be able to build the tools with RSB the first time, but to build the tools a second time is easy, you just have to wait a couple of minutes. I cannot personally cover all the hosts being used and need to rely on feedback in the form of documentation updates. I am starting to think the RSB needs to learn more about hosts to help here. I am thinking of adding support so a package can specify something that has to be present and per hosts support translates that to a specific host set of packages or commands that are needed. Maybe then I can receive patches for those files and capture the information new users need. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: [PATCH] Use linker set for system initialization
On 12/11/15 21:59, Sebastian Huber wrote: All the constructors are used via function pointers, so without link-time optimization and a very smart compiler, they must exist as a single function. I think there may be a binutils bug in the mapping option. You can use objcopy --globalize-symbol if you really need a global symbol, e.g. for tracing. Nice and thanks. I did not know this existed. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: [PATCH] m32r: Partially remove m32rsim reference
Aun-Ali, Can you address Sebastian's question why "partially" removing m2rsim? Also, can you regenerate a clean patch for this change? On Thu, Dec 10, 2015 at 3:30 AM, Sebastian Huber wrote: > I am not sure about this one. What does "partially" mean? What is left? > > -- > Sebastian Huber, embedded brains GmbH > > Address : Dornierstr. 4, D-82178 Puchheim, Germany > Phone : +49 89 189 47 41-16 > Fax : +49 89 189 47 41-09 > E-Mail : sebastian.hu...@embedded-brains.de > PGP : Public key available on request. > > Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. > > > ___ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: [PATCH] m32r: Partially remove m32rsim reference
The reason its "partially" since there are references of m32rsim in the files 'gcc/test_driver' and 'gcc/do_one' that I really don't know what to substitute in place of the m32rsim. Aun-Ali On 12/13/15 9:11 PM, Gedare Bloom wrote: > Aun-Ali, > > Can you address Sebastian's question why "partially" removing m2rsim? > Also, can you regenerate a clean patch for this change? > > On Thu, Dec 10, 2015 at 3:30 AM, Sebastian Huber > wrote: >> I am not sure about this one. What does "partially" mean? What is left? >> >> -- >> Sebastian Huber, embedded brains GmbH >> >> Address : Dornierstr. 4, D-82178 Puchheim, Germany >> Phone : +49 89 189 47 41-16 >> Fax : +49 89 189 47 41-09 >> E-Mail : sebastian.hu...@embedded-brains.de >> PGP : Public key available on request. >> >> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. >> >> >> ___ >> devel mailing list >> devel@rtems.org >> http://lists.rtems.org/mailman/listinfo/devel This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
[PATCH] m32r: Remove m32rsim references
closes #2447. --- dejagnu/boards/rtems-m32r-m32rsim.exp | 40 -- gcc/RTEMS_GCC_Testing.txt | 2 +- gcc/do_one | 1 - gcc/parallelize_build | 2 +- gcc/rundeja| 6 - gcc/test_driver| 2 +- gcc/testsuite/ada/acats/Makefile.rtems | 3 --- rtems/bit_all_bsps | 2 +- sim-scripts/.gitignore | 2 -- sim-scripts/Makefile | 5 + sim-scripts/m32rsim.in | 25 - 11 files changed, 5 insertions(+), 85 deletions(-) delete mode 100755 dejagnu/boards/rtems-m32r-m32rsim.exp delete mode 100644 sim-scripts/m32rsim.in diff --git a/dejagnu/boards/rtems-m32r-m32rsim.exp b/dejagnu/boards/rtems-m32r-m32rsim.exp deleted file mode 100755 index 4670610..000 --- a/dejagnu/boards/rtems-m32r-m32rsim.exp +++ /dev/null @@ -1,40 +0,0 @@ -# This is a list of toolchains that are supported on this board. -set_board_info target_install {} - -# Load the generic configuration for this board, This will define a basic -# set of routines needed by the tool to communicate with the board. -load_generic_config "sim" - -# basic-sim.exp is a basic description for the standard Cygnus simulator. -load_base_board_description "basic-sim" - -# The name of the simulator is "nosim" -setup_sim nosim - -# No multilib flags needed by default. -process_multilib_options "" - -# The compiler used to build for this board. This has *nothing* to do -# with what compiler is tested if we're testing gcc. -set_board_info compiler "[find_gcc]" - -set_board_info cflags "[newlib_include_flags] -B${RTEMS_MAKEFILE_PATH}/lib/ -specs bsp_specs -qrtems" -set_board_info ldflags "[newlib_link_flags] ${RTEMS_CONFIG_OBJ}" - -# The simulator isn't really remote. -set_board_info isremote 0 -# We only have a small stack available to us -set_board_info gcc,stack_size 2048 - -# wrapper script which handles the device tree -set_board_info sim "m32rsim" -set_board_info sim,options "-i" - -# No support for signals on this target. -set_board_info gdb,nosignals 1 - -# The simulator doesn't return exit statuses and we need to indicate this. -set_board_info needs_status_wrapper 1 - -# Can't call functions from GDB. -# set_board_info gdb,cannot_call_functions 1 diff --git a/gcc/RTEMS_GCC_Testing.txt b/gcc/RTEMS_GCC_Testing.txt index df9e3f3..7dbf97b 100644 --- a/gcc/RTEMS_GCC_Testing.txt +++ b/gcc/RTEMS_GCC_Testing.txt @@ -133,7 +133,7 @@ this target | i386-rtems*| pc386 | qemu | lm32-rtems*| lm32_evr | gdb | m32c-rtems*| m32csim| gdb -| m32r-rtems*| m32rsim| gdb +| m32r-rtems*| N/A| not supported | m68k-rtems*| uC5282 | Qemu | microblaze-rtems* | nosim | not executed | mips-rtems*| jmr3904| gdb diff --git a/gcc/do_one b/gcc/do_one index 173af02..08342fd 100755 --- a/gcc/do_one +++ b/gcc/do_one @@ -361,7 +361,6 @@ if [ ${needCPU} = yes -a ${needBSP} = yes -a \ i386-pc386|i386-qemu) dejacfg=rtems-i386-qemu ;; lm32-lm32_evr)dejacfg=rtems-lm32-lm32_evr ;; m32c-m32csim) dejacfg=rtems-m32c-m32csim ;; -m32r-m32rsim) dejacfg=rtems-m32r-m32rsim ;; m68k-uC5282) dejacfg=rtems-m68k-uC5282 ;; microblaze-nosim) dejacfg=rtems-microblaze-nosim ;; mips-jmr3904) dejacfg=rtems-mips-jmr3904 ;; diff --git a/gcc/parallelize_build b/gcc/parallelize_build index 3497bb2..9d5381c 100755 --- a/gcc/parallelize_build +++ b/gcc/parallelize_build @@ -185,7 +185,7 @@ ${BASEDIR}/rtems-testing/gcc/do_one -B1 -A ${args} h8300 ${BASEDIR}/rtems-testing/gcc/do_one -B1 -A ${args} i386 pc386 ${BASEDIR}/rtems-testing/gcc/do_one -B1 -A ${args} lm32 lm32_evr ${BASEDIR}/rtems-testing/gcc/do_one -B1 -A ${args} m32c m32csim -${BASEDIR}/rtems-testing/gcc/do_one -B1 -A ${args} m32r m32rsim +${BASEDIR}/rtems-testing/gcc/do_one -B1 -A ${args} m32r ${BASEDIR}/rtems-testing/gcc/do_one -B1 -A ${args} m68k uC5282 ${BASEDIR}/rtems-testing/gcc/do_one -B1 -A ${args} mips jmr3904 ${BASEDIR}/rtems-testing/gcc/do_one -B1 -A ${args} powerpc psim diff --git a/gcc/rundeja b/gcc/rundeja index cde46db..7821533 100755 --- a/gcc/rundeja +++ b/gcc/rundeja @@ -47,12 +47,6 @@ case $1 in DEJABSP=m32csim BSP_SIM=m32csim ;; - m32rsim) -CPU=m32r -BSP=m32rsim -DEJABSP=m32rsim -BSP_SIM=m32rsim -;; mcf5206elite) CPU=m68k BSP=mcf5206elite diff --git a/gcc/test_driver b/gcc/test_driver index f9f8202..fdf9678 100755 --- a/gcc/test_driver +++ b/gcc/test_driver @@ -264,7 +264,7 @@ build_cpu() i386)bsp=pc386;; lm32)bsp=lm32_evr ;; m32c)bsp=m32csim ;; - m32r)bsp=m32rsim ;; + m32r)bsp= ;; m68k)bsp=uC5282 ;; mips)bsp=jmr3904 ;; powerpc) bsp=psim ;; diff
[PATCH] h8300: Regenerate h8300 architecture
closes #2453. --- c/src/lib/libbsp/h8300/acinclude.m4 | 2 -- c/src/lib/libbsp/h8300/configure.ac | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/c/src/lib/libbsp/h8300/acinclude.m4 b/c/src/lib/libbsp/h8300/acinclude.m4 index 15e13d7..296a6f7 100644 --- a/c/src/lib/libbsp/h8300/acinclude.m4 +++ b/c/src/lib/libbsp/h8300/acinclude.m4 @@ -2,8 +2,6 @@ AC_DEFUN([RTEMS_CHECK_BSPDIR], [ case "$1" in - h8sim ) -AC_CONFIG_SUBDIRS([h8sim]);; *) AC_MSG_ERROR([Invalid BSP]);; esac diff --git a/c/src/lib/libbsp/h8300/configure.ac b/c/src/lib/libbsp/h8300/configure.ac index 9271783..e885460 100644 --- a/c/src/lib/libbsp/h8300/configure.ac +++ b/c/src/lib/libbsp/h8300/configure.ac @@ -2,7 +2,7 @@ AC_PREREQ([2.69]) AC_INIT([rtems-c-src-lib-libbsp-h8300],[_RTEMS_VERSION],[https://devel.rtems.org/newticket]) -AC_CONFIG_SRCDIR([h8sim]) +AC_CONFIG_SRCDIR([Makefile.am]) RTEMS_TOP(../../../../..) RTEMS_CANONICAL_TARGET_CPU -- 2.1.4 This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
[PATCH] rtems/bit_all_bsps: Remove genmongoosev reference
closes #2448. --- rtems/bit_all_bsps | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtems/bit_all_bsps b/rtems/bit_all_bsps index 4ffdafd..a4f9d7c 100755 --- a/rtems/bit_all_bsps +++ b/rtems/bit_all_bsps @@ -142,7 +142,7 @@ get_bsps() all_bsps="${all_bsps} gen68302 csb360 simcpu32 mrm332 av5282" all_bsps="${all_bsps} gen68340 mcf5235 idp pgh360" all_bsps="${all_bsps} m5484FireEngine" ;; - mips)all_bsps="jmr3904 genmongoosev csb350 hurricane" + mips)all_bsps="jmr3904 csb350 hurricane" all_bsps="${all_bsps} rbtx4925 rbtx4938" ;; nios2) all_bsps="nios2_iss" ;; powerpc) all_bsps="psim mcp750 mvme2100 mvme2307 mvme3100" -- 2.1.4 This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
[PATCH] score: Initialize thread control to zero
This reduces the code size of the thread initialization. --- cpukit/posix/src/pthread.c | 10 ++ cpukit/rtems/include/rtems/rtems/asrimpl.h | 2 +- cpukit/rtems/src/tasks.c | 15 - cpukit/score/src/threadinitialize.c| 53 +- 4 files changed, 13 insertions(+), 67 deletions(-) diff --git a/cpukit/posix/src/pthread.c b/cpukit/posix/src/pthread.c index 5ba2691..b8721f9 100644 --- a/cpukit/posix/src/pthread.c +++ b/cpukit/posix/src/pthread.c @@ -206,10 +206,8 @@ static bool _POSIX_Threads_Create_extension( /* * POSIX 1003.1 1996, 18.2.2.2 */ - api->cancelation_requested = 0; - api->cancelability_state = PTHREAD_CANCEL_ENABLE; - api->cancelability_type = PTHREAD_CANCEL_DEFERRED; - api->last_cleanup_context = NULL; + RTEMS_STATIC_ASSERT( PTHREAD_CANCEL_ENABLE == 0, cancelability_state ); + RTEMS_STATIC_ASSERT( PTHREAD_CANCEL_DEFERRED == 0, cancelability_type ); /* * If the thread is not a posix thread, then all posix signals are blocked @@ -217,7 +215,7 @@ static bool _POSIX_Threads_Create_extension( * * The check for class == 1 is debug. Should never really happen. */ - api->signals_pending = SIGNAL_EMPTY_MASK; + RTEMS_STATIC_ASSERT( SIGNAL_EMPTY_MASK == 0, signals_pending ); if ( _Objects_Get_API( created->Object.id ) == OBJECTS_POSIX_API #if defined(RTEMS_DEBUG) && _Objects_Get_class( created->Object.id ) == 1 @@ -229,10 +227,8 @@ static bool _POSIX_Threads_Create_extension( api->signals_blocked = SIGNAL_ALL_MASK; } - _Thread_Action_initialize( &api->Signal_action ); _Thread_queue_Initialize( &api->Join_List, THREAD_QUEUE_DISCIPLINE_FIFO ); - _Watchdog_Preinitialize( &api->Sporadic_timer ); _Watchdog_Initialize( &api->Sporadic_timer, _POSIX_Threads_Sporadic_budget_TSR, diff --git a/cpukit/rtems/include/rtems/rtems/asrimpl.h b/cpukit/rtems/include/rtems/rtems/asrimpl.h index 38ee35d..bcfb69a 100644 --- a/cpukit/rtems/include/rtems/rtems/asrimpl.h +++ b/cpukit/rtems/include/rtems/rtems/asrimpl.h @@ -51,7 +51,7 @@ RTEMS_INLINE_ROUTINE void _ASR_Initialize ( RTEMS_INLINE_ROUTINE void _ASR_Create( ASR_Information *asr ) { _ISR_lock_Initialize( &asr->Lock, "ASR" ); - _ASR_Initialize( asr ); + RTEMS_STATIC_ASSERT( RTEMS_DEFAULT_MODES == 0, _ASR_Create_mode_set ); } RTEMS_INLINE_ROUTINE void _ASR_Destroy( ASR_Information *asr ) diff --git a/cpukit/rtems/src/tasks.c b/cpukit/rtems/src/tasks.c index c4eca04..f5ba1c1 100644 --- a/cpukit/rtems/src/tasks.c +++ b/cpukit/rtems/src/tasks.c @@ -55,21 +55,6 @@ static bool _RTEMS_tasks_Create_extension( api = created->API_Extensions[ THREAD_API_RTEMS ]; _ASR_Create( &api->Signal ); - _Thread_Action_initialize( &api->Signal_action ); -#if !defined(RTEMS_SMP) - created->task_variables = NULL; -#endif - - /* - * We know this is deprecated and don't want a warning on every BSP built. - */ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wdeprecated-declarations" - if ( rtems_configuration_get_notepads_enabled() ) { -for (i=0; i < RTEMS_NUMBER_NOTEPADS; i++) - api->Notepads[i] = 0; - } - #pragma GCC diagnostic pop return true; } diff --git a/cpukit/score/src/threadinitialize.c b/cpukit/score/src/threadinitialize.c index 335448d..a49406f 100644 --- a/cpukit/score/src/threadinitialize.c +++ b/cpukit/score/src/threadinitialize.c @@ -61,6 +61,12 @@ bool _Thread_Initialize( } #endif + memset( +&the_thread->current_state, +0, +information->Objects.size - offsetof( Thread_Control, current_state ) + ); + for ( i = 0 ; i < _Thread_Control_add_on_count ; ++i ) { const Thread_Control_add_on *add_on = &_Thread_Control_add_ons[ i ]; @@ -69,16 +75,6 @@ bool _Thread_Initialize( } /* - * Initialize the Ada self pointer - */ - #if __RTEMS_ADA__ -the_thread->rtems_ada_self = NULL; - #endif - - the_thread->Start.tls_area = NULL; - the_thread->Wait.spare_heads = NULL; - - /* * Allocate and Initialize the stack for this thread. */ #if !defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API) @@ -149,28 +145,12 @@ bool _Thread_Initialize( } _Thread_queue_Heads_initialize( the_thread->Wait.spare_heads ); - /* - * Initialize the thread timer - */ - _Watchdog_Preinitialize( &the_thread->Timer ); - #ifdef __RTEMS_STRICT_ORDER_MUTEX__ /* Initialize the head of chain of held mutexes */ _Chain_Initialize_empty(&the_thread->lock_mutex); #endif /* - * Clear the extensions area so extension users can determine - * if they are linked to the thread. An extension user may - * create the extension long after tasks have been created - * so they cannot rely on the thread create user extension - * call. The object index starts with one, so the first extension context is - * unused. - */ - for ( i = 1 ; i <= rtems_configuration_get_maximum_extensions() ; ++i ) -