cpu/x86/smm/smmhandler.c: Get revision using C code
commitac0d2ee2de005968b20f421a0ea97edcbea3ea19
authorArthur Heymans <arthur@aheymans.xyz>
Sun, 9 Aug 2020 13:09:51 +0000 (9 15:09 +0200)
committerPatrick Georgi <pgeorgi@google.com>
Tue, 29 Sep 2020 05:59:37 +0000 (29 05:59 +0000)
treec0587bedfcc6f8813443dc8ce95d5f509d8c5d95
parent258ceb75074ed47d221bad0a4ebae805deb185ed
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>
src/cpu/x86/smm/smihandler.c
src/cpu/x86/smm/smmhandler.S
src/include/cpu/x86/smi_deprecated.h