]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/Include/Library/EdkGenericBdsLib.h
Add NULL parameter checking for notify function.
[mirror_edk2.git] / Nt32Pkg / Include / Library / EdkGenericBdsLib.h
index 5ef183850ee6206487e74d929cf0597bd51b1d89..bfdcbe3111ade6b3115ddbe95ee8e8f499976b73 100644 (file)
@@ -1,4 +1,7 @@
-/*++\r
+/*! \addtogroup Library EdkGenericBdsLib */\r
+/*@{ */\r
+/**@file \r
+  BDS library definition, include the file and data structure\r
 \r
 Copyright (c) 2006 - 2007, Intel Corporation\r
 All rights reserved. This program and the accompanying materials                          \r
@@ -9,19 +12,14 @@ http://opensource.org/licenses/bsd-license.php
 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
 \r
-Module Name:\r
-\r
-  BdsLib.h\r
-\r
-Abstract:\r
-\r
-  BDS library definition, include the file and data structure\r
-\r
---*/\r
+**/\r
 \r
 #ifndef _BDS_LIB_H_\r
 #define _BDS_LIB_H_\r
 \r
+#include <Protocol/SimpleTextOut.h>\r
+#include <Protocol/FrameworkHii.h>\r
+\r
 extern EFI_HANDLE mBdsImageHandle;\r
 \r
 //\r
@@ -46,8 +44,6 @@ extern EFI_HANDLE mBdsImageHandle;
 //\r
 // Load Option Attributes defined in EFI Specification\r
 //\r
-#define LOAD_OPTION_ACTIVE              0x00000001\r
-#define LOAD_OPTION_FORCE_RECONNECT     0x00000002\r
 #define IS_LOAD_OPTION_TYPE(_c, _Mask)  (BOOLEAN) (((_c) & (_Mask)) != 0)\r
 \r
 //\r
@@ -109,6 +105,11 @@ BdsLibBootNext (
   VOID\r
   );\r
 \r
+/*!\r
+ \fn BdsLibBootViaBootOption\r
+ \param BDS_COMMON_OPTION\r
+ \param EFI_DEVICE_PATH_PROTOCOL\r
+*/\r
 EFI_STATUS\r
 BdsLibBootViaBootOption (\r
   IN  BDS_COMMON_OPTION             * Option,\r
@@ -162,7 +163,7 @@ BdsLibGetVariableAndSize (
 \r
 EFI_STATUS\r
 BdsLibOutputStrings (\r
-  IN EFI_SIMPLE_TEXT_OUT_PROTOCOL   *ConOut,\r
+  IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL   *ConOut,\r
   ...\r
   );\r
 \r
@@ -389,7 +390,8 @@ EFI_STATUS
 BdsLibGetHiiHandles (\r
   IN     EFI_HII_PROTOCOL *Hii,\r
   IN OUT UINT16           *HandleBufferLength,\r
-  OUT    EFI_HII_HANDLE   **HiiHandles\r
+  OUT    FRAMEWORK_EFI_HII_HANDLE    **HiiHandles\r
   );\r
 \r
 #endif // _BDS_LIB_H_\r
+/*@} */
\ No newline at end of file