]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg/CpuS3DataDxe: superficial cleanups
authorLaszlo Ersek <lersek@redhat.com>
Wed, 26 Feb 2020 22:11:55 +0000 (23:11 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 4 Mar 2020 12:22:07 +0000 (12:22 +0000)
Sort the [Packages], [LibraryClasses], and [Pcd] sections in the INF file.
Pad the usage notes (CONSUMES, PRODUCES) in the [Pcd] section.

Sort the Library #includes in the C file.

This patch is functionally a no-op.

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Igor Mammedov <imammedo@redhat.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1512
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20200226221156.29589-16-lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Tested-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
OvmfPkg/CpuS3DataDxe/CpuS3Data.c
OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf

index 2bb60d591b1e6a17b7d8ef96258e6af4cc8dadcc..8bb9807cd501d4351bd16280ab0f8cf304be79c7 100644 (file)
@@ -22,10 +22,10 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 \r
 #include <Library/BaseLib.h>\r
 #include <Library/BaseMemoryLib.h>\r
-#include <Library/UefiBootServicesTableLib.h>\r
 #include <Library/DebugLib.h>\r
-#include <Library/MtrrLib.h>\r
 #include <Library/MemoryAllocationLib.h>\r
+#include <Library/MtrrLib.h>\r
+#include <Library/UefiBootServicesTableLib.h>\r
 \r
 #include <Protocol/MpService.h>\r
 #include <Guid/EventGroup.h>\r
index 0ad8a0b35d258579d445e52ab8e04b993b2e1a41..f9679e0c33b3f1aa3ed1fc7a2ca49d45fae3e1ba 100644 (file)
   CpuS3Data.c\r
 \r
 [Packages]\r
-  MdePkg/MdePkg.dec\r
   MdeModulePkg/MdeModulePkg.dec\r
+  MdePkg/MdePkg.dec\r
   UefiCpuPkg/UefiCpuPkg.dec\r
 \r
 [LibraryClasses]\r
-  UefiDriverEntryPoint\r
-  UefiBootServicesTableLib\r
+  BaseLib\r
   BaseMemoryLib\r
   DebugLib\r
-  BaseLib\r
-  MtrrLib\r
   MemoryAllocationLib\r
+  MtrrLib\r
+  UefiBootServicesTableLib\r
+  UefiDriverEntryPoint\r
 \r
 [Guids]\r
   gEfiEndOfDxeEventGroupGuid         ## CONSUMES   ## Event\r
@@ -53,9 +53,9 @@
   gEfiMpServiceProtocolGuid          ## CONSUMES\r
 \r
 [Pcd]\r
-  gUefiCpuPkgTokenSpaceGuid.PcdCpuApStackSize    ## CONSUMES\r
-  gUefiCpuPkgTokenSpaceGuid.PcdCpuS3DataAddress  ## PRODUCES\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable ## CONSUMES\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable                    ## CONSUMES\r
+  gUefiCpuPkgTokenSpaceGuid.PcdCpuApStackSize                       ## CONSUMES\r
+  gUefiCpuPkgTokenSpaceGuid.PcdCpuS3DataAddress                     ## PRODUCES\r
 \r
 [Depex]\r
   gEfiMpServiceProtocolGuid\r