diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2020-08-09 15:09:51 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-09-29 05:59:37 +0000 |
commit | ac0d2ee2de005968b20f421a0ea97edcbea3ea19 (patch) | |
tree | c0587bedfcc6f8813443dc8ce95d5f509d8c5d95 /src/include/cpu | |
parent | 258ceb75074ed47d221bad0a4ebae805deb185ed (diff) |
cpu/x86/smm/smmhandler.c: Get revision using C code
This allows to remove some assembly code.
Tested with QEMU Q35 to still print the revision correctly.
Change-Id: I36fb0e8bb1f46806b11ef8102ce74c0d10fd3927
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44319
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/include/cpu')
-rw-r--r-- | src/include/cpu/x86/smi_deprecated.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/cpu/x86/smi_deprecated.h b/src/include/cpu/x86/smi_deprecated.h index c20f21baf5..6213915eee 100644 --- a/src/include/cpu/x86/smi_deprecated.h +++ b/src/include/cpu/x86/smi_deprecated.h @@ -15,6 +15,6 @@ void smm_init_completion(void); #endif /* Entry from smmhandler.S. */ -void smi_handler(u32 smm_revision); +void smi_handler(void); #endif |