Place all public #includes first, all module-private #includes second.
Separate them with a single empty line. Keep each section sorted in
itself.
Sort all sections in both INF files.
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2122
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <
20210526201446.12554-8-lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
#ifndef ACPI_PLATFORM_H_\r
#define ACPI_PLATFORM_H_\r
\r
-#include <PiDxe.h>\r
-\r
-#include <Protocol/AcpiTable.h>\r
-#include <Protocol/FirmwareVolume2.h>\r
-#include <Protocol/PciIo.h>\r
-\r
+#include <IndustryStandard/Acpi.h>\r
#include <Library/BaseLib.h>\r
-#include <Library/UefiBootServicesTableLib.h>\r
#include <Library/DebugLib.h>\r
#include <Library/PcdLib.h>\r
+#include <Library/UefiBootServicesTableLib.h>\r
#include <Library/XenPlatformLib.h>\r
-\r
-#include <IndustryStandard/Acpi.h>\r
+#include <PiDxe.h>\r
+#include <Protocol/AcpiTable.h>\r
+#include <Protocol/FirmwareVolume2.h>\r
+#include <Protocol/PciIo.h>\r
\r
typedef struct {\r
EFI_PCI_IO_PROTOCOL *PciIo;\r
Xen.c\r
\r
[Packages]\r
- MdePkg/MdePkg.dec\r
MdeModulePkg/MdeModulePkg.dec\r
+ MdePkg/MdePkg.dec\r
OvmfPkg/OvmfPkg.dec\r
UefiCpuPkg/UefiCpuPkg.dec\r
\r
[LibraryClasses]\r
- UefiLib\r
- PcdLib\r
+ BaseLib\r
BaseMemoryLib\r
DebugLib\r
- UefiBootServicesTableLib\r
- UefiDriverEntryPoint\r
- QemuFwCfgLib\r
- QemuFwCfgS3Lib\r
- MemoryAllocationLib\r
- BaseLib\r
DxeServicesTableLib\r
+ MemoryAllocationLib\r
OrderedCollectionLib\r
+ PcdLib\r
+ QemuFwCfgLib\r
+ QemuFwCfgS3Lib\r
+ UefiBootServicesTableLib\r
+ UefiDriverEntryPoint\r
+ UefiLib\r
XenPlatformLib\r
\r
[Protocols]\r
**/\r
\r
#include <Guid/RootBridgesConnectedEventGroup.h>\r
+\r
#include "AcpiPlatform.h"\r
\r
STATIC\r
\r
**/\r
\r
-#include "AcpiPlatform.h"\r
+#include <IndustryStandard/Acpi.h>\r
#include <Library/BaseMemoryLib.h>\r
-#include <Library/MemoryAllocationLib.h>\r
-#include <Library/QemuFwCfgLib.h>\r
#include <Library/DxeServicesTableLib.h>\r
-#include <Library/PcdLib.h>\r
+#include <Library/MemoryAllocationLib.h>\r
#include <Library/OrderedCollectionLib.h>\r
-#include <IndustryStandard/Acpi.h>\r
+#include <Library/PcdLib.h>\r
+#include <Library/QemuFwCfgLib.h>\r
+\r
+#include "AcpiPlatform.h"\r
\r
BOOLEAN\r
QemuDetected (\r
\r
**/\r
\r
-#include "AcpiPlatform.h"\r
-#include "QemuLoader.h"\r
+#include <IndustryStandard/Acpi.h>\r
#include <Library/BaseMemoryLib.h>\r
+#include <Library/DxeServicesTableLib.h>\r
#include <Library/MemoryAllocationLib.h>\r
+#include <Library/OrderedCollectionLib.h>\r
+#include <Library/PcdLib.h>\r
#include <Library/QemuFwCfgLib.h>\r
#include <Library/QemuFwCfgS3Lib.h>\r
-#include <Library/DxeServicesTableLib.h>\r
-#include <Library/PcdLib.h>\r
-#include <Library/OrderedCollectionLib.h>\r
-#include <IndustryStandard/Acpi.h>\r
\r
+#include "AcpiPlatform.h"\r
+#include "QemuLoader.h"\r
\r
//\r
// The user structure for the ordered collection that will track the fw_cfg\r
QemuLoader.h\r
\r
[Packages]\r
- MdePkg/MdePkg.dec\r
MdeModulePkg/MdeModulePkg.dec\r
+ MdePkg/MdePkg.dec\r
OvmfPkg/OvmfPkg.dec\r
\r
[LibraryClasses]\r
\r
**/\r
\r
-#include "AcpiPlatform.h"\r
#include <Library/BaseLib.h>\r
\r
+#include "AcpiPlatform.h"\r
+\r
#define XEN_ACPI_PHYSICAL_ADDRESS 0x000EA020\r
#define XEN_BIOS_PHYSICAL_END 0x000FFFFF\r
\r