diff options
author | Brijesh Singh <brijesh.singh@amd.com> | 2021-07-28 02:10:23 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-07-29 01:04:51 +0000 |
commit | 7f05102f65c959266d1fb3af6a666f403d3ed8fd (patch) | |
tree | 57e1770334162d35b240f7da05a69f3ab0f90389 /BaseTools/Source/Python/CommonDataClass | |
parent | b461d67639f2deced77e9bb967d014b7cfcd75f8 (diff) | |
download | edk2-7f05102f65c959266d1fb3af6a666f403d3ed8fd.tar.gz edk2-7f05102f65c959266d1fb3af6a666f403d3ed8fd.tar.bz2 edk2-7f05102f65c959266d1fb3af6a666f403d3ed8fd.zip |
OvmfPkg/ResetVector: add the macro to invoke MSR protocol based VMGEXIT
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3275
The upcoming SEV-SNP support will need to make a few additional MSR
protocol based VMGEXIT's. Add a macro that wraps the common setup and
response validation logic in one place to keep the code readable.
While at it, define SEV_STATUS_MSR that will be used to get the SEV STATUS
MSR instead of open coding it.
Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Min Xu <min.m.xu@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Erdem Aktas <erdemaktas@google.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Acked-by: Ard Biesheuvel <ardb+tianocore@kernel.org>
Suggested-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Diffstat (limited to 'BaseTools/Source/Python/CommonDataClass')
0 files changed, 0 insertions, 0 deletions