aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/x86/sipi_vector.S
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2020-08-24 11:34:47 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-08-24 11:35:31 +0000
commit0fc1f2fb6f85f1c3d5fc911520c1e92f9db02469 (patch)
treece103c56b2e1a0c7b2644c08ace75f35a57647ff /src/cpu/x86/sipi_vector.S
parentdda2de81c74d7cd37c871b525cdd1a00b87ca496 (diff)
Revert "cpu/x86/sipi: Add x86_64 support"
This reverts commit 18ad7fa51f5c6560c9d7a9bcf68e9e277e37cd49. Breaks Mpinit. The log shows: SIPI module has no parameters. MP initialization failure. Change-Id: Ideed19437667124a02c0f03aa7be8dec042d0f44 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44734 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/cpu/x86/sipi_vector.S')
-rw-r--r--src/cpu/x86/sipi_vector.S13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/cpu/x86/sipi_vector.S b/src/cpu/x86/sipi_vector.S
index bda49cc029..ba1ecb7de6 100644
--- a/src/cpu/x86/sipi_vector.S
+++ b/src/cpu/x86/sipi_vector.S
@@ -192,24 +192,11 @@ load_msr:
mov %eax, %cr4
#endif
-#ifdef __x86_64__
- /* entry64.inc preserves ebx. */
-#include <cpu/x86/64bit/entry64.inc>
-
- mov %rsi, %rdi /* cpu_num */
-
- movl c_handler, %eax
- call *%rax
-#else
/* c_handler(cpu_num), preserve proper stack alignment */
sub $12, %esp
push %esi /* cpu_num */
-
mov c_handler, %eax
call *%eax
-#endif
-
-
halt_jump:
hlt
jmp halt_jump