summaryrefslogtreecommitdiff
path: root/OvmfPkg
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2018-03-01 15:02:11 +0100
committerLaszlo Ersek <lersek@redhat.com>2018-03-06 13:30:26 +0100
commitc6073a0ead601566387fd69c8c07d6b479d18561 (patch)
tree01f4ed01b761d75be920ac0f648e71358d373bcd /OvmfPkg
parentc16d4e35d1d68d78178c96ad46d5e55ff3a44332 (diff)
downloadedk2-c6073a0ead601566387fd69c8c07d6b479d18561.zip
edk2-c6073a0ead601566387fd69c8c07d6b479d18561.tar.gz
edk2-c6073a0ead601566387fd69c8c07d6b479d18561.tar.bz2
OvmfPkg/AmdSevDxe: sort #includes, and entries in INF file sections
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.c9
-rw-r--r--OvmfPkg/AmdSevDxe/AmdSevDxe.inf10
2 files changed, 9 insertions, 10 deletions
diff --git a/OvmfPkg/AmdSevDxe/AmdSevDxe.c b/OvmfPkg/AmdSevDxe/AmdSevDxe.c
index 065d738..9ac13ac 100644
--- a/OvmfPkg/AmdSevDxe/AmdSevDxe.c
+++ b/OvmfPkg/AmdSevDxe/AmdSevDxe.c
@@ -16,15 +16,14 @@
**/
-#include <PiDxe.h>
-
#include <Library/BaseLib.h>
-#include <Library/DebugLib.h>
#include <Library/BaseMemoryLib.h>
-#include <Library/MemoryAllocationLib.h>
-#include <Library/UefiBootServicesTableLib.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 2ed7789..d4a0a26 100644
--- a/OvmfPkg/AmdSevDxe/AmdSevDxe.inf
+++ b/OvmfPkg/AmdSevDxe/AmdSevDxe.inf
@@ -27,18 +27,18 @@
AmdSevDxe.c
[Packages]
- MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
+ MdePkg/MdePkg.dec
OvmfPkg/OvmfPkg.dec
[LibraryClasses]
BaseLib
- UefiLib
- UefiDriverEntryPoint
- UefiBootServicesTableLib
- DxeServicesTableLib
DebugLib
+ DxeServicesTableLib
MemEncryptSevLib
+ UefiBootServicesTableLib
+ UefiDriverEntryPoint
+ UefiLib
[Depex]
TRUE