Skip to content
Commit 9b3ca509 authored by Tom Lendacky's avatar Tom Lendacky Committed by mergify[bot]
Browse files

MdePkg/BaseLib: Add support for the XGETBV instruction

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2198



Under SEV-ES, a CPUID instruction requires the current value of the XCR0
register. In order to retrieve that value, the XGETBV instruction needs
to be executed.

Provide the necessary support to execute the XGETBV instruction.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: default avatarLiming Gao <liming.gao@intel.com>
Signed-off-by: default avatarTom Lendacky <thomas.lendacky@amd.com>
Regression-tested-by: default avatarLaszlo Ersek <lersek@redhat.com>
parent b098f5e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment