audk/OvmfPkg/ResetVector
Tom Lendacky cd6f215223 OvmfPkg/ResetVector: Fix SNP CPUID table processing results for ECX/EDX
The current support within the boot SNP CPUID table processing mistakenly
swaps the ECX and EDX results. It does not have an effect at this time
because current CPUID results checking does not check ECX or EDX. However,
any future CPUID checks that need to check ECX or EDX may have erroneous
behavior.

Fix the assembler code to save ECX and EDX to the proper locations.

Fixes: 34819f2cac ("OvmfPkg/ResetVector: use SEV-SNP-validated CPUID values")
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Reviewed-by: Michael Roth <michael.roth@amd.com>
2024-02-03 17:42:54 +00:00
..
Ia16 OvmfPkg: Remove applicationProcessorEntryPoint 2023-09-18 02:39:25 +00:00
Ia32 OvmfPkg/ResetVector: Fix SNP CPUID table processing results for ECX/EDX 2024-02-03 17:42:54 +00:00
X64 OvmfPkg/ResetVector: Define SNP metadata for kernel hashes 2023-11-28 12:13:03 +00:00
Main.asm OvmfPkg: Make an Ia32/X64 hybrid build work with SEV 2022-05-20 06:29:34 +00:00
QemuDebugCon.asm OvmfPkg/ResetVector: send post codes to qemu debug console 2024-01-29 20:53:55 +00:00
ResetVector.inf OvmfPkg/ResetVector: pre-validate the data pages used in SEC phase 2021-12-09 06:28:10 +00:00
ResetVector.nasmb OvmfPkg/ResetVector: send post codes to qemu debug console 2024-01-29 20:53:55 +00:00