diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2021-12-13 08:30:47 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-12-13 09:23:48 +0000 |
commit | adf070ff5678c8d767274b9dd3699321594224dd (patch) | |
tree | 4e794a91c405ac661c0a46dd919aec4be3c34d91 /OvmfPkg/SmbiosPlatformDxe/Xen.c | |
parent | 8c06c53b585a7443b1e0e6c0eff45a62d56472cc (diff) | |
download | edk2-adf070ff5678c8d767274b9dd3699321594224dd.tar.gz edk2-adf070ff5678c8d767274b9dd3699321594224dd.tar.bz2 edk2-adf070ff5678c8d767274b9dd3699321594224dd.zip |
OvmfPkg/Microvm: add PcdConfidentialComputingGuestAttr
Fixes build failure:
/home/kraxel/projects/edk2/OvmfPkg/PlatformPei/AmdSev.c: In function ‘AmdSevInitialize’:
/home/kraxel/projects/edk2/MdePkg/Include/Library/PcdLib.h:511:38: error: implicit declaration of function ‘_PCD_SET_MODE_64_S_PcdConfidentialComputingGuestAttr’ [-Werror=implicit-function-declaration]
511 | #define PcdSet64S(TokenName, Value) _PCD_SET_MODE_64_S_##TokenName ((Value))
| ^~~~~~~~~~~~~~~~~~~
/home/kraxel/projects/edk2/OvmfPkg/PlatformPei/AmdSev.c:410:17: note: in expansion of macro ‘PcdSet64S’
410 | PcdStatus = PcdSet64S (PcdConfidentialComputingGuestAttr, CCAttrAmdSevSnp);
| ^~~~~~~~~
cc1: all warnings being treated as errors
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'OvmfPkg/SmbiosPlatformDxe/Xen.c')
0 files changed, 0 insertions, 0 deletions