summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/arm/vfork.S
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/arm/src/arm/vfork.S')
-rw-r--r--nuttx/arch/arm/src/arm/vfork.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/arm/vfork.S b/nuttx/arch/arm/src/arm/vfork.S
index 226d9f7de..7c3c8b727 100644
--- a/nuttx/arch/arm/src/arm/vfork.S
+++ b/nuttx/arch/arm/src/arm/vfork.S
@@ -105,6 +105,7 @@ vfork:
mov r0, sp /* Save the value of the stack on entry */
sub sp, sp, #VFORK_SIZEOF /* Allocate the structure on the stack */
+ /* CPU registers */
/* Save the volatile registers */
str r4, [sp, #VFORK_R4_OFFSET]
@@ -121,6 +122,8 @@ vfork:
str r0, [sp, #VFORK_SP_OFFSET]
str lr, [sp, #VFORK_LR_OFFSET]
+ /* Floating point registers (not yet) */
+
/* Then, call up_vfork(), passing it a pointer to the stack structure */
mov r0, sp