summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cpu/x86/smm/smm_stub.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cpu/x86/smm/smm_stub.S b/src/cpu/x86/smm/smm_stub.S
index ad15c6c72a..0c05032577 100644
--- a/src/cpu/x86/smm/smm_stub.S
+++ b/src/cpu/x86/smm/smm_stub.S
@@ -135,6 +135,9 @@ smm_trampoline32:
movl stack_top, %edx
subl %eax, %edx /* global_stack_top - offset = stack_top */
mov %edx, %esp
+
+ /* Create stack frame by pushing a NULL stack base pointer */
+ pushl $0x0
mov %esp, %ebp
/* Allocate locals (fxsave) */