OvmfPkg/AmdSevDxe: refresh #includes and LibraryClasses

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>
This commit is contained in:
Laszlo Ersek 2018-03-01 21:43:09 +01:00
parent c6073a0ead
commit cd66bd7316
2 changed files with 1 additions and 7 deletions

View File

@ -16,14 +16,10 @@
**/
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/DxeServicesTableLib.h>
#include <Library/MemEncryptSevLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <PiDxe.h>
EFI_STATUS
EFIAPI

View File

@ -32,13 +32,11 @@
OvmfPkg/OvmfPkg.dec
[LibraryClasses]
BaseLib
DebugLib
DxeServicesTableLib
MemEncryptSevLib
UefiBootServicesTableLib
MemoryAllocationLib
UefiDriverEntryPoint
UefiLib
[Depex]
TRUE