diff options
author | Laszlo Ersek <lersek@redhat.com> | 2018-03-01 21:43:09 +0100 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2018-03-06 13:30:28 +0100 |
commit | cd66bd73169fd8cd094887febab03a196d1bd996 (patch) | |
tree | 807fdd3656a3395ef5813874a95624d42f0cb3ef /OvmfPkg | |
parent | c6073a0ead601566387fd69c8c07d6b479d18561 (diff) | |
download | edk2-cd66bd73169fd8cd094887febab03a196d1bd996.tar.gz edk2-cd66bd73169fd8cd094887febab03a196d1bd996.tar.bz2 edk2-cd66bd73169fd8cd094887febab03a196d1bd996.zip |
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>
Diffstat (limited to 'OvmfPkg')
-rw-r--r-- | OvmfPkg/AmdSevDxe/AmdSevDxe.c | 4 | ||||
-rw-r--r-- | OvmfPkg/AmdSevDxe/AmdSevDxe.inf | 4 |
2 files changed, 1 insertions, 7 deletions
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 <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
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
|