]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg/AmdSevDxe: refresh #includes and LibraryClasses
authorLaszlo Ersek <lersek@redhat.com>
Thu, 1 Mar 2018 20:43:09 +0000 (21:43 +0100)
committerLaszlo Ersek <lersek@redhat.com>
Tue, 6 Mar 2018 12:30:28 +0000 (13:30 +0100)
List those and only those libraries that are used.

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Brijesh Singh <brijesh.singh@amd.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Brijesh Singh <brijesh.singh@amd.com>
Reviewed-by: Brijesh Singh <brijesh.singh@amd.com>
OvmfPkg/AmdSevDxe/AmdSevDxe.c
OvmfPkg/AmdSevDxe/AmdSevDxe.inf

index 9ac13acb8b2207a786648805001aaa382d28a156..8f02d0627e02ff46e6cc12c9ce0e5aaad0d0fc2d 100644 (file)
 \r
 **/\r
 \r
-#include <Library/BaseLib.h>\r
-#include <Library/BaseMemoryLib.h>\r
 #include <Library/DebugLib.h>\r
 #include <Library/DxeServicesTableLib.h>\r
 #include <Library/MemEncryptSevLib.h>\r
 #include <Library/MemoryAllocationLib.h>\r
-#include <Library/UefiBootServicesTableLib.h>\r
-#include <PiDxe.h>\r
 \r
 EFI_STATUS\r
 EFIAPI\r
index d4a0a2635d2ebb451e794d033b3c9bba136985ff..3aff7e2920539ff12e262cb9ad42f6648983265b 100644 (file)
   OvmfPkg/OvmfPkg.dec\r
 \r
 [LibraryClasses]\r
-  BaseLib\r
   DebugLib\r
   DxeServicesTableLib\r
   MemEncryptSevLib\r
-  UefiBootServicesTableLib\r
+  MemoryAllocationLib\r
   UefiDriverEntryPoint\r
-  UefiLib\r
 \r
 [Depex]\r
   TRUE\r