[PATCH] Remove m32c support
Joel Sherrill
joel at rtems.org
Thu Nov 8 16:33:06 UTC 2018
Not directly related to this patch and I expect that you will find these
but there are a few odd places with m32c specific code
[joel at localhost rtems]$ grep -ri m32c cpukit/lib*
cpukit/libmisc/dummy/default-configuration.c:#if defined(__m32c__)
cpukit/librpc/src/xdr/xdr_float.c: defined(__m32c__) || \
[joel at localhost rtems]$ grep -ri m32c testsuites/
testsuites/sptests/sptask_err03/init.c: * If on the m32c, we can't even
ask for enough memory to trip this
testsuites/sptests/sptask_err03/init.c: #if defined(__m32c__)
testsuites/sptests/sptimer_err02/init.c: #if defined(__m32c__)
--joel
On Thu, Nov 8, 2018 at 9:39 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:
> Update #3599.
> ---
> config/rtems-bsps-m32c.ini | 25 -------------------
> config/rtems-bsps-tiers.ini | 3 +--
> config/rtems-bsps.ini | 3 ---
> tester/rtems/testing/bsps/m32csim-run.ini | 39
> -----------------------------
> tester/rtems/testing/bsps/m32csim.ini | 41
> -------------------------------
> 5 files changed, 1 insertion(+), 110 deletions(-)
> delete mode 100644 config/rtems-bsps-m32c.ini
> delete mode 100644 tester/rtems/testing/bsps/m32csim-run.ini
> delete mode 100644 tester/rtems/testing/bsps/m32csim.ini
>
> diff --git a/config/rtems-bsps-m32c.ini b/config/rtems-bsps-m32c.ini
> deleted file mode 100644
> index 74c7569..0000000
> --- a/config/rtems-bsps-m32c.ini
> +++ /dev/null
> @@ -1,25 +0,0 @@
> -#
> -# RTEMS Tools Project (http://www.rtems.org/)
> -# Copyright 2017 Chris Johns (chrisj at rtems.org)
> -# All rights reserved.
> -#
> -# This file is part of the RTEMS Tools package in 'rtems-bsp-builder'.
> -#
> -# Permission to use, copy, modify, and/or distribute this software for any
> -# purpose with or without fee is hereby granted, provided that the above
> -# copyright notice and this permission notice appear in all copies.
> -#
> -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
> -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
> -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
> -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
> -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
> -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
> -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
> -
> -#
> -# M32C Architecture
> -#
> -[m32c]
> -bsps = m32csim
> -exclude = smp
> diff --git a/config/rtems-bsps-tiers.ini b/config/rtems-bsps-tiers.ini
> index 14c9c06..34d7143 100644
> --- a/config/rtems-bsps-tiers.ini
> +++ b/config/rtems-bsps-tiers.ini
> @@ -36,7 +36,7 @@ bsps_powerpc = qoriq_e500
> # Tier 3: no build errors, no tests run.
> #
> [tier-3]
> -archs = arm, bfin, i386, lm32, m32c, m68k, mips, moxie,
> +archs = arm, bfin, i386, lm32, m68k, mips, moxie,
> nios2, or1k, powerpc, sh, sparc, sparc64, v850
> bsps_arm = altcycv_devkit,
> arm1136jfs, arm1136js, arm7tdmi, arm920, armcortexa9, atsamv,
> @@ -65,7 +65,6 @@ bsps_arm = altcycv_devkit,
> bsps_bfin = TLL6527M, bf537Stamp, eZKit533
> bsps_i386 = pc386, pc486, pc586-sse, pc586, pcp4
> bsps_lm32 = lm32_evr, lm32_evr_gdbsim, milkymist
> -bsps_m32c = m32csim
> bsps_m68k = av5282,
> csb360,
> gen68340, gen68360, gen68360_040,
> diff --git a/config/rtems-bsps.ini b/config/rtems-bsps.ini
> index bda2b98..bdbc7e2 100644
> --- a/config/rtems-bsps.ini
> +++ b/config/rtems-bsps.ini
> @@ -65,7 +65,6 @@ archs = arm,
> epiphany,
> i386,
> lm32,
> - m32c,
> m68k,
> mips,
> moxie,
> @@ -81,7 +80,6 @@ bsps_bfin = ${bfin:bsps}
> bsps_epiphany = ${epiphany:bsps}
> bsps_i386 = ${i386:bsps}
> bsps_lm32 = ${lm32:bsps}
> -bsps_m32c = ${m32c:bsps}
> bsps_m68k = ${m68k:bsps}
> bsps_mips = ${mips:bsps}
> bsps_moxie = ${moxie:bsps}
> @@ -102,7 +100,6 @@ include = rtems-bsps-arm.ini,
> rtems-bsps-epiphany.ini,
> rtems-bsps-i386.ini,
> rtems-bsps-lm32.ini,
> - rtems-bsps-m32c.ini,
> rtems-bsps-m68k.ini,
> rtems-bsps-mips.ini,
> rtems-bsps-moxie.ini,
> diff --git a/tester/rtems/testing/bsps/m32csim-run.ini
> b/tester/rtems/testing/bsps/m32csim-run.ini
> deleted file mode 100644
> index e9189d0..0000000
> --- a/tester/rtems/testing/bsps/m32csim-run.ini
> +++ /dev/null
> @@ -1,39 +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.
> -#
> -
> -#
> -# The m32csim BSP
> -#
> -[m32csim-run]
> -bsp = m32csim
> -arch = m32c
> -tester = %{_rtscripts}/run.cfg
> -bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run
> -bsp_run_opts = -a -nouartrx
> diff --git a/tester/rtems/testing/bsps/m32csim.ini
> b/tester/rtems/testing/bsps/m32csim.ini
> deleted file mode 100644
> index e091086..0000000
> --- a/tester/rtems/testing/bsps/m32csim.ini
> +++ /dev/null
> @@ -1,41 +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.
> -#
> -
> -#
> -# The m32csim BSP
> -#
> -[m32csim]
> -bsp = m32csim
> -arch = m32c
> -tester = %{_rtscripts}/gdb.cfg
> -gdb_script = bsp_gdb_script
> -bsp_gdb_script = target sim
> - load
> - run
> --
> 2.16.4
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20181108/1a1b84f5/attachment-0002.html>
More information about the devel
mailing list