From c532b83437704d626d657ea1b1d07f5b28d704da Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Wed, 26 Oct 2022 12:09:12 +0200 Subject: [PATCH] cpu/x86/smm_stub.S: Update comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit %ebp is used for the stack frame on which the fxrstor address is pushed. entry64.inc does not trash it so that's fine. Change-Id: If027437dccac9ad507ceb534c6aae77ea43bdfda Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/68896 Reviewed-by: Nico Huber Tested-by: build bot (Jenkins) Reviewed-by: Maximilian Brune Reviewed-by: Kyösti Mälkki --- src/cpu/x86/smm/smm_stub.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu/x86/smm/smm_stub.S b/src/cpu/x86/smm/smm_stub.S index 19e9c501ab..1411cbc770 100644 --- a/src/cpu/x86/smm/smm_stub.S +++ b/src/cpu/x86/smm/smm_stub.S @@ -230,7 +230,7 @@ apicid_end: movl %eax, -0x8(%ebp) movl %edx, -0xc(%ebp) - /* entry64.inc preserves ebx, esi, edi */ + /* entry64.inc preserves ebx, esi, edi, ebp */ #include mov %edi, %ecx