From cc9be2e982c5be02487411c0fb71d3c3d681984d Mon Sep 17 00:00:00 2001 From: "Charles E. Youse" Date: Sat, 28 Sep 2019 11:07:35 -0400 Subject: [PATCH] arch/x86: (Intel64) start up on _interrupt_stack, not _exception_stack Simply for consistency with other platforms. Signed-off-by: Charles E. Youse --- arch/x86/core/intel64/locore.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/core/intel64/locore.S b/arch/x86/core/intel64/locore.S index f908c4a55fb..42e1136a722 100644 --- a/arch/x86/core/intel64/locore.S +++ b/arch/x86/core/intel64/locore.S @@ -59,7 +59,7 @@ __start: movw %ax, %fs movw %ax, %gs - movl $(_exception_stack + CONFIG_EXCEPTION_STACK_SIZE), %esp + movl $(_interrupt_stack + CONFIG_ISR_STACK_SIZE), %esp /* transition to long mode. along the way, we enable SSE. */ @@ -582,7 +582,7 @@ pdp: .long 0x00000183 /* 0x183 = G, 1GB, R/W, P */ .fill 4064, 1, 0 /* - * The exception stack is used both for exceptions and early initialization. + * Known-good stack for handling CPU exceptions. */ .global _exception_stack