]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Universal/BdsDxe/Bds.h
Remove extra #includes where possible to make build more efficient
[mirror_edk2.git] / IntelFrameworkModulePkg / Universal / BdsDxe / Bds.h
index 499f32ffc835da1cfe70128f9cae47e15ed37f41..31d6df57058c7f164e9008046d0f4479203f271a 100644 (file)
@@ -15,8 +15,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #ifndef _BDS_MODULE_H_\r
 #define _BDS_MODULE_H_\r
 \r
-#include <PiDxe.h>\r
-\r
+#include <FrameworkDxe.h>\r
+#include <IndustryStandard/PeImage.h>\r
 #include <Guid/MdeModuleHii.h>\r
 #include <Guid/FileSystemVolumeLabelInfo.h>\r
 #include <Protocol/DevicePath.h>\r
@@ -31,6 +31,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Protocol/BlockIo.h>\r
 #include <Guid/GlobalVariable.h>\r
 #include <Guid/CapsuleVendor.h>\r
+#include <Guid/StatusCodeDataTypeId.h>\r
 #include <Protocol/GenericMemoryTest.h>\r
 #include <Protocol/FormBrowser2.h>\r
 #include <Protocol/HiiConfigAccess.h>\r
@@ -64,13 +65,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Library/GenericBdsLib.h>\r
 #include <Library/PlatformBdsLib.h>\r
 \r
-#define EFI_BDS_ARCH_PROTOCOL_INSTANCE_FROM_THIS(_this) \\r
-  CR ((_this),                                          \\r
-      EFI_BDS_ARCH_PROTOCOL_INSTANCE,                   \\r
-      Bds,                                              \\r
-      EFI_BDS_ARCH_PROTOCOL_INSTANCE_SIGNATURE          \\r
-      )\r
-\r
 #pragma pack(1)\r
 \r
 ///\r