Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:olh:testing-xen-unstable
xen
ovmf.AmdSevDxeEntryPoint.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ovmf.AmdSevDxeEntryPoint.patch of Package xen
From: Olaf Hering <olaf@aepfle.de> Date: Tue, 20 Jun 2023 18:38:50 +0000 Subject: AmdSevDxeEntryPoint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit /home/abuild/rpmbuild/BUILD/xen-4.18.20230619T122059.42473bae/non-dbg/tools/firmware/ovmf-dir-remote/OvmfPkg/AmdSevDxe/AmdSevDxe.c: In function ‘AmdSevDxeEntryPoint’: /home/abuild/rpmbuild/BUILD/xen-4.18.20230619T122059.42473bae/non-dbg/tools/firmware/ovmf-dir-remote/OvmfPkg/AmdSevDxe/AmdSevDxe.c:358:12: error: ‘SnpBootDxeTable’ may be used uninitialized in this function [-Werror=maybe-uninitialized] return gBS->InstallConfigurationTable ( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &gConfidentialComputingSevSnpBlobGuid, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SnpBootDxeTable ~~~~~~~~~~~~~~~ ); ~ Signed-off-by: Olaf Hering <olaf@aepfle.de> --- OvmfPkg/AmdSevDxe/AmdSevDxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/OvmfPkg/AmdSevDxe/AmdSevDxe.c +++ b/OvmfPkg/AmdSevDxe/AmdSevDxe.c @@ -193,25 +193,25 @@ STATIC EDKII_MEMORY_ACCEPT_PROTOCOL mMemoryAcceptProtocol = { EFI_STATUS EFIAPI AmdSevDxeEntryPoint ( IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable ) { EFI_STATUS Status; EFI_GCD_MEMORY_SPACE_DESCRIPTOR *AllDescMap; UINTN NumEntries; UINTN Index; - CONFIDENTIAL_COMPUTING_SNP_BLOB_LOCATION *SnpBootDxeTable; + CONFIDENTIAL_COMPUTING_SNP_BLOB_LOCATION *SnpBootDxeTable = NULL; // // Do nothing when SEV is not enabled // if (!MemEncryptSevIsEnabled ()) { return EFI_UNSUPPORTED; } // // Iterate through the GCD map and clear the C-bit from MMIO and NonExistent // memory space. The NonExistent memory space will be used for mapping the // MMIO space added later (eg PciRootBridge). By clearing both known MMIO and
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor