diff options
| author | Tom Lendacky <thomas.lendacky@amd.com> | 2021-01-07 21:48:11 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-01-07 22:34:39 +0300 |
| commit | a91b700e385e7484ab7286b3ba7ea2efbd59480e (patch) | |
| tree | 033eb6b195a8890dd1a91663c39b5b00a232983d /BaseTools/Source/Python/Common/Parsing.py | |
| parent | 55ee36b0c490d9a6582e083bb3ac78a22d33053f (diff) | |
| download | edk2-a91b700e385e7484ab7286b3ba7ea2efbd59480e.tar.xz | |
Ovmf/ResetVector: Simplify and consolidate the SEV features checks
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3108
Simplify and consolidate the SEV and SEV-ES checks into a single routine.
This new routine will use CPUID to check for the appropriate CPUID leaves
and the required values, as well as read the non-interceptable SEV status
MSR (0xc0010131) to check SEV and SEV-ES enablement.
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: Brijesh Singh <brijesh.singh@amd.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Message-Id: <43a660624c32b5f6c2610bf42ee39101c21aff68.1610045305.git.thomas.lendacky@amd.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/Parsing.py')
0 files changed, 0 insertions, 0 deletions
