diff --git a/arch/arm/src/armv6-m/up_switchcontext.S b/arch/arm/src/armv6-m/arm_switchcontext.S similarity index 92% rename from arch/arm/src/armv6-m/up_switchcontext.S rename to arch/arm/src/armv6-m/arm_switchcontext.S index f5afab826c..b0fa4c9264 100644 --- a/arch/arm/src/armv6-m/up_switchcontext.S +++ b/arch/arm/src/armv6-m/arm_switchcontext.S @@ -1,5 +1,5 @@ /************************************************************************************ - * arch/arm/src/armv6-m/up_switchcontext.S + * arch/arm/src/armv6-m/arm_switchcontext.S * * Copyright (C) 2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -52,7 +52,7 @@ ************************************************************************************/ .cpu cortex-m0 - .file "up_switchcontext.S" + .file "arm_switchcontext.S" /************************************************************************************ * Macros @@ -63,13 +63,13 @@ ************************************************************************************/ /************************************************************************************ - * Name: up_switchcontext + * Name: arm_switchcontext * * Description: * Save the current thread context and restore the specified context. * Full prototype is: * - * void up_switchcontext(uint32_t *saveregs, uint32_t *restoreregs); + * void arm_switchcontext(uint32_t *saveregs, uint32_t *restoreregs); * * Returned Value: * None @@ -79,9 +79,9 @@ .align 2 .code 16 .thumb_func - .globl up_switchcontext - .type up_switchcontext, function -up_switchcontext: + .globl arm_switchcontext + .type arm_switchcontext, function +arm_switchcontext: /* Perform the System call with R0=1, R1=saveregs, R2=restoreregs */ @@ -93,5 +93,5 @@ up_switchcontext: /* We will get here only after the rerturn from the context switch */ bx lr - .size up_switchcontext, .-up_switchcontext + .size arm_switchcontext, .-arm_switchcontext .end diff --git a/arch/arm/src/armv6-m/svcall.h b/arch/arm/src/armv6-m/svcall.h index c992e4f6b9..8afd888bde 100644 --- a/arch/arm/src/armv6-m/svcall.h +++ b/arch/arm/src/armv6-m/svcall.h @@ -76,7 +76,7 @@ /* SYS call 2: * - * void up_switchcontext(uint32_t *saveregs, uint32_t *restoreregs); + * void arm_switchcontext(uint32_t *saveregs, uint32_t *restoreregs); */ #define SYS_switch_context (2) diff --git a/arch/arm/src/armv6-m/up_blocktask.c b/arch/arm/src/armv6-m/up_blocktask.c index e27404d5c8..c2afb846ff 100644 --- a/arch/arm/src/armv6-m/up_blocktask.c +++ b/arch/arm/src/armv6-m/up_blocktask.c @@ -150,9 +150,9 @@ void up_block_task(struct tcb_s *tcb, tstate_t task_state) * ready to run list. */ - up_switchcontext(rtcb->xcp.regs, nexttcb->xcp.regs); + arm_switchcontext(rtcb->xcp.regs, nexttcb->xcp.regs); - /* up_switchcontext forces a context switch to the task at the + /* arm_switchcontext forces a context switch to the task at the * head of the ready-to-run list. It does not 'return' in the * normal sense. When it does return, it is because the blocked * task is again ready to run and has execution priority. diff --git a/arch/arm/src/armv6-m/up_releasepending.c b/arch/arm/src/armv6-m/up_releasepending.c index 3c925a02b8..c155049736 100644 --- a/arch/arm/src/armv6-m/up_releasepending.c +++ b/arch/arm/src/armv6-m/up_releasepending.c @@ -120,9 +120,9 @@ void up_release_pending(void) * ready to run list. */ - up_switchcontext(rtcb->xcp.regs, nexttcb->xcp.regs); + arm_switchcontext(rtcb->xcp.regs, nexttcb->xcp.regs); - /* up_switchcontext forces a context switch to the task at the + /* arm_switchcontext forces a context switch to the task at the * head of the ready-to-run list. It does not 'return' in the * normal sense. When it does return, it is because the blocked * task is again ready to run and has execution priority. diff --git a/arch/arm/src/armv6-m/up_reprioritizertr.c b/arch/arm/src/armv6-m/up_reprioritizertr.c index 4e8eab65c2..690b9a9737 100644 --- a/arch/arm/src/armv6-m/up_reprioritizertr.c +++ b/arch/arm/src/armv6-m/up_reprioritizertr.c @@ -175,9 +175,9 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority) * ready to run list. */ - up_switchcontext(rtcb->xcp.regs, nexttcb->xcp.regs); + arm_switchcontext(rtcb->xcp.regs, nexttcb->xcp.regs); - /* up_switchcontext forces a context switch to the task at the + /* arm_switchcontext forces a context switch to the task at the * head of the ready-to-run list. It does not 'return' in the * normal sense. When it does return, it is because the blocked * task is again ready to run and has execution priority. diff --git a/arch/arm/src/armv6-m/up_svcall.c b/arch/arm/src/armv6-m/up_svcall.c index bee7f55291..489871a55e 100644 --- a/arch/arm/src/armv6-m/up_svcall.c +++ b/arch/arm/src/armv6-m/up_svcall.c @@ -199,7 +199,7 @@ int up_svcall(int irq, FAR void *context, FAR void *arg) /* R0=SYS_switch_context: This a switch context command: * - * void up_switchcontext(uint32_t *saveregs, uint32_t *restoreregs); + * void arm_switchcontext(uint32_t *saveregs, uint32_t *restoreregs); * * At this point, the following values are saved in context: * diff --git a/arch/arm/src/armv6-m/up_unblocktask.c b/arch/arm/src/armv6-m/up_unblocktask.c index 15efb85c4d..979a487cbd 100644 --- a/arch/arm/src/armv6-m/up_unblocktask.c +++ b/arch/arm/src/armv6-m/up_unblocktask.c @@ -133,9 +133,9 @@ void up_unblock_task(struct tcb_s *tcb) * ready to run list. */ - up_switchcontext(rtcb->xcp.regs, nexttcb->xcp.regs); + arm_switchcontext(rtcb->xcp.regs, nexttcb->xcp.regs); - /* up_switchcontext forces a context switch to the task at the + /* arm_switchcontext forces a context switch to the task at the * head of the ready-to-run list. It does not 'return' in the * normal sense. When it does return, it is because the blocked * task is again ready to run and has execution priority. diff --git a/arch/arm/src/armv7-m/gnu/up_switchcontext.S b/arch/arm/src/armv7-m/gnu/arm_switchcontext.S similarity index 90% rename from arch/arm/src/armv7-m/gnu/up_switchcontext.S rename to arch/arm/src/armv7-m/gnu/arm_switchcontext.S index 193eb6cfcb..c9c3db9105 100644 --- a/arch/arm/src/armv7-m/gnu/up_switchcontext.S +++ b/arch/arm/src/armv7-m/gnu/arm_switchcontext.S @@ -1,5 +1,5 @@ /************************************************************************************ - * arch/arm/src/armv7-m/gnu/up_switchcontext.S + * arch/arm/src/armv7-m/gnu/arm_switchcontext.S * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with @@ -38,7 +38,7 @@ .syntax unified .thumb - .file "up_switchcontext.S" + .file "arm_switchcontext.S" /************************************************************************************ * Macros @@ -49,13 +49,13 @@ ************************************************************************************/ /************************************************************************************ - * Name: up_switchcontext + * Name: arm_switchcontext * * Description: * Save the current thread context and restore the specified context. * Full prototype is: * - * void up_switchcontext(uint32_t *saveregs, uint32_t *restoreregs); + * void arm_switchcontext(uint32_t *saveregs, uint32_t *restoreregs); * * Returned Value: * None @@ -63,9 +63,9 @@ ************************************************************************************/ .thumb_func - .globl up_switchcontext - .type up_switchcontext, function -up_switchcontext: + .globl arm_switchcontext + .type arm_switchcontext, function +arm_switchcontext: /* Perform the System call with R0=1, R1=saveregs, R2=restoreregs */ @@ -77,5 +77,5 @@ up_switchcontext: /* We will get here only after the rerturn from the context switch */ bx lr - .size up_switchcontext, .-up_switchcontext + .size arm_switchcontext, .-arm_switchcontext .end diff --git a/arch/arm/src/armv7-m/iar/up_switchcontext.S b/arch/arm/src/armv7-m/iar/arm_switchcontext.S similarity index 92% rename from arch/arm/src/armv7-m/iar/up_switchcontext.S rename to arch/arm/src/armv7-m/iar/arm_switchcontext.S index c5a0190825..1b6ebd0b82 100644 --- a/arch/arm/src/armv7-m/iar/up_switchcontext.S +++ b/arch/arm/src/armv7-m/iar/arm_switchcontext.S @@ -1,5 +1,5 @@ /************************************************************************************ - * arch/arm/src/armv7-m/iar/up_switchcontext.S + * arch/arm/src/armv7-m/iar/arm_switchcontext.S * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with @@ -28,7 +28,7 @@ #include "nvic.h" #include "svcall.h" - MODULE up_switchcontext + MODULE arm_switchcontext SECTION .text:CODE:NOROOT(2) /************************************************************************************ @@ -39,7 +39,7 @@ * Public Symbols ************************************************************************************/ - PUBLIC up_switchcontext + PUBLIC arm_switchcontext /************************************************************************************ * Macros @@ -50,13 +50,13 @@ ************************************************************************************/ /************************************************************************************ - * Name: up_switchcontext + * Name: arm_switchcontext * * Description: * Save the current thread context and restore the specified context. * Full prototype is: * - * void up_switchcontext(uint32_t *saveregs, uint32_t *restoreregs); + * void arm_switchcontext(uint32_t *saveregs, uint32_t *restoreregs); * * Returned Value: * None @@ -65,7 +65,7 @@ THUMB -up_switchcontext: +arm_switchcontext: /* Perform the System call with R0=1, R1=saveregs, R2=restoreregs */ diff --git a/arch/arm/src/armv7-m/svcall.h b/arch/arm/src/armv7-m/svcall.h index c381f599ec..0efa3ed777 100644 --- a/arch/arm/src/armv7-m/svcall.h +++ b/arch/arm/src/armv7-m/svcall.h @@ -76,7 +76,7 @@ /* SYS call 2: * - * void up_switchcontext(uint32_t *saveregs, uint32_t *restoreregs); + * void arm_switchcontext(uint32_t *saveregs, uint32_t *restoreregs); */ #define SYS_switch_context (2) diff --git a/arch/arm/src/armv7-m/up_blocktask.c b/arch/arm/src/armv7-m/up_blocktask.c index dadb3233e3..66c48816e9 100644 --- a/arch/arm/src/armv7-m/up_blocktask.c +++ b/arch/arm/src/armv7-m/up_blocktask.c @@ -135,9 +135,9 @@ void up_block_task(struct tcb_s *tcb, tstate_t task_state) * ready to run list. */ - up_switchcontext(rtcb->xcp.regs, nexttcb->xcp.regs); + arm_switchcontext(rtcb->xcp.regs, nexttcb->xcp.regs); - /* up_switchcontext forces a context switch to the task at the + /* arm_switchcontext forces a context switch to the task at the * head of the ready-to-run list. It does not 'return' in the * normal sense. When it does return, it is because the blocked * task is again ready to run and has execution priority. diff --git a/arch/arm/src/armv7-m/up_releasepending.c b/arch/arm/src/armv7-m/up_releasepending.c index 11e7fbec7d..45bcc7dfdb 100644 --- a/arch/arm/src/armv7-m/up_releasepending.c +++ b/arch/arm/src/armv7-m/up_releasepending.c @@ -108,9 +108,9 @@ void up_release_pending(void) * ready to run list. */ - up_switchcontext(rtcb->xcp.regs, nexttcb->xcp.regs); + arm_switchcontext(rtcb->xcp.regs, nexttcb->xcp.regs); - /* up_switchcontext forces a context switch to the task at the + /* arm_switchcontext forces a context switch to the task at the * head of the ready-to-run list. It does not 'return' in the * normal sense. When it does return, it is because the blocked * task is again ready to run and has execution priority. diff --git a/arch/arm/src/armv7-m/up_reprioritizertr.c b/arch/arm/src/armv7-m/up_reprioritizertr.c index dda38640fe..8b87fc7b48 100644 --- a/arch/arm/src/armv7-m/up_reprioritizertr.c +++ b/arch/arm/src/armv7-m/up_reprioritizertr.c @@ -160,9 +160,9 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority) * ready to run list. */ - up_switchcontext(rtcb->xcp.regs, nexttcb->xcp.regs); + arm_switchcontext(rtcb->xcp.regs, nexttcb->xcp.regs); - /* up_switchcontext forces a context switch to the task at the + /* arm_switchcontext forces a context switch to the task at the * head of the ready-to-run list. It does not 'return' in the * normal sense. When it does return, it is because the * blocked task is again ready to run and has execution diff --git a/arch/arm/src/armv7-m/up_svcall.c b/arch/arm/src/armv7-m/up_svcall.c index 77f0f4cea8..482f080d3d 100644 --- a/arch/arm/src/armv7-m/up_svcall.c +++ b/arch/arm/src/armv7-m/up_svcall.c @@ -210,7 +210,7 @@ int up_svcall(int irq, FAR void *context, FAR void *arg) /* R0=SYS_switch_context: This a switch context command: * - * void up_switchcontext(uint32_t *saveregs, uint32_t *restoreregs); + * void arm_switchcontext(uint32_t *saveregs, uint32_t *restoreregs); * * At this point, the following values are saved in context: * diff --git a/arch/arm/src/armv7-m/up_unblocktask.c b/arch/arm/src/armv7-m/up_unblocktask.c index cc3d1203ee..19a58b850d 100644 --- a/arch/arm/src/armv7-m/up_unblocktask.c +++ b/arch/arm/src/armv7-m/up_unblocktask.c @@ -119,9 +119,9 @@ void up_unblock_task(struct tcb_s *tcb) * ready to run list. */ - up_switchcontext(rtcb->xcp.regs, nexttcb->xcp.regs); + arm_switchcontext(rtcb->xcp.regs, nexttcb->xcp.regs); - /* up_switchcontext forces a context switch to the task at the + /* arm_switchcontext forces a context switch to the task at the * head of the ready-to-run list. It does not 'return' in the * normal sense. When it does return, it is because the blocked * task is again ready to run and has execution priority. diff --git a/arch/arm/src/common/up_internal.h b/arch/arm/src/common/up_internal.h index bfeb55d2b0..4dd9861c88 100644 --- a/arch/arm/src/common/up_internal.h +++ b/arch/arm/src/common/up_internal.h @@ -301,7 +301,7 @@ void arm_copyarmstate(uint32_t *dest, uint32_t *src); void up_decodeirq(uint32_t *regs); int arm_saveusercontext(uint32_t *saveregs); void arm_fullcontextrestore(uint32_t *restoreregs) noreturn_function; -void up_switchcontext(uint32_t *saveregs, uint32_t *restoreregs); +void arm_switchcontext(uint32_t *saveregs, uint32_t *restoreregs); /* Signal handling **********************************************************/ diff --git a/arch/arm/src/cxd56xx/Make.defs b/arch/arm/src/cxd56xx/Make.defs index 65318d7189..f5817f197d 100644 --- a/arch/arm/src/cxd56xx/Make.defs +++ b/arch/arm/src/cxd56xx/Make.defs @@ -37,7 +37,7 @@ HEAD_ASRC = -CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S arm_switchcontext.S CMN_ASRCS += up_testset.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/efm32/Make.defs b/arch/arm/src/efm32/Make.defs index 962fa389a7..a4b7fa3c42 100644 --- a/arch/arm/src/efm32/Make.defs +++ b/arch/arm/src/efm32/Make.defs @@ -38,7 +38,7 @@ HEAD_ASRC = CMN_UASRCS = CMN_UCSRCS = -CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S arm_switchcontext.S CMN_ASRCS += up_testset.S up_fetchadd.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/imxrt/Make.defs b/arch/arm/src/imxrt/Make.defs index f2445913ea..99d56512d8 100644 --- a/arch/arm/src/imxrt/Make.defs +++ b/arch/arm/src/imxrt/Make.defs @@ -38,7 +38,7 @@ HEAD_ASRC = # Common ARM and Cortex-M7 files -CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S arm_switchcontext.S CMN_ASRCS += up_testset.S up_fetchadd.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/kinetis/Make.defs b/arch/arm/src/kinetis/Make.defs index c9832abd85..349b4edc14 100644 --- a/arch/arm/src/kinetis/Make.defs +++ b/arch/arm/src/kinetis/Make.defs @@ -38,7 +38,7 @@ HEAD_ASRC = CMN_UASRCS = CMN_UCSRCS = -CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S arm_switchcontext.S CMN_ASRCS += up_testset.S up_fetchadd.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/kl/Make.defs b/arch/arm/src/kl/Make.defs index 8462ae859e..c8e33852cf 100644 --- a/arch/arm/src/kl/Make.defs +++ b/arch/arm/src/kl/Make.defs @@ -36,7 +36,7 @@ HEAD_ASRC = CMN_ASRCS = up_exception.S arm_saveusercontext.S arm_fullcontextrestore.S -CMN_ASRCS += up_switchcontext.S vfork.S +CMN_ASRCS += arm_switchcontext.S vfork.S CMN_CSRCS = up_allocateheap.c up_assert.c up_blocktask.c arm_copyfullstate.c CMN_CSRCS += up_createstack.c up_mdelay.c up_udelay.c up_exit.c diff --git a/arch/arm/src/lc823450/Make.defs b/arch/arm/src/lc823450/Make.defs index b06bf6f654..b1ad5f90a3 100644 --- a/arch/arm/src/lc823450/Make.defs +++ b/arch/arm/src/lc823450/Make.defs @@ -40,7 +40,7 @@ HEAD_ASRC = CMN_UASRCS = CMN_UCSRCS = -CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S arm_switchcontext.S CMN_ASRCS += vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/lpc17xx_40xx/Make.defs b/arch/arm/src/lpc17xx_40xx/Make.defs index 9bf39c7faa..aa6a02a04a 100644 --- a/arch/arm/src/lpc17xx_40xx/Make.defs +++ b/arch/arm/src/lpc17xx_40xx/Make.defs @@ -42,7 +42,7 @@ HEAD_ASRC = CMN_UASRCS = CMN_UCSRCS = -CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S arm_switchcontext.S CMN_ASRCS += up_testset.S up_fetchadd.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/lpc43xx/Make.defs b/arch/arm/src/lpc43xx/Make.defs index 0aae09a169..7dc664d185 100644 --- a/arch/arm/src/lpc43xx/Make.defs +++ b/arch/arm/src/lpc43xx/Make.defs @@ -35,7 +35,7 @@ HEAD_ASRC = -CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S arm_switchcontext.S CMN_ASRCS += up_testset.S up_fetchadd.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/lpc54xx/Make.defs b/arch/arm/src/lpc54xx/Make.defs index f1c2994db7..bdb581cbfd 100644 --- a/arch/arm/src/lpc54xx/Make.defs +++ b/arch/arm/src/lpc54xx/Make.defs @@ -35,7 +35,7 @@ HEAD_ASRC = -CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S arm_switchcontext.S CMN_ASRCS += up_testset.S up_fetchadd.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/max326xx/Make.defs b/arch/arm/src/max326xx/Make.defs index 0589dccfb0..0406fc2c03 100644 --- a/arch/arm/src/max326xx/Make.defs +++ b/arch/arm/src/max326xx/Make.defs @@ -37,7 +37,7 @@ HEAD_ASRC = -CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S arm_switchcontext.S CMN_ASRCS += up_testset.S up_fetchadd.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/nrf52/Make.defs b/arch/arm/src/nrf52/Make.defs index a031667ea0..cd3f980bfd 100644 --- a/arch/arm/src/nrf52/Make.defs +++ b/arch/arm/src/nrf52/Make.defs @@ -35,7 +35,7 @@ HEAD_ASRC = -CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S arm_switchcontext.S CMN_ASRCS += up_testset.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/nuc1xx/Make.defs b/arch/arm/src/nuc1xx/Make.defs index b3174e15a5..8a84cca122 100644 --- a/arch/arm/src/nuc1xx/Make.defs +++ b/arch/arm/src/nuc1xx/Make.defs @@ -36,7 +36,7 @@ HEAD_ASRC = CMN_ASRCS = up_exception.S arm_saveusercontext.S arm_fullcontextrestore.S -CMN_ASRCS += up_switchcontext.S vfork.S +CMN_ASRCS += arm_switchcontext.S vfork.S CMN_CSRCS = up_allocateheap.c up_assert.c up_blocktask.c arm_copyfullstate.c CMN_CSRCS += up_createstack.c up_mdelay.c up_udelay.c up_exit.c diff --git a/arch/arm/src/s32k1xx/s32k11x/Make.defs b/arch/arm/src/s32k1xx/s32k11x/Make.defs index 39682fb697..da1d05291c 100644 --- a/arch/arm/src/s32k1xx/s32k11x/Make.defs +++ b/arch/arm/src/s32k1xx/s32k11x/Make.defs @@ -36,7 +36,7 @@ # Source files specific to the Cortex-M0+ CMN_ASRCS += up_exception.S arm_saveusercontext.S arm_fullcontextrestore.S -CMN_ASRCS += up_switchcontext.S vfork.S +CMN_ASRCS += arm_switchcontext.S vfork.S CMN_CSRCS += up_assert.c up_blocktask.c arm_copyfullstate.c up_createstack.c CMN_CSRCS += up_initialstate.c up_releasepending.c up_reprioritizertr.c diff --git a/arch/arm/src/s32k1xx/s32k14x/Make.defs b/arch/arm/src/s32k1xx/s32k14x/Make.defs index e2fd11b137..b9b7ae3a69 100644 --- a/arch/arm/src/s32k1xx/s32k14x/Make.defs +++ b/arch/arm/src/s32k1xx/s32k14x/Make.defs @@ -35,7 +35,7 @@ # Source files specific to the Cortex-M4F -CMN_ASRCS += arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS += arm_saveusercontext.S arm_fullcontextrestore.S arm_switchcontext.S CMN_ASRCS += up_testset.S up_fetchadd.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/sam34/Make.defs b/arch/arm/src/sam34/Make.defs index 4bab360446..44b3c04924 100644 --- a/arch/arm/src/sam34/Make.defs +++ b/arch/arm/src/sam34/Make.defs @@ -43,7 +43,7 @@ HEAD_ASRC = CMN_UASRCS = CMN_UCSRCS = -CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S arm_switchcontext.S CMN_ASRCS += up_testset.S up_fetchadd.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/samd2l2/Make.defs b/arch/arm/src/samd2l2/Make.defs index a4bf70b9a0..a9a9f0933f 100644 --- a/arch/arm/src/samd2l2/Make.defs +++ b/arch/arm/src/samd2l2/Make.defs @@ -36,7 +36,7 @@ HEAD_ASRC = CMN_ASRCS = up_exception.S arm_saveusercontext.S arm_fullcontextrestore.S -CMN_ASRCS += up_switchcontext.S vfork.S +CMN_ASRCS += arm_switchcontext.S vfork.S CMN_CSRCS = up_allocateheap.c up_assert.c up_blocktask.c arm_copyfullstate.c CMN_CSRCS += up_createstack.c up_mdelay.c up_udelay.c up_exit.c diff --git a/arch/arm/src/samd5e5/Make.defs b/arch/arm/src/samd5e5/Make.defs index 8497bed0d1..3024e74962 100644 --- a/arch/arm/src/samd5e5/Make.defs +++ b/arch/arm/src/samd5e5/Make.defs @@ -42,7 +42,7 @@ HEAD_ASRC = CMN_UASRCS = CMN_UCSRCS = -CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S arm_switchcontext.S CMN_ASRCS += up_testset.S up_fetchadd.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/samv7/Make.defs b/arch/arm/src/samv7/Make.defs index e8d80cfc32..04f59b7dea 100644 --- a/arch/arm/src/samv7/Make.defs +++ b/arch/arm/src/samv7/Make.defs @@ -43,7 +43,7 @@ HEAD_ASRC = CMN_UASRCS = CMN_UCSRCS = -CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S arm_switchcontext.S CMN_ASRCS += up_testset.S up_fetchadd.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/stm32/Make.defs b/arch/arm/src/stm32/Make.defs index e7c40421c7..bb89968e60 100644 --- a/arch/arm/src/stm32/Make.defs +++ b/arch/arm/src/stm32/Make.defs @@ -38,7 +38,7 @@ HEAD_ASRC = CMN_UASRCS = CMN_UCSRCS = -CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S arm_switchcontext.S CMN_ASRCS += up_testset.S up_fetchadd.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/stm32f0l0g0/Make.defs b/arch/arm/src/stm32f0l0g0/Make.defs index 92aefd764c..00c605cd6a 100644 --- a/arch/arm/src/stm32f0l0g0/Make.defs +++ b/arch/arm/src/stm32f0l0g0/Make.defs @@ -37,7 +37,7 @@ HEAD_ASRC = CMN_ASRCS = up_exception.S arm_saveusercontext.S arm_fullcontextrestore.S -CMN_ASRCS += up_switchcontext.S vfork.S +CMN_ASRCS += arm_switchcontext.S vfork.S CMN_CSRCS = up_allocateheap.c up_assert.c up_blocktask.c arm_copyfullstate.c CMN_CSRCS += up_createstack.c up_mdelay.c up_udelay.c up_exit.c diff --git a/arch/arm/src/stm32f7/Make.defs b/arch/arm/src/stm32f7/Make.defs index 223b7f4b4a..af713d5e65 100644 --- a/arch/arm/src/stm32f7/Make.defs +++ b/arch/arm/src/stm32f7/Make.defs @@ -43,7 +43,7 @@ HEAD_ASRC = CMN_UASRCS = CMN_UCSRCS = -CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S arm_switchcontext.S CMN_ASRCS += up_testset.S up_fetchadd.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/stm32h7/Make.defs b/arch/arm/src/stm32h7/Make.defs index f24cbc1b23..9530768a82 100644 --- a/arch/arm/src/stm32h7/Make.defs +++ b/arch/arm/src/stm32h7/Make.defs @@ -43,7 +43,7 @@ HEAD_ASRC = CMN_UASRCS = CMN_UCSRCS = -CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S arm_switchcontext.S CMN_ASRCS += up_testset.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/stm32l4/Make.defs b/arch/arm/src/stm32l4/Make.defs index 676f94ca33..5ce1b37b4a 100644 --- a/arch/arm/src/stm32l4/Make.defs +++ b/arch/arm/src/stm32l4/Make.defs @@ -44,7 +44,7 @@ HEAD_ASRC = CMN_UASRCS = CMN_UCSRCS = -CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S arm_switchcontext.S CMN_ASRCS += up_testset.S up_fetchadd.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/tiva/Make.defs b/arch/arm/src/tiva/Make.defs index d60270363b..454a0999bc 100644 --- a/arch/arm/src/tiva/Make.defs +++ b/arch/arm/src/tiva/Make.defs @@ -36,7 +36,7 @@ HEAD_ASRC = -CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S arm_switchcontext.S CMN_ASRCS += up_testset.S up_fetchadd.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/xmc4/Make.defs b/arch/arm/src/xmc4/Make.defs index bceaed5867..dc50300f83 100644 --- a/arch/arm/src/xmc4/Make.defs +++ b/arch/arm/src/xmc4/Make.defs @@ -38,7 +38,7 @@ HEAD_ASRC = CMN_UASRCS = CMN_UCSRCS = -CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S arm_switchcontext.S CMN_ASRCS += up_testset.S up_fetchadd.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y)