This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new c166c98e0c arch: x86_64: Fix idle stack assignment
c166c98e0c is described below

commit c166c98e0cb20ef6ee13c040d7aec09c7b9af8ec
Author: Simon Piriou <spirio...@gmail.com>
AuthorDate: Wed Oct 11 23:14:13 2023 +0200

    arch: x86_64: Fix idle stack assignment
---
 arch/x86_64/src/intel64/intel64_head.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86_64/src/intel64/intel64_head.S 
b/arch/x86_64/src/intel64/intel64_head.S
index 9bfdf3b39b..34c7bdf8da 100644
--- a/arch/x86_64/src/intel64/intel64_head.S
+++ b/arch/x86_64/src/intel64/intel64_head.S
@@ -289,7 +289,7 @@ clear_bss:
 
     // Properly setup RSP to idle stack
     movabs  $g_idle_topstack,    %rbx
-    mov     %rbx,   %rsp
+    mov     (%rbx),   %rsp
 
     /* Initialize and start NuttX */
     call    up_lowsetup                     /* Low-level, pre-OS 
initialization */

Reply via email to