Cortex-M0/NUC120 now passes OS test; calibration NuTiny-NUC120 delay loop

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5677 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2013-02-26 20:53:21 +00:00
parent 3c8d1c5dff
commit 00143c4401
2 changed files with 6 additions and 6 deletions
+2 -3
View File
@@ -119,9 +119,8 @@ vfork:
mov r6, r10 mov r6, r10
mov r7, fp mov r7, fp
stmia r1!, {r4-r7} /* Save r8-r10 and fp in the structure */ stmia r1!, {r4-r7} /* Save r8-r10 and fp in the structure */
str r0, [r1, #0] /* Save the stack pointer in the structure */ mov r5, lr /* Copy lr to a low register */
mov r0, r14 /* Copy lr to a low registers */ stmia r1!, {r0,r5} /* Save sp and lr in the structure */
str r0, [r1, #0] /* Save the stack pointer in the structure */
/* Then, call up_vfork(), passing it a pointer to the stack structure */ /* Then, call up_vfork(), passing it a pointer to the stack structure */
+1
View File
@@ -134,6 +134,7 @@ pid_t up_vfork(const struct vfork_s *context)
uint32_t stackutil; uint32_t stackutil;
int ret; int ret;
svdbg("vfork context [%p]:\n", context);
svdbg(" r4:%08x r5:%08x r6:%08x r7:%08x\n", svdbg(" r4:%08x r5:%08x r6:%08x r7:%08x\n",
context->r4, context->r5, context->r6, context->r7); context->r4, context->r5, context->r6, context->r7);
svdbg(" r8:%08x r9:%08x r10:%08x\n", svdbg(" r8:%08x r9:%08x r10:%08x\n",