diff --git a/OvmfPkg/IoMmuDxe/AmdSevIoMmu.h b/OvmfPkg/IoMmuDxe/AmdSevIoMmu.h index 17d3694e4a..c15fa76c3c 100644 --- a/OvmfPkg/IoMmuDxe/AmdSevIoMmu.h +++ b/OvmfPkg/IoMmuDxe/AmdSevIoMmu.h @@ -24,11 +24,11 @@ #include #include -#include #include +#include +#include #include #include -#include /** Install IOMMU protocol to provide the DMA support for PciHostBridge and diff --git a/OvmfPkg/IoMmuDxe/IoMmuDxe.c b/OvmfPkg/IoMmuDxe/IoMmuDxe.c index 0ea42cbc13..70d30ea916 100644 --- a/OvmfPkg/IoMmuDxe/IoMmuDxe.c +++ b/OvmfPkg/IoMmuDxe/IoMmuDxe.c @@ -15,15 +15,6 @@ **/ -#include - -#include -#include -#include -#include -#include -#include - #include "AmdSevIoMmu.h" EFI_STATUS diff --git a/OvmfPkg/IoMmuDxe/IoMmuDxe.inf b/OvmfPkg/IoMmuDxe/IoMmuDxe.inf index 21dc39b923..3078497068 100644 --- a/OvmfPkg/IoMmuDxe/IoMmuDxe.inf +++ b/OvmfPkg/IoMmuDxe/IoMmuDxe.inf @@ -35,12 +35,12 @@ [LibraryClasses] BaseLib - UefiLib - UefiDriverEntryPoint - UefiBootServicesTableLib - DxeServicesTableLib + BaseMemoryLib DebugLib MemEncryptSevLib + MemoryAllocationLib + UefiBootServicesTableLib + UefiDriverEntryPoint [Protocols] gEdkiiIoMmuProtocolGuid ## SOMETIME_PRODUCES