]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkPkg/Include/Protocol/FrameworkFormBrowser.h
Use PcAtChipsetPkg's IdeControllerDxe driver and retire the one in DuetPkg.
[mirror_edk2.git] / IntelFrameworkPkg / Include / Protocol / FrameworkFormBrowser.h
index b61c76ed7d4e6a0c6124f95c9f74b3131a7d6811..9fca00f28fa8476119c265f4ef4eef86d8edcdc7 100644 (file)
@@ -5,7 +5,7 @@
   in packet of data.  This will also allow the caller to post messages\r
   into the configuration drivers internal mailbox.\r
 \r
-  Copyright (c) 2006, Intel Corporation\r
+  Copyright (c) 2006 - 2009, Intel Corporation\r
   All rights reserved. This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
     0xe5a1333e, 0xe1b4, 0x4d55, {0xce, 0xeb, 0x35, 0xc3, 0xef, 0x13, 0x34, 0x43 } \\r
   }\r
 \r
+#define EFI_FORM_BROWSER_COMPATIBILITY_PROTOCOL_GUID \\r
+  { \\r
+    0xfb7c852, 0xadca, 0x4853, { 0x8d, 0xf, 0xfb, 0xa7, 0x1b, 0x1c, 0xe1, 0x1a } \\r
+  }\r
+\r
 typedef struct _EFI_FORM_BROWSER_PROTOCOL EFI_FORM_BROWSER_PROTOCOL;\r
 \r
 typedef struct {\r
@@ -43,7 +48,7 @@ typedef struct {
 typedef struct {\r
   EFI_HII_IFR_PACK    *IfrData;\r
   EFI_HII_STRING_PACK *StringData;\r
-} FRAMEWORK_EFI_IFR_PACKET;\r
+} EFI_IFR_PACKET;\r
 \r
 typedef struct {\r
   UINTN LeftColumn;\r
@@ -91,15 +96,15 @@ typedef struct {
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_SEND_FORM) (\r
+(EFIAPI *EFI_SEND_FORM)(\r
   IN  EFI_FORM_BROWSER_PROTOCOL       *This,\r
   IN  BOOLEAN                         UseDatabase,\r
   IN  FRAMEWORK_EFI_HII_HANDLE        *Handle,\r
   IN  UINTN                           HandleCount,\r
-  IN  FRAMEWORK_EFI_IFR_PACKET                  *Packet, OPTIONAL\r
+  IN  EFI_IFR_PACKET                  *Packet, OPTIONAL\r
   IN  EFI_HANDLE                      CallbackHandle, OPTIONAL\r
   IN  UINT8                           *NvMapOverride, OPTIONAL\r
-  IN  FRAMEWORK_EFI_SCREEN_DESCRIPTOR            *ScreenDimensions, OPTIONAL\r
+  IN  FRAMEWORK_EFI_SCREEN_DESCRIPTOR *ScreenDimensions, OPTIONAL\r
   OUT BOOLEAN                         *ResetRequired OPTIONAL\r
   );\r
 \r
@@ -127,7 +132,7 @@ EFI_STATUS
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_CREATE_POP_UP) (\r
+(EFIAPI *EFI_CREATE_POP_UP)(\r
   IN  UINTN                           NumberOfLines,\r
   IN  BOOLEAN                         HotKey,\r
   IN  UINTN                           MaximumStringSize,\r
@@ -138,25 +143,26 @@ EFI_STATUS
   );\r
 \r
 /**\r
-  @par Protocol Description:\r
   The EFI_FORM_BROWSER_PROTOCOL is the interface to call for drivers to\r
   leverage the EFI configuration driver interface.\r
-\r
-  @param SendForm\r
-  Provides direction to the configuration driver whether to use the HII\r
-  database or to use a passed-in set of data. This functions also establishes\r
-  a pointer to the calling driver's callback interface.\r
-\r
-  @param CreatePopUp\r
-  Routine used to abstract a generic dialog interface and return the\r
-  selected key or string.\r
-\r
 **/\r
 struct _EFI_FORM_BROWSER_PROTOCOL {\r
+  ///\r
+  /// Provides direction to the configuration driver whether to use the HII\r
+  /// database or to use a passed-in set of data. This functions also establishes\r
+  /// a pointer to the calling driver's callback interface.\r
+  ///\r
   EFI_SEND_FORM     SendForm;\r
+  \r
+  ///\r
+  /// Routine used to abstract a generic dialog interface and return the\r
+  /// selected key or string.  \r
+  ///\r
   EFI_CREATE_POP_UP CreatePopUp;\r
 };\r
 \r
 extern EFI_GUID gEfiFormBrowserProtocolGuid;\r
+extern EFI_GUID gEfiFormBrowserCompatibilityProtocolGuid;\r
+\r
 \r
 #endif\r