diff --git a/OvmfPkg/AmdSevDxe/AmdSevDxe.c b/OvmfPkg/AmdSevDxe/AmdSevDxe.c index 9ac13acb8b..8f02d0627e 100644 --- a/OvmfPkg/AmdSevDxe/AmdSevDxe.c +++ b/OvmfPkg/AmdSevDxe/AmdSevDxe.c @@ -16,14 +16,10 @@ **/ -#include -#include #include #include #include #include -#include -#include EFI_STATUS EFIAPI diff --git a/OvmfPkg/AmdSevDxe/AmdSevDxe.inf b/OvmfPkg/AmdSevDxe/AmdSevDxe.inf index d4a0a2635d..3aff7e2920 100644 --- a/OvmfPkg/AmdSevDxe/AmdSevDxe.inf +++ b/OvmfPkg/AmdSevDxe/AmdSevDxe.inf @@ -32,13 +32,11 @@ OvmfPkg/OvmfPkg.dec [LibraryClasses] - BaseLib DebugLib DxeServicesTableLib MemEncryptSevLib - UefiBootServicesTableLib + MemoryAllocationLib UefiDriverEntryPoint - UefiLib [Depex] TRUE