arch/x86: (Intel64) start up on _interrupt_stack, not _exception_stack

Simply for consistency with other platforms.

Signed-off-by: Charles E. Youse <charles.youse@intel.com>
This commit is contained in:
Charles E. Youse 2019-09-28 11:07:35 -04:00 committed by Anas Nashif
commit cc9be2e982

View file

@ -59,7 +59,7 @@ __start:
movw %ax, %fs movw %ax, %fs
movw %ax, %gs 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. */ /* 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 .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 .global _exception_stack