From 81130bc69275f898fdc952ebdf5b46ac3b1fe654 Mon Sep 17 00:00:00 2001 From: "chao.an" Date: Thu, 3 Mar 2022 16:23:35 +0800 Subject: [PATCH] arch/arm: remove unused arm_copyfullstate/arm_copyarmstate Signed-off-by: chao.an --- arch/arm/src/a1x/Make.defs | 3 +- arch/arm/src/am335x/Make.defs | 3 +- arch/arm/src/arm/arm_copyfullstate.c | 66 ----------------- arch/arm/src/armv6-m/arm_copyfullstate.c | 70 ------------------ arch/arm/src/armv7-a/arm_copyarmstate.c | 76 -------------------- arch/arm/src/armv7-a/arm_copyfullstate.c | 58 --------------- arch/arm/src/armv7-m/arm_copyarmstate.c | 90 ------------------------ arch/arm/src/armv7-m/arm_copyfullstate.c | 62 ---------------- arch/arm/src/armv7-r/arm_copyarmstate.c | 76 -------------------- arch/arm/src/armv7-r/arm_copyfullstate.c | 58 --------------- arch/arm/src/armv8-m/arm_copyarmstate.c | 90 ------------------------ arch/arm/src/armv8-m/arm_copyfullstate.c | 62 ---------------- arch/arm/src/c5471/Make.defs | 2 +- arch/arm/src/common/arm_internal.h | 4 -- arch/arm/src/cxd56xx/Make.defs | 3 +- arch/arm/src/dm320/Make.defs | 2 +- arch/arm/src/efm32/Make.defs | 3 +- arch/arm/src/eoss3/Make.defs | 2 +- arch/arm/src/imx1/Make.defs | 2 +- arch/arm/src/imx6/Make.defs | 3 +- arch/arm/src/imxrt/Make.defs | 3 +- arch/arm/src/kinetis/Make.defs | 3 +- arch/arm/src/kl/Make.defs | 2 +- arch/arm/src/lc823450/Make.defs | 2 +- arch/arm/src/lpc17xx_40xx/Make.defs | 3 +- arch/arm/src/lpc214x/Make.defs | 2 +- arch/arm/src/lpc2378/Make.defs | 2 +- arch/arm/src/lpc31xx/Make.defs | 2 +- arch/arm/src/lpc43xx/Make.defs | 3 +- arch/arm/src/lpc54xx/Make.defs | 3 +- arch/arm/src/max326xx/Make.defs | 3 +- arch/arm/src/moxart/Make.defs | 2 +- arch/arm/src/nrf52/Make.defs | 3 +- arch/arm/src/nuc1xx/Make.defs | 2 +- arch/arm/src/phy62xx/Make.defs | 2 +- arch/arm/src/rp2040/Make.defs | 2 +- arch/arm/src/rtl8720c/Make.defs | 4 +- arch/arm/src/s32k1xx/s32k11x/Make.defs | 2 +- arch/arm/src/s32k1xx/s32k14x/Make.defs | 3 +- arch/arm/src/sam34/Make.defs | 3 +- arch/arm/src/sama5/Make.defs | 3 +- arch/arm/src/samd2l2/Make.defs | 2 +- arch/arm/src/samd5e5/Make.defs | 3 +- arch/arm/src/samv7/Make.defs | 3 +- arch/arm/src/stm32/Make.defs | 3 +- arch/arm/src/stm32f0l0g0/Make.defs | 2 +- arch/arm/src/stm32f7/Make.defs | 3 +- arch/arm/src/stm32h7/Make.defs | 3 +- arch/arm/src/stm32l4/Make.defs | 3 +- arch/arm/src/stm32l5/Make.defs | 3 +- arch/arm/src/stm32u5/Make.defs | 3 +- arch/arm/src/str71x/Make.defs | 2 +- arch/arm/src/tiva/Make.defs | 3 +- arch/arm/src/tms570/Make.defs | 3 +- arch/arm/src/xmc4/Make.defs | 3 +- 55 files changed, 45 insertions(+), 783 deletions(-) delete mode 100644 arch/arm/src/arm/arm_copyfullstate.c delete mode 100644 arch/arm/src/armv6-m/arm_copyfullstate.c delete mode 100644 arch/arm/src/armv7-a/arm_copyarmstate.c delete mode 100644 arch/arm/src/armv7-a/arm_copyfullstate.c delete mode 100644 arch/arm/src/armv7-m/arm_copyarmstate.c delete mode 100644 arch/arm/src/armv7-m/arm_copyfullstate.c delete mode 100644 arch/arm/src/armv7-r/arm_copyarmstate.c delete mode 100644 arch/arm/src/armv7-r/arm_copyfullstate.c delete mode 100644 arch/arm/src/armv8-m/arm_copyarmstate.c delete mode 100644 arch/arm/src/armv8-m/arm_copyfullstate.c diff --git a/arch/arm/src/a1x/Make.defs b/arch/arm/src/a1x/Make.defs index 82af1ff7d0..220bee2489 100644 --- a/arch/arm/src/a1x/Make.defs +++ b/arch/arm/src/a1x/Make.defs @@ -55,7 +55,7 @@ CMN_CSRCS += arm_releasestack.c arm_usestack.c arm_vfork.c arm_puts.c arm_mdelay CMN_CSRCS += arm_stackframe.c arm_udelay.c arm_modifyreg8.c arm_modifyreg16.c CMN_CSRCS += arm_modifyreg32.c -CMN_CSRCS += arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_dataabort.c +CMN_CSRCS += arm_assert.c arm_blocktask.c arm_dataabort.c CMN_CSRCS += arm_doirq.c arm_initialstate.c arm_mmu.c arm_prefetchabort.c CMN_CSRCS += arm_releasepending.c arm_reprioritizertr.c CMN_CSRCS += arm_schedulesigaction.c arm_sigdeliver.c arm_syscall.c @@ -105,7 +105,6 @@ CMN_CSRCS += arm_cache.c ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_savefpu.S arm_restorefpu.S -CMN_CSRCS += arm_copyarmstate.c endif ifeq ($(CONFIG_STACK_COLORATION),y) diff --git a/arch/arm/src/am335x/Make.defs b/arch/arm/src/am335x/Make.defs index 442385459a..81f6c36281 100644 --- a/arch/arm/src/am335x/Make.defs +++ b/arch/arm/src/am335x/Make.defs @@ -55,7 +55,7 @@ CMN_CSRCS += arm_createstack.c arm_releasestack.c arm_usestack.c arm_vfork.c CMN_CSRCS += arm_puts.c arm_mdelay.c arm_stackframe.c arm_udelay.c CMN_CSRCS += arm_modifyreg8.c arm_modifyreg16.c arm_modifyreg32.c -CMN_CSRCS += arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_dataabort.c +CMN_CSRCS += arm_assert.c arm_blocktask.c arm_dataabort.c CMN_CSRCS += arm_doirq.c arm_initialstate.c arm_mmu.c arm_prefetchabort.c CMN_CSRCS += arm_releasepending.c arm_reprioritizertr.c CMN_CSRCS += arm_schedulesigaction.c arm_sigdeliver.c arm_syscall.c @@ -101,7 +101,6 @@ CMN_CSRCS += arm_cache.c ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_savefpu.S arm_restorefpu.S -CMN_CSRCS += arm_copyarmstate.c endif ifeq ($(CONFIG_STACK_COLORATION),y) diff --git a/arch/arm/src/arm/arm_copyfullstate.c b/arch/arm/src/arm/arm_copyfullstate.c deleted file mode 100644 index fd05df012f..0000000000 --- a/arch/arm/src/arm/arm_copyfullstate.c +++ /dev/null @@ -1,66 +0,0 @@ -/**************************************************************************** - * arch/arm/src/arm/arm_copyfullstate.c - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. The - * ASF licenses this file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance with the - * License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - * - ****************************************************************************/ - -/**************************************************************************** - * Included Files - ****************************************************************************/ - -#include - -#include -#include - -#include "arm_internal.h" - -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - -/**************************************************************************** - * Public Functions - ****************************************************************************/ - -/**************************************************************************** - * Name: arm_copyfullstate - ****************************************************************************/ - -/* A little faster than most memcpy's */ - -void arm_copyfullstate(uint32_t *dest, uint32_t *src) -{ - int i; - - /* In the current ARM model, the state is always copied to and from the - * stack and TCB. - */ - - for (i = 0; i < XCPTCONTEXT_REGS; i++) - { - *dest++ = *src++; - } -} diff --git a/arch/arm/src/armv6-m/arm_copyfullstate.c b/arch/arm/src/armv6-m/arm_copyfullstate.c deleted file mode 100644 index f4788ac6e5..0000000000 --- a/arch/arm/src/armv6-m/arm_copyfullstate.c +++ /dev/null @@ -1,70 +0,0 @@ -/**************************************************************************** - * arch/arm/src/armv6-m/arm_copyfullstate.c - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. The - * ASF licenses this file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance with the - * License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - * - ****************************************************************************/ - -/**************************************************************************** - * Included Files - ****************************************************************************/ - -#include - -#include -#include - -#include "arm_internal.h" - -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - -/**************************************************************************** - * Public Functions - ****************************************************************************/ - -/**************************************************************************** - * Name: arm_copyfullstate - ****************************************************************************/ - -/* A little faster than most memcpy's */ - -void arm_copyfullstate(uint32_t *dest, uint32_t *src) -{ - int i; - - /* In the Cortex-M0 model, the state is copied from the stack to the TCB, - * but only a reference is passed to get the state from the TCB. So the - * following check avoids copying the TCB save area onto itself: - */ - - if (src != dest) - { - for (i = 0; i < XCPTCONTEXT_REGS; i++) - { - *dest++ = *src++; - } - } -} diff --git a/arch/arm/src/armv7-a/arm_copyarmstate.c b/arch/arm/src/armv7-a/arm_copyarmstate.c deleted file mode 100644 index 2f1adedaec..0000000000 --- a/arch/arm/src/armv7-a/arm_copyarmstate.c +++ /dev/null @@ -1,76 +0,0 @@ -/**************************************************************************** - * arch/arm/src/armv7-a/arm_copyarmstate.c - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. The - * ASF licenses this file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance with the - * License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - * - ****************************************************************************/ - -/**************************************************************************** - * Included Files - ****************************************************************************/ - -#include - -#include - -#include - -#include "arm_internal.h" - -#ifdef CONFIG_ARCH_FPU - -/**************************************************************************** - * Public Functions - ****************************************************************************/ - -/**************************************************************************** - * Name: arm_copyarmstate - * - * Description: - * Copy the ARM portion of the register save area (omitting the floating - * point registers) and save the floating pointer register directly. - * - ****************************************************************************/ - -void arm_copyarmstate(uint32_t *dest, uint32_t *src) -{ - int i; - - /* In the Cortex-A model, the state is copied from the stack to the TCB, - * but only a reference is passed to get the state from the TCB. So the - * following check avoids copying the TCB save area onto itself: - */ - - if (src != dest) - { - /* Save the floating point registers: This will initialize the floating - * registers at indices ARM_CONTEXT_REGS through (XCPTCONTEXT_REGS-1) - */ - - arm_savefpu(dest); - - /* Then copy all of the ARM registers (omitting the floating point - * registers). Indices: 0 through (ARM_CONTEXT_REGS-1). - */ - - for (i = 0; i < ARM_CONTEXT_REGS; i++) - { - *dest++ = *src++; - } - } -} - -#endif /* CONFIG_ARCH_FPU */ diff --git a/arch/arm/src/armv7-a/arm_copyfullstate.c b/arch/arm/src/armv7-a/arm_copyfullstate.c deleted file mode 100644 index e0ef69e4ec..0000000000 --- a/arch/arm/src/armv7-a/arm_copyfullstate.c +++ /dev/null @@ -1,58 +0,0 @@ -/**************************************************************************** - * arch/arm/src/armv7-a/arm_copyfullstate.c - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. The - * ASF licenses this file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance with the - * License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - * - ****************************************************************************/ - -/**************************************************************************** - * Included Files - ****************************************************************************/ - -#include - -#include -#include - -#include "arm_internal.h" - -/**************************************************************************** - * Public Functions - ****************************************************************************/ - -/**************************************************************************** - * Name: arm_copyfullstate - * - * Description: - * Copy the entire register save area (including the floating point - * registers if applicable). This is a little faster than most memcpy's - * since it does 32-bit transfers. - * - ****************************************************************************/ - -void arm_copyfullstate(uint32_t *dest, uint32_t *src) -{ - int i; - - /* In the current ARM model, the state is always copied to and from the - * stack and TCB. - */ - - for (i = 0; i < XCPTCONTEXT_REGS; i++) - { - *dest++ = *src++; - } -} diff --git a/arch/arm/src/armv7-m/arm_copyarmstate.c b/arch/arm/src/armv7-m/arm_copyarmstate.c deleted file mode 100644 index bbdfb59345..0000000000 --- a/arch/arm/src/armv7-m/arm_copyarmstate.c +++ /dev/null @@ -1,90 +0,0 @@ -/**************************************************************************** - * arch/arm/src/armv7-m/arm_copyarmstate.c - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. The - * ASF licenses this file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance with the - * License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - * - ****************************************************************************/ - -/**************************************************************************** - * Included Files - ****************************************************************************/ - -#include - -#include - -#include - -#include "arm_internal.h" - -#if defined(CONFIG_ARCH_FPU) && defined(CONFIG_ARMV7M_LAZYFPU) - -/**************************************************************************** - * Public Functions - ****************************************************************************/ - -/**************************************************************************** - * Name: arm_copyarmstate - * - * Description: - * Copy the ARM portion of the register save area (omitting the floating - * point registers) and save the floating pointer register directly. - * - ****************************************************************************/ - -void arm_copyarmstate(uint32_t *dest, uint32_t *src) -{ - int i; - - /* In the Cortex-M3 model, the state is copied from the stack to the TCB, - * but only a reference is passed to get the state from the TCB. So the - * following check avoids copying the TCB save area onto itself: - */ - - if (src != dest) - { - /* Save the floating point registers: This will initialize the floating - * registers at indices SW_INT_REGS through (SW_INT_REGS+SW_FPU_REGS-1) - */ - - arm_savefpu(dest); - - /* Save the block of ARM registers that were saved by the interrupt - * handling logic. Indices: 0 through (SW_INT_REGS-1). - */ - - for (i = 0; i < SW_INT_REGS; i++) - { - *dest++ = *src++; - } - - /* Skip over the floating point registers and save the block of ARM - * registers that were saved by the hardware when the interrupt was - * taken. Indices: (SW_INT_REGS+SW_FPU_REGS) through - * (XCPTCONTEXT_REGS-1) - */ - - src += SW_FPU_REGS; - dest += SW_FPU_REGS; - - for (i = 0; i < HW_XCPT_REGS; i++) - { - *dest++ = *src++; - } - } -} - -#endif /* CONFIG_ARCH_FPU && CONFIG_ARMV7M_LAZYFPU */ diff --git a/arch/arm/src/armv7-m/arm_copyfullstate.c b/arch/arm/src/armv7-m/arm_copyfullstate.c deleted file mode 100644 index c37c2ab327..0000000000 --- a/arch/arm/src/armv7-m/arm_copyfullstate.c +++ /dev/null @@ -1,62 +0,0 @@ -/**************************************************************************** - * arch/arm/src/armv7-m/arm_copyfullstate.c - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. The - * ASF licenses this file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance with the - * License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - * - ****************************************************************************/ - -/**************************************************************************** - * Included Files - ****************************************************************************/ - -#include - -#include -#include - -#include "arm_internal.h" - -/**************************************************************************** - * Public Functions - ****************************************************************************/ - -/**************************************************************************** - * Name: arm_copyfullstate - * - * Description: - * Copy the entire register save area (including the floating point - * registers if applicable). This is a little faster than most memcpy's - * since it does 32-bit transfers. - * - ****************************************************************************/ - -void arm_copyfullstate(uint32_t *dest, uint32_t *src) -{ - int i; - - /* In the Cortex-M3 model, the state is copied from the stack to the TCB, - * but only a reference is passed to get the state from the TCB. So the - * following check avoids copying the TCB save area onto itself: - */ - - if (src != dest) - { - for (i = 0; i < XCPTCONTEXT_REGS; i++) - { - *dest++ = *src++; - } - } -} diff --git a/arch/arm/src/armv7-r/arm_copyarmstate.c b/arch/arm/src/armv7-r/arm_copyarmstate.c deleted file mode 100644 index c0d791169a..0000000000 --- a/arch/arm/src/armv7-r/arm_copyarmstate.c +++ /dev/null @@ -1,76 +0,0 @@ -/**************************************************************************** - * arch/arm/src/armv7-r/arm_copyarmstate.c - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. The - * ASF licenses this file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance with the - * License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - * - ****************************************************************************/ - -/**************************************************************************** - * Included Files - ****************************************************************************/ - -#include - -#include - -#include - -#include "arm_internal.h" - -#ifdef CONFIG_ARCH_FPU - -/**************************************************************************** - * Public Functions - ****************************************************************************/ - -/**************************************************************************** - * Name: arm_copyarmstate - * - * Description: - * Copy the ARM portion of the register save area (omitting the floating - * point registers) and save the floating pointer register directly. - * - ****************************************************************************/ - -void arm_copyarmstate(uint32_t *dest, uint32_t *src) -{ - int i; - - /* In the Cortex-R model, the state is copied from the stack to the TCB, - * but only a reference is passed to get the state from the TCB. So the - * following check avoids copying the TCB save area onto itself: - */ - - if (src != dest) - { - /* Save the floating point registers: This will initialize the floating - * registers at indices ARM_CONTEXT_REGS through (XCPTCONTEXT_REGS-1) - */ - - arm_savefpu(dest); - - /* Then copy all of the ARM registers (omitting the floating point - * registers). Indices: 0 through (ARM_CONTEXT_REGS-1). - */ - - for (i = 0; i < ARM_CONTEXT_REGS; i++) - { - *dest++ = *src++; - } - } -} - -#endif /* CONFIG_ARCH_FPU */ diff --git a/arch/arm/src/armv7-r/arm_copyfullstate.c b/arch/arm/src/armv7-r/arm_copyfullstate.c deleted file mode 100644 index 805c02c15f..0000000000 --- a/arch/arm/src/armv7-r/arm_copyfullstate.c +++ /dev/null @@ -1,58 +0,0 @@ -/**************************************************************************** - * arch/arm/src/armv7-r/arm_copyfullstate.c - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. The - * ASF licenses this file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance with the - * License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - * - ****************************************************************************/ - -/**************************************************************************** - * Included Files - ****************************************************************************/ - -#include - -#include -#include - -#include "arm_internal.h" - -/**************************************************************************** - * Public Functions - ****************************************************************************/ - -/**************************************************************************** - * Name: arm_copyfullstate - * - * Description: - * Copy the entire register save area (including the floating point - * registers if applicable). This is a little faster than most memcpy's - * since it does 32-bit transfers. - * - ****************************************************************************/ - -void arm_copyfullstate(uint32_t *dest, uint32_t *src) -{ - int i; - - /* In the current ARM model, the state is always copied to and from the - * stack and TCB. - */ - - for (i = 0; i < XCPTCONTEXT_REGS; i++) - { - *dest++ = *src++; - } -} diff --git a/arch/arm/src/armv8-m/arm_copyarmstate.c b/arch/arm/src/armv8-m/arm_copyarmstate.c deleted file mode 100644 index f22c8840ce..0000000000 --- a/arch/arm/src/armv8-m/arm_copyarmstate.c +++ /dev/null @@ -1,90 +0,0 @@ -/**************************************************************************** - * arch/arm/src/armv8-m/arm_copyarmstate.c - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. The - * ASF licenses this file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance with the - * License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - * - ****************************************************************************/ - -/**************************************************************************** - * Included Files - ****************************************************************************/ - -#include - -#include - -#include - -#include "arm_internal.h" - -#if defined(CONFIG_ARCH_FPU) && defined(CONFIG_ARMV8M_LAZYFPU) - -/**************************************************************************** - * Public Functions - ****************************************************************************/ - -/**************************************************************************** - * Name: arm_copyarmstate - * - * Description: - * Copy the ARM portion of the register save area (omitting the floating - * point registers) and save the floating pointer register directly. - * - ****************************************************************************/ - -void arm_copyarmstate(uint32_t *dest, uint32_t *src) -{ - int i; - - /* In the Cortex-M3 model, the state is copied from the stack to the TCB, - * but only a reference is passed to get the state from the TCB. So the - * following check avoids copying the TCB save area onto itself: - */ - - if (src != dest) - { - /* Save the floating point registers: This will initialize the floating - * registers at indices SW_INT_REGS through (SW_INT_REGS+SW_FPU_REGS-1) - */ - - arm_savefpu(dest); - - /* Save the block of ARM registers that were saved by the interrupt - * handling logic. Indices: 0 through (SW_INT_REGS-1). - */ - - for (i = 0; i < SW_INT_REGS; i++) - { - *dest++ = *src++; - } - - /* Skip over the floating point registers and save the block of ARM - * registers that were saved by the hardware when the interrupt was - * taken. Indices: (SW_INT_REGS+SW_FPU_REGS) through - * (XCPTCONTEXT_REGS-1) - */ - - src += SW_FPU_REGS; - dest += SW_FPU_REGS; - - for (i = 0; i < HW_XCPT_REGS; i++) - { - *dest++ = *src++; - } - } -} - -#endif /* CONFIG_ARCH_FPU && CONFIG_ARMV8M_LAZYFPU */ diff --git a/arch/arm/src/armv8-m/arm_copyfullstate.c b/arch/arm/src/armv8-m/arm_copyfullstate.c deleted file mode 100644 index 79fd3688df..0000000000 --- a/arch/arm/src/armv8-m/arm_copyfullstate.c +++ /dev/null @@ -1,62 +0,0 @@ -/**************************************************************************** - * arch/arm/src/armv8-m/arm_copyfullstate.c - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. The - * ASF licenses this file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance with the - * License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - * - ****************************************************************************/ - -/**************************************************************************** - * Included Files - ****************************************************************************/ - -#include - -#include -#include - -#include "arm_internal.h" - -/**************************************************************************** - * Public Functions - ****************************************************************************/ - -/**************************************************************************** - * Name: arm_copyfullstate - * - * Description: - * Copy the entire register save area (including the floating point - * registers if applicable). This is a little faster than most memcpy's - * since it does 32-bit transfers. - * - ****************************************************************************/ - -void arm_copyfullstate(uint32_t *dest, uint32_t *src) -{ - int i; - - /* In the Cortex-M3 model, the state is copied from the stack to the TCB, - * but only a reference is passed to get the state from the TCB. So the - * following check avoids copying the TCB save area onto itself: - */ - - if (src != dest) - { - for (i = 0; i < XCPTCONTEXT_REGS; i++) - { - *dest++ = *src++; - } - } -} diff --git a/arch/arm/src/c5471/Make.defs b/arch/arm/src/c5471/Make.defs index 5042ab92e6..affa2f5936 100644 --- a/arch/arm/src/c5471/Make.defs +++ b/arch/arm/src/c5471/Make.defs @@ -22,7 +22,7 @@ HEAD_ASRC = arm_nommuhead.S CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S vfork.S -CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c arm_copyfullstate.c +CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c CMN_CSRCS += arm_createstack.c arm_dataabort.c arm_mdelay.c arm_udelay.c arm_doirq.c CMN_CSRCS += arm_exit.c arm_initialize.c arm_initialstate.c arm_interruptcontext.c CMN_CSRCS += arm_prefetchabort.c arm_releasepending.c arm_releasestack.c diff --git a/arch/arm/src/common/arm_internal.h b/arch/arm/src/common/arm_internal.h index 7e28918caa..b78707f32a 100644 --- a/arch/arm/src/common/arm_internal.h +++ b/arch/arm/src/common/arm_internal.h @@ -327,10 +327,6 @@ void arm_boot(void); /* Context switching */ -void arm_copyfullstate(uint32_t *dest, uint32_t *src); -#ifdef CONFIG_ARCH_FPU -void arm_copyarmstate(uint32_t *dest, uint32_t *src); -#endif uint32_t *arm_decodeirq(uint32_t *regs); int arm_saveusercontext(uint32_t *saveregs); void arm_fullcontextrestore(uint32_t *restoreregs) noreturn_function; diff --git a/arch/arm/src/cxd56xx/Make.defs b/arch/arm/src/cxd56xx/Make.defs index 79b49b39a1..2a02b16475 100644 --- a/arch/arm/src/cxd56xx/Make.defs +++ b/arch/arm/src/cxd56xx/Make.defs @@ -25,7 +25,7 @@ ifneq ($(CONFIG_CXD56_TESTSET),y) CMN_ASRCS += arm_testset.S endif -CMN_CSRCS = arm_assert.c arm_blocktask.c arm_copyfullstate.c +CMN_CSRCS = arm_assert.c arm_blocktask.c CMN_CSRCS += arm_createstack.c arm_exit.c CMN_CSRCS += arm_initialize.c arm_initialstate.c arm_interruptcontext.c CMN_CSRCS += arm_memfault.c arm_modifyreg8.c arm_modifyreg16.c arm_modifyreg32.c @@ -62,7 +62,6 @@ endif ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_fpu.S -CMN_CSRCS += arm_copyarmstate.c endif ifeq ($(CONFIG_ARMV7M_ITMSYSLOG),y) diff --git a/arch/arm/src/dm320/Make.defs b/arch/arm/src/dm320/Make.defs index cd12b2db34..186980c2c0 100644 --- a/arch/arm/src/dm320/Make.defs +++ b/arch/arm/src/dm320/Make.defs @@ -23,7 +23,7 @@ HEAD_ASRC = arm_head.S CMN_ASRCS = arm_cache.S arm_fullcontextrestore.S arm_saveusercontext.S CMN_ASRCS += arm_vectors.S arm_vectoraddrexcptn.S arm_vectortab.S vfork.S -CMN_CSRCS = arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_createstack.c +CMN_CSRCS = arm_assert.c arm_blocktask.c arm_createstack.c CMN_CSRCS += arm_dataabort.c arm_mdelay.c arm_udelay.c arm_exit.c CMN_CSRCS += arm_initialize.c arm_initialstate.c arm_interruptcontext.c CMN_CSRCS += arm_prefetchabort.c arm_releasepending.c arm_releasestack.c diff --git a/arch/arm/src/efm32/Make.defs b/arch/arm/src/efm32/Make.defs index 7e66591035..9e5d6828e4 100644 --- a/arch/arm/src/efm32/Make.defs +++ b/arch/arm/src/efm32/Make.defs @@ -21,7 +21,7 @@ CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += arm_testset.S arm_fetchadd.S vfork.S -CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c arm_copyfullstate.c +CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c CMN_CSRCS += arm_createstack.c arm_doirq.c arm_exit.c arm_hardfault.c CMN_CSRCS += arm_initialize.c arm_initialstate.c arm_interruptcontext.c CMN_CSRCS += arm_itm.c arm_mdelay.c arm_memfault.c arm_modifyreg8.c @@ -54,7 +54,6 @@ endif ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_fpu.S -CMN_CSRCS += arm_copyarmstate.c endif ifeq ($(CONFIG_ARMV7M_ITMSYSLOG),y) diff --git a/arch/arm/src/eoss3/Make.defs b/arch/arm/src/eoss3/Make.defs index 14c4e3c2c3..70abc1f006 100644 --- a/arch/arm/src/eoss3/Make.defs +++ b/arch/arm/src/eoss3/Make.defs @@ -21,7 +21,7 @@ CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += arm_testset.S arm_fetchadd.S vfork.S -CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c arm_copyfullstate.c +CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c CMN_CSRCS += arm_createstack.c arm_doirq.c arm_exit.c arm_hardfault.c CMN_CSRCS += arm_initialize.c arm_initialstate.c arm_interruptcontext.c CMN_CSRCS += arm_itm.c arm_mdelay.c arm_memfault.c arm_modifyreg8.c diff --git a/arch/arm/src/imx1/Make.defs b/arch/arm/src/imx1/Make.defs index b029236a28..965a4a075d 100644 --- a/arch/arm/src/imx1/Make.defs +++ b/arch/arm/src/imx1/Make.defs @@ -22,7 +22,7 @@ HEAD_ASRC = arm_head.S CMN_ASRCS = arm_cache.S arm_fullcontextrestore.S arm_saveusercontext.S CMN_ASRCS += arm_vectors.S arm_vectoraddrexcptn.S arm_vectortab.S vfork.S -CMN_CSRCS = arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_createstack.c +CMN_CSRCS = arm_assert.c arm_blocktask.c arm_createstack.c CMN_CSRCS += arm_dataabort.c arm_mdelay.c arm_udelay.c arm_exit.c CMN_CSRCS += arm_initialize.c arm_initialstate.c arm_interruptcontext.c CMN_CSRCS += arm_prefetchabort.c arm_releasepending.c arm_releasestack.c diff --git a/arch/arm/src/imx6/Make.defs b/arch/arm/src/imx6/Make.defs index 60c0e40106..deccf72e33 100644 --- a/arch/arm/src/imx6/Make.defs +++ b/arch/arm/src/imx6/Make.defs @@ -58,7 +58,7 @@ CMN_CSRCS += arm_releasestack.c arm_usestack.c arm_vfork.c arm_puts.c arm_mdelay CMN_CSRCS += arm_stackframe.c arm_udelay.c arm_modifyreg8.c arm_modifyreg16.c CMN_CSRCS += arm_modifyreg32.c -CMN_CSRCS += arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_dataabort.c +CMN_CSRCS += arm_assert.c arm_blocktask.c arm_dataabort.c CMN_CSRCS += arm_doirq.c arm_gicv2.c arm_initialstate.c arm_mmu.c CMN_CSRCS += arm_prefetchabort.c arm_releasepending.c arm_reprioritizertr.c CMN_CSRCS += arm_schedulesigaction.c arm_sigdeliver.c arm_syscall.c @@ -125,7 +125,6 @@ endif ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_savefpu.S arm_restorefpu.S -CMN_CSRCS += arm_copyarmstate.c endif ifeq ($(CONFIG_STACK_COLORATION),y) diff --git a/arch/arm/src/imxrt/Make.defs b/arch/arm/src/imxrt/Make.defs index 134e1fbc91..dffb42187a 100644 --- a/arch/arm/src/imxrt/Make.defs +++ b/arch/arm/src/imxrt/Make.defs @@ -23,7 +23,7 @@ CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += arm_testset.S arm_fetchadd.S vfork.S -CMN_CSRCS = arm_assert.c arm_blocktask.c arm_copyfullstate.c +CMN_CSRCS = arm_assert.c arm_blocktask.c CMN_CSRCS += arm_createstack.c arm_mdelay.c arm_udelay.c arm_exit.c CMN_CSRCS += arm_initialize.c arm_initialstate.c arm_interruptcontext.c CMN_CSRCS += arm_memfault.c arm_modifyreg8.c arm_modifyreg16.c arm_modifyreg32.c @@ -68,7 +68,6 @@ CMN_CSRCS += arm_cache.c ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_fpu.S -CMN_CSRCS += arm_copyarmstate.c endif # Required i.MX RT files diff --git a/arch/arm/src/kinetis/Make.defs b/arch/arm/src/kinetis/Make.defs index 96896b2354..659a0220b9 100644 --- a/arch/arm/src/kinetis/Make.defs +++ b/arch/arm/src/kinetis/Make.defs @@ -21,7 +21,7 @@ CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += arm_testset.S arm_fetchadd.S vfork.S -CMN_CSRCS = arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_createstack.c +CMN_CSRCS = arm_assert.c arm_blocktask.c arm_createstack.c CMN_CSRCS += arm_mdelay.c arm_udelay.c arm_exit.c arm_initialize.c arm_memfault.c CMN_CSRCS += arm_initialstate.c arm_interruptcontext.c arm_modifyreg8.c CMN_CSRCS += arm_modifyreg16.c arm_modifyreg32.c arm_releasestack.c @@ -72,7 +72,6 @@ endif ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_fpu.S -CMN_CSRCS += arm_copyarmstate.c endif ifeq ($(CONFIG_ARMV7M_ITMSYSLOG),y) diff --git a/arch/arm/src/kl/Make.defs b/arch/arm/src/kl/Make.defs index a0c3d9fd70..4d009bbea4 100644 --- a/arch/arm/src/kl/Make.defs +++ b/arch/arm/src/kl/Make.defs @@ -21,7 +21,7 @@ CMN_ASRCS = arm_exception.S arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += vfork.S -CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c arm_copyfullstate.c +CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c CMN_CSRCS += arm_createstack.c arm_mdelay.c arm_udelay.c arm_exit.c CMN_CSRCS += arm_initialize.c arm_initialstate.c arm_interruptcontext.c CMN_CSRCS += arm_puts.c arm_modifyreg8.c arm_modifyreg16.c arm_modifyreg32.c diff --git a/arch/arm/src/lc823450/Make.defs b/arch/arm/src/lc823450/Make.defs index 77d7688a90..de798bf0d6 100644 --- a/arch/arm/src/lc823450/Make.defs +++ b/arch/arm/src/lc823450/Make.defs @@ -21,7 +21,7 @@ CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += vfork.S -CMN_CSRCS = arm_assert.c arm_blocktask.c arm_copyfullstate.c +CMN_CSRCS = arm_assert.c arm_blocktask.c CMN_CSRCS += arm_createstack.c arm_mdelay.c arm_udelay.c arm_exit.c CMN_CSRCS += arm_initialize.c arm_initialstate.c arm_interruptcontext.c CMN_CSRCS += arm_memfault.c arm_modifyreg8.c arm_modifyreg16.c arm_modifyreg32.c diff --git a/arch/arm/src/lpc17xx_40xx/Make.defs b/arch/arm/src/lpc17xx_40xx/Make.defs index c55379cdd0..2b6aabd4ec 100644 --- a/arch/arm/src/lpc17xx_40xx/Make.defs +++ b/arch/arm/src/lpc17xx_40xx/Make.defs @@ -23,7 +23,7 @@ CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += arm_testset.S arm_fetchadd.S vfork.S -CMN_CSRCS = arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_createstack.c +CMN_CSRCS = arm_assert.c arm_blocktask.c arm_createstack.c CMN_CSRCS += arm_mdelay.c arm_udelay.c arm_exit.c arm_initialize.c arm_memfault.c CMN_CSRCS += arm_initialstate.c arm_interruptcontext.c arm_modifyreg8.c CMN_CSRCS += arm_modifyreg16.c arm_modifyreg32.c arm_releasepending.c @@ -70,7 +70,6 @@ endif ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_fpu.S -CMN_CSRCS += arm_copyarmstate.c endif # Required LPC17xx files diff --git a/arch/arm/src/lpc214x/Make.defs b/arch/arm/src/lpc214x/Make.defs index 2b58faad66..3769326f9a 100644 --- a/arch/arm/src/lpc214x/Make.defs +++ b/arch/arm/src/lpc214x/Make.defs @@ -23,7 +23,7 @@ HEAD_ASRC = lpc214x_head.S CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S arm_vectors.S CMN_ASRCS += vfork.S -CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c arm_copyfullstate.c +CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c CMN_CSRCS += arm_createstack.c arm_dataabort.c arm_mdelay.c arm_udelay.c CMN_CSRCS += arm_exit.c arm_initialize.c arm_initialstate.c CMN_CSRCS += arm_interruptcontext.c arm_prefetchabort.c arm_releasepending.c diff --git a/arch/arm/src/lpc2378/Make.defs b/arch/arm/src/lpc2378/Make.defs index 89ec926981..24ae5dd5e3 100644 --- a/arch/arm/src/lpc2378/Make.defs +++ b/arch/arm/src/lpc2378/Make.defs @@ -22,7 +22,7 @@ HEAD_ASRC = lpc23xx_head.S CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S arm_vectors.S CMN_ASRCS += vfork.S -CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c arm_copyfullstate.c +CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c CMN_CSRCS += arm_createstack.c arm_dataabort.c arm_mdelay.c arm_udelay.c CMN_CSRCS += arm_exit.c arm_initialize.c arm_initialstate.c CMN_CSRCS += arm_interruptcontext.c arm_prefetchabort.c arm_releasepending.c diff --git a/arch/arm/src/lpc31xx/Make.defs b/arch/arm/src/lpc31xx/Make.defs index 04aa48fc65..ae31963b37 100644 --- a/arch/arm/src/lpc31xx/Make.defs +++ b/arch/arm/src/lpc31xx/Make.defs @@ -23,7 +23,7 @@ HEAD_ASRC = arm_head.S CMN_ASRCS = arm_cache.S arm_fullcontextrestore.S arm_saveusercontext.S CMN_ASRCS += arm_vectors.S arm_vectoraddrexcptn.S arm_vectortab.S vfork.S -CMN_CSRCS = arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_createstack.c +CMN_CSRCS = arm_assert.c arm_blocktask.c arm_createstack.c CMN_CSRCS += arm_dataabort.c arm_mdelay.c arm_udelay.c arm_exit.c CMN_CSRCS += arm_initialize.c arm_initialstate.c arm_interruptcontext.c CMN_CSRCS += arm_modifyreg8.c arm_modifyreg16.c arm_modifyreg32.c diff --git a/arch/arm/src/lpc43xx/Make.defs b/arch/arm/src/lpc43xx/Make.defs index 1624452a1e..206eda0813 100644 --- a/arch/arm/src/lpc43xx/Make.defs +++ b/arch/arm/src/lpc43xx/Make.defs @@ -21,7 +21,7 @@ CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += arm_testset.S arm_fetchadd.S vfork.S -CMN_CSRCS = arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_createstack.c +CMN_CSRCS = arm_assert.c arm_blocktask.c arm_createstack.c CMN_CSRCS += arm_doirq.c arm_exit.c arm_hardfault.c arm_initialize.c CMN_CSRCS += arm_initialstate.c arm_interruptcontext.c arm_mdelay.c CMN_CSRCS += arm_memfault.c arm_modifyreg8.c arm_modifyreg16.c arm_modifyreg32.c @@ -58,7 +58,6 @@ endif ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_fpu.S -CMN_CSRCS += arm_copyarmstate.c endif CHIP_CSRCS = lpc43_allocateheap.c lpc43_cgu.c lpc43_clrpend.c lpc43_gpio.c diff --git a/arch/arm/src/lpc54xx/Make.defs b/arch/arm/src/lpc54xx/Make.defs index 6f14235bea..7ed81e4eca 100644 --- a/arch/arm/src/lpc54xx/Make.defs +++ b/arch/arm/src/lpc54xx/Make.defs @@ -21,7 +21,7 @@ CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += arm_testset.S arm_fetchadd.S vfork.S -CMN_CSRCS = arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_createstack.c +CMN_CSRCS = arm_assert.c arm_blocktask.c arm_createstack.c CMN_CSRCS += arm_doirq.c arm_exit.c arm_hardfault.c arm_initialize.c CMN_CSRCS += arm_initialstate.c arm_interruptcontext.c arm_mdelay.c CMN_CSRCS += arm_memfault.c arm_modifyreg8.c arm_modifyreg16.c arm_modifyreg32.c @@ -58,7 +58,6 @@ endif ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_fpu.S -CMN_CSRCS += arm_copyarmstate.c endif CHIP_CSRCS = lpc54_start.c lpc54_clockconfig.c lpc54_irq.c lpc54_clrpend.c diff --git a/arch/arm/src/max326xx/Make.defs b/arch/arm/src/max326xx/Make.defs index 0c08e0ff2a..96d9826726 100644 --- a/arch/arm/src/max326xx/Make.defs +++ b/arch/arm/src/max326xx/Make.defs @@ -23,7 +23,7 @@ CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += arm_testset.S arm_fetchadd.S vfork.S -CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c arm_copyfullstate.c +CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c CMN_CSRCS += arm_createstack.c arm_doirq.c arm_exit.c arm_hardfault.c CMN_CSRCS += arm_initialize.c arm_initialstate.c arm_interruptcontext.c CMN_CSRCS += arm_mdelay.c arm_memfault.c arm_modifyreg8.c arm_modifyreg16.c @@ -56,7 +56,6 @@ endif ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_fpu.S -CMN_CSRCS += arm_copyarmstate.c endif # Common MAX326XX Source Files diff --git a/arch/arm/src/moxart/Make.defs b/arch/arm/src/moxart/Make.defs index 2e3109fa31..d7756df676 100644 --- a/arch/arm/src/moxart/Make.defs +++ b/arch/arm/src/moxart/Make.defs @@ -22,7 +22,7 @@ HEAD_ASRC = moxart_head.S CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S arm_vectors.S CMN_ASRCS += arm_nommuhead.S vfork.S -CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c arm_copyfullstate.c +CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c CMN_CSRCS += arm_createstack.c arm_dataabort.c arm_mdelay.c arm_udelay.c CMN_CSRCS += arm_exit.c arm_initialstate.c arm_initialize.c CMN_CSRCS += arm_interruptcontext.c arm_prefetchabort.c arm_releasepending.c diff --git a/arch/arm/src/nrf52/Make.defs b/arch/arm/src/nrf52/Make.defs index 4d89206085..fbddfac607 100644 --- a/arch/arm/src/nrf52/Make.defs +++ b/arch/arm/src/nrf52/Make.defs @@ -21,7 +21,7 @@ CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += arm_testset.S vfork.S -CMN_CSRCS = arm_assert.c arm_blocktask.c arm_copyfullstate.c +CMN_CSRCS = arm_assert.c arm_blocktask.c CMN_CSRCS += arm_createstack.c arm_doirq.c arm_exit.c arm_hardfault.c CMN_CSRCS += arm_initialize.c arm_initialstate.c arm_interruptcontext.c CMN_CSRCS += arm_memfault.c arm_modifyreg8.c arm_modifyreg16.c @@ -66,7 +66,6 @@ endif ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_fpu.S -CMN_CSRCS += arm_copyarmstate.c endif CHIP_CSRCS = nrf52_start.c nrf52_clockconfig.c nrf52_irq.c nrf52_utils.c diff --git a/arch/arm/src/nuc1xx/Make.defs b/arch/arm/src/nuc1xx/Make.defs index 74edd11c3a..caa86d683b 100644 --- a/arch/arm/src/nuc1xx/Make.defs +++ b/arch/arm/src/nuc1xx/Make.defs @@ -21,7 +21,7 @@ CMN_ASRCS = arm_exception.S arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += vfork.S -CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c arm_copyfullstate.c +CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c CMN_CSRCS += arm_createstack.c arm_mdelay.c arm_udelay.c arm_exit.c CMN_CSRCS += arm_initialize.c arm_initialstate.c arm_interruptcontext.c CMN_CSRCS += arm_modifyreg8.c arm_modifyreg16.c arm_modifyreg32.c diff --git a/arch/arm/src/phy62xx/Make.defs b/arch/arm/src/phy62xx/Make.defs index ebc13c05a0..1d28be466b 100644 --- a/arch/arm/src/phy62xx/Make.defs +++ b/arch/arm/src/phy62xx/Make.defs @@ -22,7 +22,7 @@ CMN_ASRCS = phy62xx_exception.S phy62xx_start.S arm_saveusercontext.S arm_fullc #CMN_ASRCS += arm_switchcontext.S vfork.S CMN_ASRCS += vfork.S -CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c arm_copyfullstate.c +CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c CMN_CSRCS += arm_createstack.c arm_mdelay.c arm_udelay.c arm_exit.c CMN_CSRCS += arm_initialize.c arm_initialstate.c arm_interruptcontext.c CMN_CSRCS += arm_puts.c arm_modifyreg8.c arm_modifyreg16.c arm_modifyreg32.c diff --git a/arch/arm/src/rp2040/Make.defs b/arch/arm/src/rp2040/Make.defs index e00ed5045a..82c4efc1ef 100644 --- a/arch/arm/src/rp2040/Make.defs +++ b/arch/arm/src/rp2040/Make.defs @@ -21,7 +21,7 @@ CMN_ASRCS = arm_exception.S arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += vfork.S -CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c arm_copyfullstate.c +CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c CMN_CSRCS += arm_createstack.c arm_mdelay.c arm_udelay.c arm_exit.c CMN_CSRCS += arm_initialize.c arm_initialstate.c arm_interruptcontext.c CMN_CSRCS += arm_modifyreg8.c arm_modifyreg16.c arm_modifyreg32.c diff --git a/arch/arm/src/rtl8720c/Make.defs b/arch/arm/src/rtl8720c/Make.defs index 3474aac9ba..78e019925e 100644 --- a/arch/arm/src/rtl8720c/Make.defs +++ b/arch/arm/src/rtl8720c/Make.defs @@ -36,8 +36,8 @@ CMN_ASRCS += arm_testset.S vfork.S CMN_UASRCS += arm_signal_handler.S -CMN_CSRCS += arm_assert.c arm_blocktask.c arm_cache.c arm_copyarmstate.c -CMN_CSRCS += arm_copyfullstate.c arm_doirq.c arm_hardfault.c arm_initialstate.c +CMN_CSRCS += arm_assert.c arm_blocktask.c arm_cache.c +CMN_CSRCS += arm_doirq.c arm_hardfault.c arm_initialstate.c CMN_CSRCS += arm_itm_syslog.c arm_memfault.c arm_mpu.c arm_ramvec_attach.c CMN_CSRCS += arm_ramvec_initialize.c arm_releasepending.c arm_reprioritizertr.c CMN_CSRCS += arm_schedulesigaction.c arm_sigdeliver.c arm_signal_dispatch.c diff --git a/arch/arm/src/s32k1xx/s32k11x/Make.defs b/arch/arm/src/s32k1xx/s32k11x/Make.defs index 3fead9fc10..6c86a673e7 100644 --- a/arch/arm/src/s32k1xx/s32k11x/Make.defs +++ b/arch/arm/src/s32k1xx/s32k11x/Make.defs @@ -23,7 +23,7 @@ CMN_ASRCS += arm_exception.S arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += vfork.S -CMN_CSRCS += arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_createstack.c +CMN_CSRCS += arm_assert.c arm_blocktask.c arm_createstack.c CMN_CSRCS += arm_initialstate.c arm_releasepending.c arm_reprioritizertr.c CMN_CSRCS += arm_schedulesigaction.c arm_sigdeliver.c arm_systemreset.c CMN_CSRCS += arm_unblocktask.c arm_doirq.c arm_hardfault.c arm_svcall.c diff --git a/arch/arm/src/s32k1xx/s32k14x/Make.defs b/arch/arm/src/s32k1xx/s32k14x/Make.defs index b057de647a..e54d78855a 100644 --- a/arch/arm/src/s32k1xx/s32k14x/Make.defs +++ b/arch/arm/src/s32k1xx/s32k14x/Make.defs @@ -23,7 +23,7 @@ CMN_ASRCS += arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += arm_testset.S arm_fetchadd.S vfork.S -CMN_CSRCS += arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_createstack.c +CMN_CSRCS += arm_assert.c arm_blocktask.c arm_createstack.c CMN_CSRCS += arm_doirq.c arm_hardfault.c arm_initialstate.c arm_memfault.c CMN_CSRCS += arm_releasepending.c arm_reprioritizertr.c arm_schedulesigaction.c CMN_CSRCS += arm_sigdeliver.c arm_svcall.c arm_trigger_irq.c arm_unblocktask.c @@ -47,7 +47,6 @@ endif ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_fpu.S -CMN_CSRCS += arm_copyarmstate.c endif # Source file specific to the S32k11x family diff --git a/arch/arm/src/sam34/Make.defs b/arch/arm/src/sam34/Make.defs index cac449b8bd..e7a07d9bb4 100644 --- a/arch/arm/src/sam34/Make.defs +++ b/arch/arm/src/sam34/Make.defs @@ -25,7 +25,7 @@ CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += arm_testset.S arm_fetchadd.S vfork.S -CMN_CSRCS = arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_createstack.c +CMN_CSRCS = arm_assert.c arm_blocktask.c arm_createstack.c CMN_CSRCS += arm_doirq.c arm_exit.c arm_hardfault.c arm_initialize.c CMN_CSRCS += arm_initialstate.c arm_interruptcontext.c arm_mdelay.c CMN_CSRCS += arm_memfault.c arm_modifyreg8.c arm_modifyreg16.c arm_modifyreg32.c @@ -66,7 +66,6 @@ endif ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_fpu.S -CMN_CSRCS += arm_copyarmstate.c endif ifeq ($(CONFIG_STACK_COLORATION),y) diff --git a/arch/arm/src/sama5/Make.defs b/arch/arm/src/sama5/Make.defs index aca45a00a0..1aca3b5939 100644 --- a/arch/arm/src/sama5/Make.defs +++ b/arch/arm/src/sama5/Make.defs @@ -57,7 +57,7 @@ CMN_CSRCS += arm_releasestack.c arm_usestack.c arm_vfork.c arm_puts.c arm_mdelay CMN_CSRCS += arm_stackframe.c arm_udelay.c arm_modifyreg8.c arm_modifyreg16.c CMN_CSRCS += arm_modifyreg32.c -CMN_CSRCS += arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_dataabort.c +CMN_CSRCS += arm_assert.c arm_blocktask.c arm_dataabort.c CMN_CSRCS += arm_doirq.c arm_initialstate.c arm_mmu.c arm_prefetchabort.c CMN_CSRCS += arm_releasepending.c arm_reprioritizertr.c CMN_CSRCS += arm_schedulesigaction.c arm_sigdeliver.c arm_syscall.c @@ -107,7 +107,6 @@ CMN_CSRCS += arm_cache.c ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_savefpu.S arm_restorefpu.S -CMN_CSRCS += arm_copyarmstate.c endif ifeq ($(CONFIG_STACK_COLORATION),y) diff --git a/arch/arm/src/samd2l2/Make.defs b/arch/arm/src/samd2l2/Make.defs index e4774e9c89..e92c7c9fe1 100644 --- a/arch/arm/src/samd2l2/Make.defs +++ b/arch/arm/src/samd2l2/Make.defs @@ -21,7 +21,7 @@ CMN_ASRCS = arm_exception.S arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += vfork.S -CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c arm_copyfullstate.c +CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c CMN_CSRCS += arm_createstack.c arm_mdelay.c arm_udelay.c arm_exit.c CMN_CSRCS += arm_initialize.c arm_initialstate.c arm_interruptcontext.c CMN_CSRCS += arm_modifyreg8.c arm_modifyreg16.c arm_modifyreg32.c diff --git a/arch/arm/src/samd5e5/Make.defs b/arch/arm/src/samd5e5/Make.defs index 3b7c25a0ba..10f7f9a601 100644 --- a/arch/arm/src/samd5e5/Make.defs +++ b/arch/arm/src/samd5e5/Make.defs @@ -25,7 +25,7 @@ CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += arm_testset.S arm_fetchadd.S vfork.S -CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c arm_copyfullstate.c +CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c CMN_CSRCS += arm_createstack.c arm_exit.c arm_initialize.c arm_initialstate.c CMN_CSRCS += arm_interruptcontext.c arm_mdelay.c arm_memfault.c arm_modifyreg8.c CMN_CSRCS += arm_modifyreg16.c arm_modifyreg32.c arm_releasepending.c @@ -56,7 +56,6 @@ endif ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_fpu.S -CMN_CSRCS += arm_copyarmstate.c endif ifeq ($(CONFIG_STACK_COLORATION),y) diff --git a/arch/arm/src/samv7/Make.defs b/arch/arm/src/samv7/Make.defs index 85a7b59c9b..5906bc6afd 100644 --- a/arch/arm/src/samv7/Make.defs +++ b/arch/arm/src/samv7/Make.defs @@ -26,7 +26,7 @@ CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += arm_testset.S arm_fetchadd.S vfork.S -CMN_CSRCS = arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_createstack.c +CMN_CSRCS = arm_assert.c arm_blocktask.c arm_createstack.c CMN_CSRCS += arm_exit.c arm_hardfault.c arm_initialize.c arm_initialstate.c CMN_CSRCS += arm_interruptcontext.c arm_mdelay.c arm_udelay.c arm_systemreset.c CMN_CSRCS += arm_memfault.c arm_modifyreg8.c arm_modifyreg16.c arm_modifyreg32.c @@ -57,7 +57,6 @@ CMN_CSRCS += arm_cache.c ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_fpu.S -CMN_CSRCS += arm_copyarmstate.c endif ifeq ($(CONFIG_ARCH_RAMVECTORS),y) diff --git a/arch/arm/src/stm32/Make.defs b/arch/arm/src/stm32/Make.defs index 4ef38cf041..c80705c687 100644 --- a/arch/arm/src/stm32/Make.defs +++ b/arch/arm/src/stm32/Make.defs @@ -21,7 +21,7 @@ CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += arm_testset.S arm_fetchadd.S vfork.S -CMN_CSRCS = arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_createstack.c +CMN_CSRCS = arm_assert.c arm_blocktask.c arm_createstack.c CMN_CSRCS += arm_exit.c arm_hardfault.c arm_initialize.c arm_initialstate.c CMN_CSRCS += arm_interruptcontext.c arm_memfault.c arm_modifyreg8.c arm_mdelay.c CMN_CSRCS += arm_modifyreg16.c arm_modifyreg32.c arm_releasepending.c @@ -66,7 +66,6 @@ endif ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_fpu.S -CMN_CSRCS += arm_copyarmstate.c endif ifeq ($(CONFIG_ARMV7M_ITMSYSLOG),y) diff --git a/arch/arm/src/stm32f0l0g0/Make.defs b/arch/arm/src/stm32f0l0g0/Make.defs index 5d0d4d9ac4..5319822710 100644 --- a/arch/arm/src/stm32f0l0g0/Make.defs +++ b/arch/arm/src/stm32f0l0g0/Make.defs @@ -21,7 +21,7 @@ CMN_ASRCS = arm_exception.S arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += vfork.S -CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c arm_copyfullstate.c +CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c CMN_CSRCS += arm_createstack.c arm_mdelay.c arm_udelay.c arm_exit.c CMN_CSRCS += arm_initialize.c arm_initialstate.c arm_interruptcontext.c CMN_CSRCS += arm_puts.c arm_modifyreg8.c arm_modifyreg16.c arm_modifyreg32.c diff --git a/arch/arm/src/stm32f7/Make.defs b/arch/arm/src/stm32f7/Make.defs index ed9161496d..77fe10a15a 100644 --- a/arch/arm/src/stm32f7/Make.defs +++ b/arch/arm/src/stm32f7/Make.defs @@ -26,7 +26,7 @@ CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += arm_testset.S arm_fetchadd.S vfork.S -CMN_CSRCS = arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_createstack.c +CMN_CSRCS = arm_assert.c arm_blocktask.c arm_createstack.c CMN_CSRCS += arm_doirq.c arm_exit.c arm_hardfault.c arm_initialize.c CMN_CSRCS += arm_initialstate.c arm_interruptcontext.c arm_mdelay.c CMN_CSRCS += arm_memfault.c arm_modifyreg8.c arm_modifyreg16.c arm_modifyreg32.c @@ -57,7 +57,6 @@ CMN_CSRCS += arm_cache.c ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_fpu.S -CMN_CSRCS += arm_copyarmstate.c endif ifeq ($(CONFIG_ARCH_RAMVECTORS),y) diff --git a/arch/arm/src/stm32h7/Make.defs b/arch/arm/src/stm32h7/Make.defs index 19782da534..38aa971638 100644 --- a/arch/arm/src/stm32h7/Make.defs +++ b/arch/arm/src/stm32h7/Make.defs @@ -26,7 +26,7 @@ CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += arm_testset.S vfork.S -CMN_CSRCS = arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_createstack.c +CMN_CSRCS = arm_assert.c arm_blocktask.c arm_createstack.c CMN_CSRCS += arm_doirq.c arm_exit.c arm_hardfault.c arm_initialize.c CMN_CSRCS += arm_initialstate.c arm_interruptcontext.c arm_mdelay.c arm_memfault.c CMN_CSRCS += arm_modifyreg8.c arm_modifyreg16.c arm_modifyreg32.c @@ -52,7 +52,6 @@ CMN_CSRCS += arm_vectors.c CMN_CSRCS += arm_cache.c ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_fpu.S -CMN_CSRCS += arm_copyarmstate.c endif ifneq ($(CONFIG_ARCH_IDLE_CUSTOM),y) diff --git a/arch/arm/src/stm32l4/Make.defs b/arch/arm/src/stm32l4/Make.defs index 8666f283ab..6ab6da421a 100644 --- a/arch/arm/src/stm32l4/Make.defs +++ b/arch/arm/src/stm32l4/Make.defs @@ -26,7 +26,7 @@ CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += arm_testset.S arm_fetchadd.S vfork.S -CMN_CSRCS = arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_createstack.c +CMN_CSRCS = arm_assert.c arm_blocktask.c arm_createstack.c CMN_CSRCS += arm_doirq.c arm_exit.c arm_hardfault.c arm_initialize.c CMN_CSRCS += arm_initialstate.c arm_interruptcontext.c arm_mdelay.c arm_memfault.c CMN_CSRCS += arm_modifyreg8.c arm_modifyreg16.c arm_modifyreg32.c @@ -51,7 +51,6 @@ CMN_CSRCS += arm_vectors.c ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_fpu.S -CMN_CSRCS += arm_copyarmstate.c endif ifeq ($(CONFIG_ARCH_RAMVECTORS),y) diff --git a/arch/arm/src/stm32l5/Make.defs b/arch/arm/src/stm32l5/Make.defs index 8c0bcee369..f377497822 100644 --- a/arch/arm/src/stm32l5/Make.defs +++ b/arch/arm/src/stm32l5/Make.defs @@ -31,7 +31,7 @@ CMN_UCSRCS = CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += arm_testset.S arm_fetchadd.S vfork.S -CMN_CSRCS = arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_createstack.c +CMN_CSRCS = arm_assert.c arm_blocktask.c arm_createstack.c CMN_CSRCS += arm_doirq.c arm_exit.c arm_hardfault.c arm_initialize.c CMN_CSRCS += arm_initialstate.c arm_interruptcontext.c arm_mdelay.c arm_memfault.c CMN_CSRCS += arm_modifyreg8.c arm_modifyreg16.c arm_modifyreg32.c @@ -56,7 +56,6 @@ CMN_CSRCS += arm_vectors.c ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_fpu.S -CMN_CSRCS += arm_copyarmstate.c endif ifeq ($(CONFIG_ARCH_RAMVECTORS),y) diff --git a/arch/arm/src/stm32u5/Make.defs b/arch/arm/src/stm32u5/Make.defs index 32b7f28880..fe83656bae 100644 --- a/arch/arm/src/stm32u5/Make.defs +++ b/arch/arm/src/stm32u5/Make.defs @@ -31,7 +31,7 @@ CMN_UCSRCS = CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += arm_testset.S arm_fetchadd.S vfork.S -CMN_CSRCS = arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_createstack.c +CMN_CSRCS = arm_assert.c arm_blocktask.c arm_createstack.c CMN_CSRCS += arm_doirq.c arm_exit.c arm_hardfault.c arm_initialize.c CMN_CSRCS += arm_initialstate.c arm_interruptcontext.c arm_mdelay.c arm_memfault.c CMN_CSRCS += arm_modifyreg8.c arm_modifyreg16.c arm_modifyreg32.c arm_puts.c @@ -56,7 +56,6 @@ CMN_CSRCS += arm_vectors.c ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_fpu.S -CMN_CSRCS += arm_copyarmstate.c endif ifeq ($(CONFIG_ARCH_RAMVECTORS),y) diff --git a/arch/arm/src/str71x/Make.defs b/arch/arm/src/str71x/Make.defs index 6b93936df0..29dacbc5d4 100644 --- a/arch/arm/src/str71x/Make.defs +++ b/arch/arm/src/str71x/Make.defs @@ -23,7 +23,7 @@ HEAD_ASRC = str71x_head.S CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S arm_vectors.S CMN_ASRCS += vfork.S -CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c arm_copyfullstate.c +CMN_CSRCS = arm_allocateheap.c arm_assert.c arm_blocktask.c CMN_CSRCS += arm_createstack.c arm_dataabort.c arm_mdelay.c arm_udelay.c CMN_CSRCS += arm_exit.c arm_initialize.c arm_initialstate.c CMN_CSRCS += arm_interruptcontext.c arm_prefetchabort.c arm_releasepending.c diff --git a/arch/arm/src/tiva/Make.defs b/arch/arm/src/tiva/Make.defs index d0b6fc4ab3..b9d0d7b856 100644 --- a/arch/arm/src/tiva/Make.defs +++ b/arch/arm/src/tiva/Make.defs @@ -21,7 +21,7 @@ CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += arm_testset.S arm_fetchadd.S vfork.S -CMN_CSRCS = arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_createstack.c +CMN_CSRCS = arm_assert.c arm_blocktask.c arm_createstack.c CMN_CSRCS += arm_doirq.c arm_exit.c arm_hardfault.c arm_initialize.c CMN_CSRCS += arm_initialstate.c arm_interruptcontext.c arm_mdelay.c CMN_CSRCS += arm_memfault.c arm_modifyreg8.c arm_modifyreg16.c arm_modifyreg32.c @@ -49,7 +49,6 @@ CMN_CSRCS += arm_vectors.c ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_fpu.S - CMN_CSRCS += arm_copyarmstate.c endif ifeq ($(CONFIG_ARCH_RAMVECTORS),y) diff --git a/arch/arm/src/tms570/Make.defs b/arch/arm/src/tms570/Make.defs index 3e4175a186..3df1b7ea76 100644 --- a/arch/arm/src/tms570/Make.defs +++ b/arch/arm/src/tms570/Make.defs @@ -46,7 +46,7 @@ CMN_CSRCS += arm_exit.c arm_createstack.c arm_releasestack.c arm_usestack.c CMN_CSRCS += arm_vfork.c arm_puts.c arm_mdelay.c arm_stackframe.c arm_udelay.c CMN_CSRCS += arm_modifyreg8.c arm_modifyreg16.c arm_modifyreg32.c -CMN_CSRCS += arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_dataabort.c +CMN_CSRCS += arm_assert.c arm_blocktask.c arm_dataabort.c CMN_CSRCS += arm_doirq.c arm_initialstate.c arm_prefetchabort.c CMN_CSRCS += arm_releasepending.c arm_reprioritizertr.c CMN_CSRCS += arm_schedulesigaction.c arm_sigdeliver.c arm_syscall.c @@ -73,7 +73,6 @@ CMN_CSRCS += arm_cache.c ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_savefpu.S arm_restorefpu.S -CMN_CSRCS += arm_copyarmstate.c endif ifeq ($(CONFIG_STACK_COLORATION),y) diff --git a/arch/arm/src/xmc4/Make.defs b/arch/arm/src/xmc4/Make.defs index 047fe0e386..3e0a6f4072 100644 --- a/arch/arm/src/xmc4/Make.defs +++ b/arch/arm/src/xmc4/Make.defs @@ -21,7 +21,7 @@ CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += arm_testset.S arm_fetchadd.S vfork.S -CMN_CSRCS = arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_createstack.c +CMN_CSRCS = arm_assert.c arm_blocktask.c arm_createstack.c CMN_CSRCS += arm_doirq.c arm_exit.c arm_initialize.c arm_initialstate.c CMN_CSRCS += arm_hardfault.c arm_interruptcontext.c arm_memfault.c arm_mdelay.c CMN_CSRCS += arm_modifyreg8.c arm_modifyreg16.c arm_modifyreg32.c @@ -71,7 +71,6 @@ endif ifeq ($(CONFIG_ARCH_FPU),y) CMN_ASRCS += arm_fpu.S -CMN_CSRCS += arm_copyarmstate.c endif ifeq ($(CONFIG_ARMV7M_ITMSYSLOG),y)