diff --git a/arch/arm/src/arm/up_saveusercontext.S b/arch/arm/src/arm/arm_saveusercontext.S similarity index 95% rename from arch/arm/src/arm/up_saveusercontext.S rename to arch/arm/src/arm/arm_saveusercontext.S index 1f0e2e1ea9e..f97e103097d 100644 --- a/arch/arm/src/arm/up_saveusercontext.S +++ b/arch/arm/src/arm/arm_saveusercontext.S @@ -1,5 +1,5 @@ /************************************************************************** - * arch/arm/src/arm/up_saveusercontext.S + * arch/arm/src/arm/arm_saveusercontext.S * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -69,13 +69,13 @@ **************************************************************************/ /************************************************************************** - * Name: up_saveusercontext + * Name: arm_saveusercontext **************************************************************************/ .text - .globl up_saveusercontext - .type up_saveusercontext, function -up_saveusercontext: + .globl arm_saveusercontext + .type arm_saveusercontext, function +arm_saveusercontext: /* On entry, a1 (r0) holds address of struct xcptcontext. * Offset to the user region. */ @@ -115,4 +115,4 @@ up_saveusercontext: mov r0, #0 /* Return value == 0 */ mov pc, lr /* Return */ - .size up_saveusercontext, . - up_saveusercontext + .size arm_saveusercontext, . - arm_saveusercontext diff --git a/arch/arm/src/arm/up_assert.c b/arch/arm/src/arm/up_assert.c index 03d12f1124e..271795b3ad7 100644 --- a/arch/arm/src/arm/up_assert.c +++ b/arch/arm/src/arm/up_assert.c @@ -138,7 +138,7 @@ static inline void up_registerdump(void) { /* No.. capture user registers by hand */ - up_saveusercontext(s_last_regs); + arm_saveusercontext(s_last_regs); regs = s_last_regs; } diff --git a/arch/arm/src/arm/up_blocktask.c b/arch/arm/src/arm/up_blocktask.c index fddb2d3f481..0561fe3d929 100644 --- a/arch/arm/src/arm/up_blocktask.c +++ b/arch/arm/src/arm/up_blocktask.c @@ -140,11 +140,11 @@ void up_block_task(struct tcb_s *tcb, tstate_t task_state) } /* Copy the user C context into the TCB at the (old) head of the - * ready-to-run Task list. if up_saveusercontext returns a non-zero + * ready-to-run Task list. if arm_saveusercontext returns a non-zero * value, then this is really the previously running task restarting! */ - else if (!up_saveusercontext(rtcb->xcp.regs)) + else if (!arm_saveusercontext(rtcb->xcp.regs)) { /* Restore the exception context of the rtcb at the (new) head * of the ready-to-run task list. diff --git a/arch/arm/src/arm/up_releasepending.c b/arch/arm/src/arm/up_releasepending.c index 5108db1fca7..0b1a2ac9623 100644 --- a/arch/arm/src/arm/up_releasepending.c +++ b/arch/arm/src/arm/up_releasepending.c @@ -94,12 +94,12 @@ void up_release_pending(void) } /* Copy the exception context into the TCB of the task that - * was currently active. if up_saveusercontext returns a non-zero + * was currently active. if arm_saveusercontext returns a non-zero * value, then this is really the previously running task * restarting! */ - else if (!up_saveusercontext(rtcb->xcp.regs)) + else if (!arm_saveusercontext(rtcb->xcp.regs)) { /* Restore the exception context of the rtcb at the (new) head * of the ready-to-run task list. diff --git a/arch/arm/src/arm/up_reprioritizertr.c b/arch/arm/src/arm/up_reprioritizertr.c index 20d5fe1eb0b..7f3d8b84451 100644 --- a/arch/arm/src/arm/up_reprioritizertr.c +++ b/arch/arm/src/arm/up_reprioritizertr.c @@ -149,12 +149,12 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority) } /* Copy the exception context into the TCB at the (old) head of the - * ready-to-run Task list. if up_saveusercontext returns a non-zero + * ready-to-run Task list. if arm_saveusercontext returns a non-zero * value, then this is really the previously running task * restarting! */ - else if (!up_saveusercontext(rtcb->xcp.regs)) + else if (!arm_saveusercontext(rtcb->xcp.regs)) { /* Restore the exception context of the rtcb at the (new) head * of the ready-to-run task list. diff --git a/arch/arm/src/arm/up_unblocktask.c b/arch/arm/src/arm/up_unblocktask.c index b517ced5c77..bc5d70d34dd 100644 --- a/arch/arm/src/arm/up_unblocktask.c +++ b/arch/arm/src/arm/up_unblocktask.c @@ -125,11 +125,11 @@ void up_unblock_task(struct tcb_s *tcb) /* We are not in an interrupt handler. Copy the user C context * into the TCB of the task that was previously active. if - * up_saveusercontext returns a non-zero value, then this is really the + * arm_saveusercontext returns a non-zero value, then this is really the * previously running task restarting! */ - else if (!up_saveusercontext(rtcb->xcp.regs)) + else if (!arm_saveusercontext(rtcb->xcp.regs)) { /* Restore the exception context of the new task that is ready to * run (probably tcb). This is the new rtcb at the head of the diff --git a/arch/arm/src/armv6-m/up_saveusercontext.S b/arch/arm/src/armv6-m/arm_saveusercontext.S similarity index 93% rename from arch/arm/src/armv6-m/up_saveusercontext.S rename to arch/arm/src/armv6-m/arm_saveusercontext.S index 0692bafe0aa..de10d8043cd 100644 --- a/arch/arm/src/armv6-m/up_saveusercontext.S +++ b/arch/arm/src/armv6-m/arm_saveusercontext.S @@ -1,5 +1,5 @@ /************************************************************************************ - * arch/arm/src/armv6-m/up_saveusercontext.S + * arch/arm/src/armv6-m/arm_saveusercontext.S * * Copyright (C) 2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -52,7 +52,7 @@ ************************************************************************************/ .cpu cortex-m0 - .file "up_saveusercontext.S" + .file "arm_saveusercontext.S" /************************************************************************************ * Macros @@ -63,12 +63,12 @@ ************************************************************************************/ /************************************************************************************ - * Name: up_saveusercontext + * Name: arm_saveusercontext * * Description: * Save the current thread context. Full prototype is: * - * int up_saveusercontext(uint32_t *saveregs); + * int arm_saveusercontext(uint32_t *saveregs); * * Returned Value: * 0: Normal return @@ -80,9 +80,9 @@ .align 2 .code 16 .thumb_func - .globl up_saveusercontext - .type up_saveusercontext, function -up_saveusercontext: + .globl arm_saveusercontext + .type arm_saveusercontext, function +arm_saveusercontext: /* Perform the System call with R0=0 and R1=regs */ @@ -101,5 +101,5 @@ up_saveusercontext: str r3, [r2, #0] /* Save return value */ bx lr /* "normal" return with r0=0 or * context switch with r0=1 */ - .size up_saveusercontext, .-up_saveusercontext + .size arm_saveusercontext, .-arm_saveusercontext .end diff --git a/arch/arm/src/armv6-m/svcall.h b/arch/arm/src/armv6-m/svcall.h index c91afce9b56..c992e4f6b9f 100644 --- a/arch/arm/src/armv6-m/svcall.h +++ b/arch/arm/src/armv6-m/svcall.h @@ -62,7 +62,7 @@ /* SYS call 0: * - * int up_saveusercontext(uint32_t *saveregs); + * int arm_saveusercontext(uint32_t *saveregs); */ #define SYS_save_context (0) diff --git a/arch/arm/src/armv6-m/up_assert.c b/arch/arm/src/armv6-m/up_assert.c index a33555576b1..fa057fbcb89 100644 --- a/arch/arm/src/armv6-m/up_assert.c +++ b/arch/arm/src/armv6-m/up_assert.c @@ -171,7 +171,7 @@ static inline void up_registerdump(void) { /* No.. capture user registers by hand */ - up_saveusercontext(s_last_regs); + arm_saveusercontext(s_last_regs); regs = s_last_regs; } diff --git a/arch/arm/src/armv6-m/up_svcall.c b/arch/arm/src/armv6-m/up_svcall.c index 11048528787..bee7f552910 100644 --- a/arch/arm/src/armv6-m/up_svcall.c +++ b/arch/arm/src/armv6-m/up_svcall.c @@ -156,7 +156,7 @@ int up_svcall(int irq, FAR void *context, FAR void *arg) { /* R0=SYS_save_context: This is a save context command: * - * int up_saveusercontext(uint32_t *saveregs); + * int arm_saveusercontext(uint32_t *saveregs); * * At this point, the following values are saved in context: * diff --git a/arch/arm/src/armv7-a/arm_assert.c b/arch/arm/src/armv7-a/arm_assert.c index 5f8f73344f7..69c64730ce4 100644 --- a/arch/arm/src/armv7-a/arm_assert.c +++ b/arch/arm/src/armv7-a/arm_assert.c @@ -175,7 +175,7 @@ static inline void up_registerdump(void) { /* No.. capture user registers by hand */ - up_saveusercontext(s_last_regs); + arm_saveusercontext(s_last_regs); regs = s_last_regs; } diff --git a/arch/arm/src/armv7-a/arm_blocktask.c b/arch/arm/src/armv7-a/arm_blocktask.c index 5c63861807e..b7a0625af28 100644 --- a/arch/arm/src/armv7-a/arm_blocktask.c +++ b/arch/arm/src/armv7-a/arm_blocktask.c @@ -140,11 +140,11 @@ void up_block_task(struct tcb_s *tcb, tstate_t task_state) } /* Copy the user C context into the TCB at the (old) head of the - * ready-to-run Task list. if up_saveusercontext returns a non-zero + * ready-to-run Task list. if arm_saveusercontext returns a non-zero * value, then this is really the previously running task restarting! */ - else if (!up_saveusercontext(rtcb->xcp.regs)) + else if (!arm_saveusercontext(rtcb->xcp.regs)) { /* Restore the exception context of the rtcb at the (new) head * of the ready-to-run task list. diff --git a/arch/arm/src/armv7-a/arm_releasepending.c b/arch/arm/src/armv7-a/arm_releasepending.c index 816633e5807..e12e38428d7 100644 --- a/arch/arm/src/armv7-a/arm_releasepending.c +++ b/arch/arm/src/armv7-a/arm_releasepending.c @@ -93,12 +93,12 @@ void up_release_pending(void) } /* Copy the exception context into the TCB of the task that - * was currently active. if up_saveusercontext returns a non-zero + * was currently active. if arm_saveusercontext returns a non-zero * value, then this is really the previously running task * restarting! */ - else if (!up_saveusercontext(rtcb->xcp.regs)) + else if (!arm_saveusercontext(rtcb->xcp.regs)) { /* Restore the exception context of the rtcb at the (new) head * of the ready-to-run task list. diff --git a/arch/arm/src/armv7-a/arm_reprioritizertr.c b/arch/arm/src/armv7-a/arm_reprioritizertr.c index e96f8fd3257..3bd1d242128 100644 --- a/arch/arm/src/armv7-a/arm_reprioritizertr.c +++ b/arch/arm/src/armv7-a/arm_reprioritizertr.c @@ -149,12 +149,12 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority) } /* Copy the exception context into the TCB at the (old) head of the - * ready-to-run Task list. if up_saveusercontext returns a non-zero + * ready-to-run Task list. if arm_saveusercontext returns a non-zero * value, then this is really the previously running task * restarting! */ - else if (!up_saveusercontext(rtcb->xcp.regs)) + else if (!arm_saveusercontext(rtcb->xcp.regs)) { /* Restore the exception context of the rtcb at the (new) head * of the ready-to-run task list. diff --git a/arch/arm/src/armv7-a/arm_saveusercontext.S b/arch/arm/src/armv7-a/arm_saveusercontext.S index 3bcfd21e452..ba7c6a3b378 100644 --- a/arch/arm/src/armv7-a/arm_saveusercontext.S +++ b/arch/arm/src/armv7-a/arm_saveusercontext.S @@ -46,7 +46,7 @@ * Public Symbols ****************************************************************************/ - .globl up_saveusercontext + .globl arm_saveusercontext /**************************************************************************** * Public Functions @@ -55,13 +55,13 @@ .text /**************************************************************************** - * Name: up_saveusercontext + * Name: arm_saveusercontext ****************************************************************************/ - .globl up_saveusercontext - .type up_saveusercontext, function + .globl arm_saveusercontext + .type arm_saveusercontext, function -up_saveusercontext: +arm_saveusercontext: /* On entry, a1 (r0) holds address of struct xcptcontext */ @@ -129,5 +129,5 @@ up_saveusercontext: mov r0, #1 /* Return value == 1 */ mov pc, lr /* Return */ - .size up_saveusercontext, . - up_saveusercontext + .size arm_saveusercontext, . - arm_saveusercontext .end diff --git a/arch/arm/src/armv7-a/arm_unblocktask.c b/arch/arm/src/armv7-a/arm_unblocktask.c index 7eb97a24857..814300ea023 100644 --- a/arch/arm/src/armv7-a/arm_unblocktask.c +++ b/arch/arm/src/armv7-a/arm_unblocktask.c @@ -142,11 +142,11 @@ void up_unblock_task(struct tcb_s *tcb) /* We are not in an interrupt handler. Copy the user C context * into the TCB of the task that was previously active. if - * up_saveusercontext returns a non-zero value, then this is really the + * arm_saveusercontext returns a non-zero value, then this is really the * previously running task restarting! */ - else if (!up_saveusercontext(rtcb->xcp.regs)) + else if (!arm_saveusercontext(rtcb->xcp.regs)) { /* Restore the exception context of the new task that is ready to * run (probably tcb). This is the new rtcb at the head of the diff --git a/arch/arm/src/armv7-m/gnu/up_saveusercontext.S b/arch/arm/src/armv7-m/gnu/arm_saveusercontext.S similarity index 90% rename from arch/arm/src/armv7-m/gnu/up_saveusercontext.S rename to arch/arm/src/armv7-m/gnu/arm_saveusercontext.S index 3bd07ccf47f..a75127b8915 100644 --- a/arch/arm/src/armv7-m/gnu/up_saveusercontext.S +++ b/arch/arm/src/armv7-m/gnu/arm_saveusercontext.S @@ -1,5 +1,5 @@ /************************************************************************************ - * arch/arm/src/armv7-m/gnu/up_saveusercontext.S + * arch/arm/src/armv7-m/gnu/arm_saveusercontext.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_saveusercontext.S" + .file "arm_saveusercontext.S" /************************************************************************************ * Macros @@ -49,12 +49,12 @@ ************************************************************************************/ /************************************************************************************ - * Name: up_saveusercontext + * Name: arm_saveusercontext * * Description: * Save the current thread context. Full prototype is: * - * int up_saveusercontext(uint32_t *saveregs); + * int arm_saveusercontext(uint32_t *saveregs); * * Returned Value: * 0: Normal return @@ -64,9 +64,9 @@ .text .thumb_func - .globl up_saveusercontext - .type up_saveusercontext, function -up_saveusercontext: + .globl arm_saveusercontext + .type arm_saveusercontext, function +arm_saveusercontext: /* Perform the System call with R0=0 and R1=regs */ @@ -84,5 +84,5 @@ up_saveusercontext: str r3, [r2, #0] bx lr /* "normal" return with r0=0 or * context switch with r0=1 */ - .size up_saveusercontext, .-up_saveusercontext + .size arm_saveusercontext, .-arm_saveusercontext .end diff --git a/arch/arm/src/armv7-m/iar/up_saveusercontext.S b/arch/arm/src/armv7-m/iar/arm_saveusercontext.S similarity index 93% rename from arch/arm/src/armv7-m/iar/up_saveusercontext.S rename to arch/arm/src/armv7-m/iar/arm_saveusercontext.S index 6cd0bdd75ff..c66a89c131d 100644 --- a/arch/arm/src/armv7-m/iar/up_saveusercontext.S +++ b/arch/arm/src/armv7-m/iar/arm_saveusercontext.S @@ -1,5 +1,5 @@ /************************************************************************************ - * arch/arm/src/armv7-m/iar/up_saveusercontext.S + * arch/arm/src/armv7-m/iar/arm_saveusercontext.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_saveusercontext + MODULE arm_saveusercontext SECTION .text:CODE:NOROOT(2) /************************************************************************************ @@ -39,7 +39,7 @@ * Public Symbols ************************************************************************************/ - PUBLIC up_saveusercontext + PUBLIC arm_saveusercontext /************************************************************************************ * Macros @@ -50,12 +50,12 @@ ************************************************************************************/ /************************************************************************************ - * Name: up_saveusercontext + * Name: arm_saveusercontext * * Description: * Save the current thread context. Full prototype is: * - * int up_saveusercontext(uint32_t *saveregs); + * int arm_saveusercontext(uint32_t *saveregs); * * Returned Value: * 0: Normal return @@ -65,7 +65,7 @@ THUMB -up_saveusercontext: +arm_saveusercontext: /* Perform the System call with R0=0 and R1=regs */ diff --git a/arch/arm/src/armv7-m/svcall.h b/arch/arm/src/armv7-m/svcall.h index 80d6b611d23..c381f599ecf 100644 --- a/arch/arm/src/armv7-m/svcall.h +++ b/arch/arm/src/armv7-m/svcall.h @@ -62,7 +62,7 @@ /* SYS call 0: * - * int up_saveusercontext(uint32_t *saveregs); + * int arm_saveusercontext(uint32_t *saveregs); */ #define SYS_save_context (0) diff --git a/arch/arm/src/armv7-m/up_assert.c b/arch/arm/src/armv7-m/up_assert.c index d9b04cc5fe6..ae2b01d4f90 100644 --- a/arch/arm/src/armv7-m/up_assert.c +++ b/arch/arm/src/armv7-m/up_assert.c @@ -159,7 +159,7 @@ static inline void up_registerdump(void) { /* No.. capture user registers by hand */ - up_saveusercontext(s_last_regs); + arm_saveusercontext(s_last_regs); regs = s_last_regs; } diff --git a/arch/arm/src/armv7-m/up_svcall.c b/arch/arm/src/armv7-m/up_svcall.c index 383da7e6767..77f0f4cea84 100644 --- a/arch/arm/src/armv7-m/up_svcall.c +++ b/arch/arm/src/armv7-m/up_svcall.c @@ -163,7 +163,7 @@ int up_svcall(int irq, FAR void *context, FAR void *arg) { /* R0=SYS_save_context: This is a save context command: * - * int up_saveusercontext(uint32_t *saveregs); + * int arm_saveusercontext(uint32_t *saveregs); * * At this point, the following values are saved in context: * diff --git a/arch/arm/src/armv7-r/arm_assert.c b/arch/arm/src/armv7-r/arm_assert.c index 7dbb045c84a..7584d950275 100644 --- a/arch/arm/src/armv7-r/arm_assert.c +++ b/arch/arm/src/armv7-r/arm_assert.c @@ -172,7 +172,7 @@ static inline void up_registerdump(void) { /* No.. capture user registers by hand */ - up_saveusercontext(s_last_regs); + arm_saveusercontext(s_last_regs); regs = s_last_regs; } diff --git a/arch/arm/src/armv7-r/arm_blocktask.c b/arch/arm/src/armv7-r/arm_blocktask.c index e8c28cf3f5f..84fafd6ca38 100644 --- a/arch/arm/src/armv7-r/arm_blocktask.c +++ b/arch/arm/src/armv7-r/arm_blocktask.c @@ -138,11 +138,11 @@ void up_block_task(struct tcb_s *tcb, tstate_t task_state) } /* Copy the user C context into the TCB at the (old) head of the - * ready-to-run Task list. if up_saveusercontext returns a non-zero + * ready-to-run Task list. if arm_saveusercontext returns a non-zero * value, then this is really the previously running task restarting! */ - else if (!up_saveusercontext(rtcb->xcp.regs)) + else if (!arm_saveusercontext(rtcb->xcp.regs)) { /* Restore the exception context of the rtcb at the (new) head * of the ready-to-run task list. diff --git a/arch/arm/src/armv7-r/arm_releasepending.c b/arch/arm/src/armv7-r/arm_releasepending.c index 2a4e1c5ac53..18fd7f41a6d 100644 --- a/arch/arm/src/armv7-r/arm_releasepending.c +++ b/arch/arm/src/armv7-r/arm_releasepending.c @@ -94,12 +94,12 @@ void up_release_pending(void) } /* Copy the exception context into the TCB of the task that - * was currently active. if up_saveusercontext returns a non-zero + * was currently active. if arm_saveusercontext returns a non-zero * value, then this is really the previously running task * restarting! */ - else if (!up_saveusercontext(rtcb->xcp.regs)) + else if (!arm_saveusercontext(rtcb->xcp.regs)) { /* Restore the exception context of the rtcb at the (new) head * of the ready-to-run task list. diff --git a/arch/arm/src/armv7-r/arm_reprioritizertr.c b/arch/arm/src/armv7-r/arm_reprioritizertr.c index d65df60daf8..6256b1f4e02 100644 --- a/arch/arm/src/armv7-r/arm_reprioritizertr.c +++ b/arch/arm/src/armv7-r/arm_reprioritizertr.c @@ -149,12 +149,12 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority) } /* Copy the exception context into the TCB at the (old) head of the - * ready-to-run Task list. if up_saveusercontext returns a non-zero + * ready-to-run Task list. if arm_saveusercontext returns a non-zero * value, then this is really the previously running task * restarting! */ - else if (!up_saveusercontext(rtcb->xcp.regs)) + else if (!arm_saveusercontext(rtcb->xcp.regs)) { /* Restore the exception context of the rtcb at the (new) head * of the ready-to-run task list. diff --git a/arch/arm/src/armv7-r/arm_saveusercontext.S b/arch/arm/src/armv7-r/arm_saveusercontext.S index babeb5337cb..cda19e49dc3 100644 --- a/arch/arm/src/armv7-r/arm_saveusercontext.S +++ b/arch/arm/src/armv7-r/arm_saveusercontext.S @@ -44,7 +44,7 @@ * Public Symbols ****************************************************************************/ - .globl up_saveusercontext + .globl arm_saveusercontext #ifdef CONFIG_ARCH_FPU .cpu cortex-r4f @@ -61,13 +61,13 @@ .text /**************************************************************************** - * Name: up_saveusercontext + * Name: arm_saveusercontext ****************************************************************************/ - .globl up_saveusercontext - .type up_saveusercontext, function + .globl arm_saveusercontext + .type arm_saveusercontext, function -up_saveusercontext: +arm_saveusercontext: /* On entry, a1 (r0) holds address of struct xcptcontext */ @@ -128,5 +128,5 @@ up_saveusercontext: mov r0, #0 /* Return value == 0 */ mov pc, lr /* Return */ - .size up_saveusercontext, . - up_saveusercontext + .size arm_saveusercontext, . - arm_saveusercontext .end diff --git a/arch/arm/src/armv7-r/arm_unblocktask.c b/arch/arm/src/armv7-r/arm_unblocktask.c index 086c96b9001..d360fa7e109 100644 --- a/arch/arm/src/armv7-r/arm_unblocktask.c +++ b/arch/arm/src/armv7-r/arm_unblocktask.c @@ -122,11 +122,11 @@ void up_unblock_task(struct tcb_s *tcb) /* We are not in an interrupt handler. Copy the user C context * into the TCB of the task that was previously active. if - * up_saveusercontext returns a non-zero value, then this is really the + * arm_saveusercontext returns a non-zero value, then this is really the * previously running task restarting! */ - else if (!up_saveusercontext(rtcb->xcp.regs)) + else if (!arm_saveusercontext(rtcb->xcp.regs)) { /* Restore the exception context of the new task that is ready to * run (probably tcb). This is the new rtcb at the head of the diff --git a/arch/arm/src/c5471/Make.defs b/arch/arm/src/c5471/Make.defs index e855124555f..263e44e8a0b 100644 --- a/arch/arm/src/c5471/Make.defs +++ b/arch/arm/src/c5471/Make.defs @@ -35,7 +35,7 @@ HEAD_ASRC = up_nommuhead.S -CMN_ASRCS = up_saveusercontext.S arm_fullcontextrestore.S vfork.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S vfork.S CMN_CSRCS = up_allocateheap.c up_assert.c up_blocktask.c arm_copyfullstate.c CMN_CSRCS += up_createstack.c up_dataabort.c up_mdelay.c up_udelay.c up_doirq.c diff --git a/arch/arm/src/common/up_internal.h b/arch/arm/src/common/up_internal.h index b83971fc8f9..bfeb55d2b0d 100644 --- a/arch/arm/src/common/up_internal.h +++ b/arch/arm/src/common/up_internal.h @@ -299,7 +299,7 @@ void arm_copyfullstate(uint32_t *dest, uint32_t *src); void arm_copyarmstate(uint32_t *dest, uint32_t *src); #endif void up_decodeirq(uint32_t *regs); -int up_saveusercontext(uint32_t *saveregs); +int arm_saveusercontext(uint32_t *saveregs); void arm_fullcontextrestore(uint32_t *restoreregs) noreturn_function; void up_switchcontext(uint32_t *saveregs, uint32_t *restoreregs); diff --git a/arch/arm/src/cxd56xx/Make.defs b/arch/arm/src/cxd56xx/Make.defs index 15bfc1a22e9..65318d7189e 100644 --- a/arch/arm/src/cxd56xx/Make.defs +++ b/arch/arm/src/cxd56xx/Make.defs @@ -37,7 +37,7 @@ HEAD_ASRC = -CMN_ASRCS = up_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S CMN_ASRCS += up_testset.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/dm320/Make.defs b/arch/arm/src/dm320/Make.defs index 920f3967174..8b8cf649abe 100644 --- a/arch/arm/src/dm320/Make.defs +++ b/arch/arm/src/dm320/Make.defs @@ -35,7 +35,7 @@ HEAD_ASRC = up_head.S -CMN_ASRCS = up_cache.S arm_fullcontextrestore.S up_saveusercontext.S +CMN_ASRCS = up_cache.S arm_fullcontextrestore.S arm_saveusercontext.S CMN_ASRCS += up_vectors.S up_vectoraddrexcptn.S up_vectortab.S vfork.S CMN_CSRCS = up_assert.c up_blocktask.c arm_copyfullstate.c up_createstack.c diff --git a/arch/arm/src/efm32/Make.defs b/arch/arm/src/efm32/Make.defs index eb512b03107..962fa389a79 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 = up_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S CMN_ASRCS += up_testset.S up_fetchadd.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/imx1/Make.defs b/arch/arm/src/imx1/Make.defs index c884b963b02..05fb26824b9 100644 --- a/arch/arm/src/imx1/Make.defs +++ b/arch/arm/src/imx1/Make.defs @@ -35,7 +35,7 @@ HEAD_ASRC = up_head.S -CMN_ASRCS = up_cache.S arm_fullcontextrestore.S up_saveusercontext.S +CMN_ASRCS = up_cache.S arm_fullcontextrestore.S arm_saveusercontext.S CMN_ASRCS += up_vectors.S up_vectoraddrexcptn.S up_vectortab.S vfork.S CMN_CSRCS = up_assert.c up_blocktask.c arm_copyfullstate.c up_createstack.c CMN_CSRCS += up_dataabort.c up_mdelay.c up_udelay.c up_exit.c diff --git a/arch/arm/src/imxrt/Make.defs b/arch/arm/src/imxrt/Make.defs index 2eb7f07645d..f2445913ea4 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 = up_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_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 b223655e7ab..c9832abd858 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 = up_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_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 59f4b7f0607..8462ae859e2 100644 --- a/arch/arm/src/kl/Make.defs +++ b/arch/arm/src/kl/Make.defs @@ -35,7 +35,7 @@ HEAD_ASRC = -CMN_ASRCS = up_exception.S up_saveusercontext.S arm_fullcontextrestore.S +CMN_ASRCS = up_exception.S arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += up_switchcontext.S vfork.S CMN_CSRCS = up_allocateheap.c up_assert.c up_blocktask.c arm_copyfullstate.c diff --git a/arch/arm/src/lc823450/Make.defs b/arch/arm/src/lc823450/Make.defs index b54e9b3d535..b06bf6f6542 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 = up_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_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 3faece84a8c..9bf39c7faa2 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 = up_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S CMN_ASRCS += up_testset.S up_fetchadd.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/lpc214x/Make.defs b/arch/arm/src/lpc214x/Make.defs index fd0dff4813c..2ba1a7505f3 100644 --- a/arch/arm/src/lpc214x/Make.defs +++ b/arch/arm/src/lpc214x/Make.defs @@ -36,7 +36,7 @@ HEAD_ASRC = lpc214x_head.S -CMN_ASRCS = up_saveusercontext.S arm_fullcontextrestore.S up_vectors.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_vectors.S CMN_ASRCS += vfork.S CMN_CSRCS = up_allocateheap.c up_assert.c up_blocktask.c arm_copyfullstate.c diff --git a/arch/arm/src/lpc2378/Make.defs b/arch/arm/src/lpc2378/Make.defs index 34369cdab65..6cc277d2fdc 100644 --- a/arch/arm/src/lpc2378/Make.defs +++ b/arch/arm/src/lpc2378/Make.defs @@ -40,7 +40,7 @@ HEAD_ASRC = lpc23xx_head.S -CMN_ASRCS = up_saveusercontext.S arm_fullcontextrestore.S up_vectors.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_vectors.S CMN_ASRCS += vfork.S CMN_CSRCS = up_allocateheap.c up_assert.c up_blocktask.c arm_copyfullstate.c CMN_CSRCS += up_createstack.c up_dataabort.c up_mdelay.c up_udelay.c diff --git a/arch/arm/src/lpc31xx/Make.defs b/arch/arm/src/lpc31xx/Make.defs index ca0f97152a2..7c1a021cfb5 100644 --- a/arch/arm/src/lpc31xx/Make.defs +++ b/arch/arm/src/lpc31xx/Make.defs @@ -35,7 +35,7 @@ HEAD_ASRC = up_head.S -CMN_ASRCS = up_cache.S arm_fullcontextrestore.S up_saveusercontext.S +CMN_ASRCS = up_cache.S arm_fullcontextrestore.S arm_saveusercontext.S CMN_ASRCS += up_vectors.S up_vectoraddrexcptn.S up_vectortab.S vfork.S CMN_CSRCS = up_assert.c up_blocktask.c arm_copyfullstate.c up_createstack.c diff --git a/arch/arm/src/lpc43xx/Make.defs b/arch/arm/src/lpc43xx/Make.defs index c31953df0b4..0aae09a169b 100644 --- a/arch/arm/src/lpc43xx/Make.defs +++ b/arch/arm/src/lpc43xx/Make.defs @@ -35,7 +35,7 @@ HEAD_ASRC = -CMN_ASRCS = up_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_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 aec4e76f547..f1c2994db73 100644 --- a/arch/arm/src/lpc54xx/Make.defs +++ b/arch/arm/src/lpc54xx/Make.defs @@ -35,7 +35,7 @@ HEAD_ASRC = -CMN_ASRCS = up_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_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 87617d07376..0589dccfb0e 100644 --- a/arch/arm/src/max326xx/Make.defs +++ b/arch/arm/src/max326xx/Make.defs @@ -37,7 +37,7 @@ HEAD_ASRC = -CMN_ASRCS = up_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S CMN_ASRCS += up_testset.S up_fetchadd.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/moxart/Make.defs b/arch/arm/src/moxart/Make.defs index fabad4c62c1..65253b53230 100644 --- a/arch/arm/src/moxart/Make.defs +++ b/arch/arm/src/moxart/Make.defs @@ -38,7 +38,7 @@ HEAD_ASRC = moxart_head.S -CMN_ASRCS = up_saveusercontext.S arm_fullcontextrestore.S up_vectors.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_vectors.S CMN_ASRCS += up_nommuhead.S vfork.S CMN_CSRCS = up_allocateheap.c up_assert.c up_blocktask.c arm_copyfullstate.c CMN_CSRCS += up_createstack.c up_dataabort.c up_mdelay.c up_udelay.c diff --git a/arch/arm/src/nrf52/Make.defs b/arch/arm/src/nrf52/Make.defs index dfae96cdcc0..a031667ea00 100644 --- a/arch/arm/src/nrf52/Make.defs +++ b/arch/arm/src/nrf52/Make.defs @@ -35,7 +35,7 @@ HEAD_ASRC = -CMN_ASRCS = up_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_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 a859d7b48bf..b3174e15a5c 100644 --- a/arch/arm/src/nuc1xx/Make.defs +++ b/arch/arm/src/nuc1xx/Make.defs @@ -35,7 +35,7 @@ HEAD_ASRC = -CMN_ASRCS = up_exception.S up_saveusercontext.S arm_fullcontextrestore.S +CMN_ASRCS = up_exception.S arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += up_switchcontext.S vfork.S CMN_CSRCS = up_allocateheap.c up_assert.c up_blocktask.c arm_copyfullstate.c diff --git a/arch/arm/src/s32k1xx/s32k11x/Make.defs b/arch/arm/src/s32k1xx/s32k11x/Make.defs index 5f6afdcaf89..39682fb697e 100644 --- a/arch/arm/src/s32k1xx/s32k11x/Make.defs +++ b/arch/arm/src/s32k1xx/s32k11x/Make.defs @@ -35,7 +35,7 @@ # Source files specific to the Cortex-M0+ -CMN_ASRCS += up_exception.S up_saveusercontext.S arm_fullcontextrestore.S +CMN_ASRCS += up_exception.S arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += up_switchcontext.S vfork.S CMN_CSRCS += up_assert.c up_blocktask.c arm_copyfullstate.c up_createstack.c diff --git a/arch/arm/src/s32k1xx/s32k14x/Make.defs b/arch/arm/src/s32k1xx/s32k14x/Make.defs index c750a6f1cb7..e2fd11b1370 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 += up_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS += arm_saveusercontext.S arm_fullcontextrestore.S up_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 7c83d62bb51..4bab3604466 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 = up_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_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 734f2bddb6d..a4bf70b9a04 100644 --- a/arch/arm/src/samd2l2/Make.defs +++ b/arch/arm/src/samd2l2/Make.defs @@ -35,7 +35,7 @@ HEAD_ASRC = -CMN_ASRCS = up_exception.S up_saveusercontext.S arm_fullcontextrestore.S +CMN_ASRCS = up_exception.S arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += up_switchcontext.S vfork.S CMN_CSRCS = up_allocateheap.c up_assert.c up_blocktask.c arm_copyfullstate.c diff --git a/arch/arm/src/samd5e5/Make.defs b/arch/arm/src/samd5e5/Make.defs index b726cee155a..8497bed0d14 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 = up_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_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 ad06c8ddd0b..e8d80cfc32b 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 = up_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_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 fef8e6510dc..e7c40421c7e 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 = up_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_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 4bb726741fe..92aefd764cd 100644 --- a/arch/arm/src/stm32f0l0g0/Make.defs +++ b/arch/arm/src/stm32f0l0g0/Make.defs @@ -36,7 +36,7 @@ HEAD_ASRC = -CMN_ASRCS = up_exception.S up_saveusercontext.S arm_fullcontextrestore.S +CMN_ASRCS = up_exception.S arm_saveusercontext.S arm_fullcontextrestore.S CMN_ASRCS += up_switchcontext.S vfork.S CMN_CSRCS = up_allocateheap.c up_assert.c up_blocktask.c arm_copyfullstate.c diff --git a/arch/arm/src/stm32f7/Make.defs b/arch/arm/src/stm32f7/Make.defs index 6bd5510aaaa..223b7f4b4a9 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 = up_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_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 417d6598276..f24cbc1b235 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 = up_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_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 ea1ee865945..676f94ca337 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 = up_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S CMN_ASRCS += up_testset.S up_fetchadd.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/arch/arm/src/str71x/Make.defs b/arch/arm/src/str71x/Make.defs index 64284e04855..dbd785af78d 100644 --- a/arch/arm/src/str71x/Make.defs +++ b/arch/arm/src/str71x/Make.defs @@ -35,7 +35,7 @@ HEAD_ASRC = str71x_head.S -CMN_ASRCS = up_saveusercontext.S arm_fullcontextrestore.S up_vectors.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_vectors.S CMN_ASRCS += vfork.S CMN_CSRCS = up_allocateheap.c up_assert.c up_blocktask.c arm_copyfullstate.c diff --git a/arch/arm/src/tiva/Make.defs b/arch/arm/src/tiva/Make.defs index fdaed7d7dcd..d60270363b6 100644 --- a/arch/arm/src/tiva/Make.defs +++ b/arch/arm/src/tiva/Make.defs @@ -36,7 +36,7 @@ HEAD_ASRC = -CMN_ASRCS = up_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_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 b1ab32f435b..bceaed5867c 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 = up_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S +CMN_ASRCS = arm_saveusercontext.S arm_fullcontextrestore.S up_switchcontext.S CMN_ASRCS += up_testset.S up_fetchadd.S vfork.S ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/boards/arm/cxd56xx/spresense/src/cxd56_ostest.c b/boards/arm/cxd56xx/spresense/src/cxd56_ostest.c index d9ca715903d..256008938a2 100644 --- a/boards/arm/cxd56xx/spresense/src/cxd56_ostest.c +++ b/boards/arm/cxd56xx/spresense/src/cxd56_ostest.c @@ -93,7 +93,7 @@ void arch_getfpu(FAR uint32_t *fpusave) /* Take a snapshot of the thread context right now */ flags = enter_critical_section(); - up_saveusercontext(g_saveregs); + arm_saveusercontext(g_saveregs); /* Return only the floating register values */ diff --git a/boards/arm/lpc43xx/bambino-200e/src/lpc43_ostest.c b/boards/arm/lpc43xx/bambino-200e/src/lpc43_ostest.c index 2962a9c6b47..f0f4b620246 100644 --- a/boards/arm/lpc43xx/bambino-200e/src/lpc43_ostest.c +++ b/boards/arm/lpc43xx/bambino-200e/src/lpc43_ostest.c @@ -91,7 +91,7 @@ void arch_getfpu(FAR uint32_t *fpusave) /* Take a snapshot of the thread context right now */ flags = enter_critical_section(); - up_saveusercontext(g_saveregs); + arm_saveusercontext(g_saveregs); /* Return only the floating register values */ diff --git a/boards/arm/lpc43xx/lpc4330-xplorer/src/lpc43_ostest.c b/boards/arm/lpc43xx/lpc4330-xplorer/src/lpc43_ostest.c index 2641cdd8c37..65ba032d9e6 100644 --- a/boards/arm/lpc43xx/lpc4330-xplorer/src/lpc43_ostest.c +++ b/boards/arm/lpc43xx/lpc4330-xplorer/src/lpc43_ostest.c @@ -94,7 +94,7 @@ void arch_getfpu(FAR uint32_t *fpusave) /* Take a snapshot of the thread context right now */ flags = enter_critical_section(); - up_saveusercontext(g_saveregs); + arm_saveusercontext(g_saveregs); /* Return only the floating register values */ diff --git a/boards/arm/lpc43xx/lpc4357-evb/src/lpc43_ostest.c b/boards/arm/lpc43xx/lpc4357-evb/src/lpc43_ostest.c index 07736e16779..5a73088f5ff 100644 --- a/boards/arm/lpc43xx/lpc4357-evb/src/lpc43_ostest.c +++ b/boards/arm/lpc43xx/lpc4357-evb/src/lpc43_ostest.c @@ -94,7 +94,7 @@ void arch_getfpu(FAR uint32_t *fpusave) /* Take a snapshot of the thread context right now */ flags = enter_critical_section(); - up_saveusercontext(g_saveregs); + arm_saveusercontext(g_saveregs); /* Return only the floating register values */ diff --git a/boards/arm/lpc43xx/lpc4370-link2/src/lpc43_ostest.c b/boards/arm/lpc43xx/lpc4370-link2/src/lpc43_ostest.c index 8d6ba8c29a9..252345ac465 100644 --- a/boards/arm/lpc43xx/lpc4370-link2/src/lpc43_ostest.c +++ b/boards/arm/lpc43xx/lpc4370-link2/src/lpc43_ostest.c @@ -94,7 +94,7 @@ void arch_getfpu(FAR uint32_t *fpusave) /* Take a snapshot of the thread context right now */ flags = enter_critical_section(); - up_saveusercontext(g_saveregs); + arm_saveusercontext(g_saveregs); /* Return only the floating register values */ diff --git a/boards/arm/sama5/sama5d2-xult/src/sam_ostest.c b/boards/arm/sama5/sama5d2-xult/src/sam_ostest.c index e998ee27189..92b7f511a33 100644 --- a/boards/arm/sama5/sama5d2-xult/src/sam_ostest.c +++ b/boards/arm/sama5/sama5d2-xult/src/sam_ostest.c @@ -79,7 +79,7 @@ void arch_getfpu(FAR uint32_t *fpusave) /* Take a snapshot of the thread context right now */ flags = enter_critical_section(); - up_saveusercontext(g_saveregs); + arm_saveusercontext(g_saveregs); /* Return only the floating register values */ diff --git a/boards/arm/sama5/sama5d3-xplained/src/sam_ostest.c b/boards/arm/sama5/sama5d3-xplained/src/sam_ostest.c index dac0ef19de4..2f14d6c7841 100644 --- a/boards/arm/sama5/sama5d3-xplained/src/sam_ostest.c +++ b/boards/arm/sama5/sama5d3-xplained/src/sam_ostest.c @@ -94,7 +94,7 @@ void arch_getfpu(FAR uint32_t *fpusave) /* Take a snapshot of the thread context right now */ flags = enter_critical_section(); - up_saveusercontext(g_saveregs); + arm_saveusercontext(g_saveregs); /* Return only the floating register values */ diff --git a/boards/arm/sama5/sama5d3x-ek/src/sam_ostest.c b/boards/arm/sama5/sama5d3x-ek/src/sam_ostest.c index d7b39cd1037..10ac775b950 100644 --- a/boards/arm/sama5/sama5d3x-ek/src/sam_ostest.c +++ b/boards/arm/sama5/sama5d3x-ek/src/sam_ostest.c @@ -93,7 +93,7 @@ void arch_getfpu(FAR uint32_t *fpusave) /* Take a snapshot of the thread context right now */ flags = enter_critical_section(); - up_saveusercontext(g_saveregs); + arm_saveusercontext(g_saveregs); /* Return only the floating register values */ diff --git a/boards/arm/sama5/sama5d4-ek/src/sam_ostest.c b/boards/arm/sama5/sama5d4-ek/src/sam_ostest.c index fdadec6b63e..a4c85e692cf 100644 --- a/boards/arm/sama5/sama5d4-ek/src/sam_ostest.c +++ b/boards/arm/sama5/sama5d4-ek/src/sam_ostest.c @@ -94,7 +94,7 @@ void arch_getfpu(FAR uint32_t *fpusave) /* Take a snapshot of the thread context right now */ flags = enter_critical_section(); - up_saveusercontext(g_saveregs); + arm_saveusercontext(g_saveregs); /* Return only the floating register values */ diff --git a/boards/arm/stm32/omnibusf4/src/stm32_ostest.c b/boards/arm/stm32/omnibusf4/src/stm32_ostest.c index c5dbac6efa2..834f589ac41 100644 --- a/boards/arm/stm32/omnibusf4/src/stm32_ostest.c +++ b/boards/arm/stm32/omnibusf4/src/stm32_ostest.c @@ -92,7 +92,7 @@ void arch_getfpu(FAR uint32_t *fpusave) /* Take a snapshot of the thread context right now */ flags = enter_critical_section(); - up_saveusercontext(g_saveregs); + arm_saveusercontext(g_saveregs); /* Return only the floating register values */ diff --git a/boards/arm/stm32/stm3240g-eval/src/stm32_ostest.c b/boards/arm/stm32/stm3240g-eval/src/stm32_ostest.c index ae9e801dea6..9b63bee8bc9 100644 --- a/boards/arm/stm32/stm3240g-eval/src/stm32_ostest.c +++ b/boards/arm/stm32/stm3240g-eval/src/stm32_ostest.c @@ -92,7 +92,7 @@ void arch_getfpu(FAR uint32_t *fpusave) /* Take a snapshot of the thread context right now */ flags = enter_critical_section(); - up_saveusercontext(g_saveregs); + arm_saveusercontext(g_saveregs); /* Return only the floating register values */ diff --git a/boards/arm/stm32/stm32f429i-disco/src/stm32_ostest.c b/boards/arm/stm32/stm32f429i-disco/src/stm32_ostest.c index 14985086b4a..a27cdd3890d 100644 --- a/boards/arm/stm32/stm32f429i-disco/src/stm32_ostest.c +++ b/boards/arm/stm32/stm32f429i-disco/src/stm32_ostest.c @@ -92,7 +92,7 @@ void arch_getfpu(FAR uint32_t *fpusave) /* Take a snapshot of the thread context right now */ flags = enter_critical_section(); - up_saveusercontext(g_saveregs); + arm_saveusercontext(g_saveregs); /* Return only the floating register values */ diff --git a/boards/arm/stm32/stm32f4discovery/src/stm32_ostest.c b/boards/arm/stm32/stm32f4discovery/src/stm32_ostest.c index 8a3e59fbe77..411e90b4af4 100644 --- a/boards/arm/stm32/stm32f4discovery/src/stm32_ostest.c +++ b/boards/arm/stm32/stm32f4discovery/src/stm32_ostest.c @@ -90,7 +90,7 @@ void arch_getfpu(FAR uint32_t *fpusave) /* Take a snapshot of the thread context right now */ flags = enter_critical_section(); - up_saveusercontext(g_saveregs); + arm_saveusercontext(g_saveregs); /* Return only the floating register values */ diff --git a/boards/arm/stm32f7/stm32f746g-disco/src/stm32_ostest.c b/boards/arm/stm32f7/stm32f746g-disco/src/stm32_ostest.c index df2de5ef5f2..214d3254ed6 100644 --- a/boards/arm/stm32f7/stm32f746g-disco/src/stm32_ostest.c +++ b/boards/arm/stm32f7/stm32f746g-disco/src/stm32_ostest.c @@ -92,7 +92,7 @@ void arch_getfpu(FAR uint32_t *fpusave) /* Take a snapshot of the thread context right now */ flags = enter_critical_section(); - up_saveusercontext(g_saveregs); + arm_saveusercontext(g_saveregs); /* Return only the floating register values */ diff --git a/boards/arm/stm32f7/stm32f769i-disco/src/stm32_ostest.c b/boards/arm/stm32f7/stm32f769i-disco/src/stm32_ostest.c index 961d563c83e..a92ac551483 100644 --- a/boards/arm/stm32f7/stm32f769i-disco/src/stm32_ostest.c +++ b/boards/arm/stm32f7/stm32f769i-disco/src/stm32_ostest.c @@ -93,7 +93,7 @@ void arch_getfpu(FAR uint32_t *fpusave) /* Take a snapshot of the thread context right now */ flags = enter_critical_section(); - up_saveusercontext(g_saveregs); + arm_saveusercontext(g_saveregs); /* Return only the floating register values */ diff --git a/boards/arm/xmc4/xmc4500-relax/src/xmc4_ostest.c b/boards/arm/xmc4/xmc4500-relax/src/xmc4_ostest.c index 76e4732ea64..857ab5e6baa 100644 --- a/boards/arm/xmc4/xmc4500-relax/src/xmc4_ostest.c +++ b/boards/arm/xmc4/xmc4500-relax/src/xmc4_ostest.c @@ -90,7 +90,7 @@ void arch_getfpu(FAR uint32_t *fpusave) /* Take a snapshot of the thread context right now */ flags = enter_critical_section(); - up_saveusercontext(g_saveregs); + arm_saveusercontext(g_saveregs); /* Return only the floating register values */ diff --git a/boards/arm/xmc4/xmc4700-relax/src/xmc4_ostest.c b/boards/arm/xmc4/xmc4700-relax/src/xmc4_ostest.c index 02e2412f22a..6e55288de8b 100644 --- a/boards/arm/xmc4/xmc4700-relax/src/xmc4_ostest.c +++ b/boards/arm/xmc4/xmc4700-relax/src/xmc4_ostest.c @@ -75,7 +75,7 @@ void arch_getfpu(FAR uint32_t *fpusave) /* Take a snapshot of the thread context right now */ flags = enter_critical_section(); - up_saveusercontext(g_saveregs); + arm_saveusercontext(g_saveregs); /* Return only the floating register values */