]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Library/PlatformBdsLib.h
Remove the unnecessary include, such as PiDxe.h, PiPei.h, Base.h and Uefi.h in header...
[mirror_edk2.git] / MdeModulePkg / Include / Library / PlatformBdsLib.h
index c24e29ab4526e1446e0e92fc895d6693400b5000..4740d7b68e93ebb100b202823ec74d43546bfee1 100644 (file)
@@ -16,7 +16,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #ifndef __PLATFORM_BDS_LIB_H_\r
 #define __PLATFORM_BDS_LIB_H_\r
 \r
-#include <PiDxe.h>\r
 #include <Protocol/Bds.h>\r
 #include <Protocol/GenericMemoryTest.h>\r
 \r
@@ -54,15 +53,12 @@ struct _EFI_BDS_ARCH_PROTOCOL_INSTANCE {
 \r
   @param  PrivateData             The EFI_BDS_ARCH_PROTOCOL_INSTANCE instance\r
 \r
-  @return None.\r
-\r
 **/\r
 VOID\r
 EFIAPI\r
 PlatformBdsInit (\r
   IN EFI_BDS_ARCH_PROTOCOL_INSTANCE  *PrivateData\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   The function will excute with as the platform policy, current policy\r
@@ -80,8 +76,7 @@ PlatformBdsPolicyBehavior (
   IN EFI_BDS_ARCH_PROTOCOL_INSTANCE  *PrivateData,\r
   IN LIST_ENTRY                      *DriverOptionList,\r
   IN LIST_ENTRY                      *BootOptionList\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Hook point after a boot attempt fails.\r
@@ -91,8 +86,6 @@ PlatformBdsPolicyBehavior (
   @param  ExitData                Exit data returned from failed boot.\r
   @param  ExitDataSize            Exit data size returned from failed boot.\r
 \r
-  @return None.\r
-\r
 **/\r
 VOID\r
 EFIAPI\r
@@ -101,8 +94,7 @@ PlatformBdsBootFail (
   IN  EFI_STATUS         Status,\r
   IN  CHAR16             *ExitData,\r
   IN  UINTN              ExitDataSize\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Hook point after a boot attempt succeeds. We don't expect a boot option to\r
@@ -117,8 +109,7 @@ VOID
 EFIAPI\r
 PlatformBdsBootSuccess (\r
   IN  BDS_COMMON_OPTION *Option\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -126,12 +117,10 @@ PlatformBdsBootSuccess (
   The flash layout is platform specific.\r
 \r
   @retval EFI_SUCCESS             The non-updatable flash areas.\r
-  @retval Others                  Some error occurs when locking non-updatable flash areas.\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
 PlatformBdsLockNonUpdatableFlash (\r
   VOID\r
-  )\r
-;\r
+  );\r
 #endif\r