cpu/x86/smm_stub.S: Update comment

%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 <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68896
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
Arthur Heymans 2022-10-26 12:09:12 +02:00 committed by Felix Held
parent d81ee3f1eb
commit c532b83437
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ apicid_end:
movl %eax, -0x8(%ebp) movl %eax, -0x8(%ebp)
movl %edx, -0xc(%ebp) movl %edx, -0xc(%ebp)
/* entry64.inc preserves ebx, esi, edi */ /* entry64.inc preserves ebx, esi, edi, ebp */
#include <cpu/x86/64bit/entry64.inc> #include <cpu/x86/64bit/entry64.inc>
mov %edi, %ecx mov %edi, %ecx