summaryrefslogtreecommitdiff
path: root/x86_64
diff options
context:
space:
mode:
authorLuca Dariz <luca@orpolo.org>2023-06-15 23:49:29 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-06-17 23:10:30 +0200
commit54d025d426d0442a0f33c98272dee167acdb8613 (patch)
tree6c9535f0d262a645d1bb2815dda927f4c50c4520 /x86_64
parent2e6b257f39ab90938ac9d425629cdf0897a47e48 (diff)
x86_64: use solid intstack already during bootstrap
* x86_64/boothdr.S: there is no reason to not use it right away Message-Id: <20230615214931.189270-1-luca@orpolo.org>
Diffstat (limited to 'x86_64')
-rw-r--r--x86_64/boothdr.S5
1 files changed, 1 insertions, 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