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

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


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

commit f32e721d9f4477a4a67e125da3d8e50a94eacdfd
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