diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2022-10-26 12:09:12 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-05-23 19:14:52 +0000 |
commit | c532b83437704d626d657ea1b1d07f5b28d704da (patch) | |
tree | 9768625343e90b24b9d088e59b3932ab65687b5c /src/cpu/x86 | |
parent | d81ee3f1eb018c4ab524009f29811cd30da3b156 (diff) |
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>
Diffstat (limited to 'src/cpu/x86')
-rw-r--r-- | src/cpu/x86/smm/smm_stub.S | 2 |
1 files changed, 1 insertions, 1 deletions
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 <cpu/x86/64bit/entry64.inc> mov %edi, %ecx |