bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/3] x86_64: use solid intstack already during bootstrap


From: Luca Dariz
Subject: [PATCH 1/3] x86_64: use solid intstack already during bootstrap
Date: Thu, 15 Jun 2023 23:49:29 +0200

* x86_64/boothdr.S: there is no reason to not use it right away
---
 x86_64/boothdr.S | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/x86_64/boothdr.S b/x86_64/boothdr.S
index d81f9a78..0ab9bd55 100644
--- a/x86_64/boothdr.S
+++ b/x86_64/boothdr.S
@@ -158,7 +158,7 @@ switch64:
 
 boot_entry64:
        /* Switch to our own interrupt stack.  */
-       movq    $(_intstack+INTSTACK_SIZE),%rax
+       movq    $solid_intstack+INTSTACK_SIZE-16, %rax
        andq    $(~15),%rax
        movq    %rax,%rsp
 
@@ -192,9 +192,6 @@ iplt_done:
        /* not reached */
        nop
 
-       .section .boot.data
-       .comm   _intstack,INTSTACK_SIZE
-
        .code32
        .section .boot.data
        .align 4096
-- 
2.39.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]