X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=IntelFrameworkPkg%2FInclude%2FProtocol%2FFrameworkFormBrowser.h;h=db3809a6bb2b642ab7f7c1dfa227a357e22d6d22;hp=14cd53f4d501bc2f6ca86ed08c4534560ebb18fe;hb=2bbaeb0d624f1d7758edd0a8d61322af209a1b1a;hpb=dc7b4a5c436c3190fca6607e77711c3246d7290a diff --git a/IntelFrameworkPkg/Include/Protocol/FrameworkFormBrowser.h b/IntelFrameworkPkg/Include/Protocol/FrameworkFormBrowser.h index 14cd53f4d5..db3809a6bb 100644 --- a/IntelFrameworkPkg/Include/Protocol/FrameworkFormBrowser.h +++ b/IntelFrameworkPkg/Include/Protocol/FrameworkFormBrowser.h @@ -5,7 +5,7 @@ in packet of data. This will also allow the caller to post messages into the configuration drivers internal mailbox. - Copyright (c) 2006, Intel Corporation + Copyright (c) 2006 - 2009, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -32,6 +32,11 @@ 0xe5a1333e, 0xe1b4, 0x4d55, {0xce, 0xeb, 0x35, 0xc3, 0xef, 0x13, 0x34, 0x43 } \ } +#define EFI_FORM_BROWSER_COMPATIBILITY_PROTOCOL_GUID \ + { \ + 0xfb7c852, 0xadca, 0x4853, { 0x8d, 0xf, 0xfb, 0xa7, 0x1b, 0x1c, 0xe1, 0x1a } \ + } + typedef struct _EFI_FORM_BROWSER_PROTOCOL EFI_FORM_BROWSER_PROTOCOL; typedef struct { @@ -50,7 +55,7 @@ typedef struct { UINTN RightColumn; UINTN TopRow; UINTN BottomRow; -} EFI_SCREEN_DESCRIPTOR; +} FRAMEWORK_EFI_SCREEN_DESCRIPTOR; /** Provides direction to the configuration driver whether to use the HII @@ -91,15 +96,15 @@ typedef struct { **/ typedef EFI_STATUS -(EFIAPI *EFI_SEND_FORM) ( +(EFIAPI *EFI_SEND_FORM)( IN EFI_FORM_BROWSER_PROTOCOL *This, IN BOOLEAN UseDatabase, IN FRAMEWORK_EFI_HII_HANDLE *Handle, IN UINTN HandleCount, - IN FRAMEWORK_EFI_IFR_PACKET *Packet, OPTIONAL + IN FRAMEWORK_EFI_IFR_PACKET *Packet, OPTIONAL IN EFI_HANDLE CallbackHandle, OPTIONAL IN UINT8 *NvMapOverride, OPTIONAL - IN EFI_SCREEN_DESCRIPTOR *ScreenDimensions, OPTIONAL + IN FRAMEWORK_EFI_SCREEN_DESCRIPTOR *ScreenDimensions, OPTIONAL OUT BOOLEAN *ResetRequired OPTIONAL ); @@ -127,7 +132,7 @@ EFI_STATUS **/ typedef EFI_STATUS -(EFIAPI *EFI_CREATE_POP_UP) ( +(EFIAPI *EFI_CREATE_POP_UP)( IN UINTN NumberOfLines, IN BOOLEAN HotKey, IN UINTN MaximumStringSize, @@ -138,25 +143,26 @@ EFI_STATUS ); /** - @par Protocol Description: The EFI_FORM_BROWSER_PROTOCOL is the interface to call for drivers to leverage the EFI configuration driver interface. - - @param SendForm - Provides direction to the configuration driver whether to use the HII - database or to use a passed-in set of data. This functions also establishes - a pointer to the calling driver's callback interface. - - @param CreatePopUp - Routine used to abstract a generic dialog interface and return the - selected key or string. - **/ struct _EFI_FORM_BROWSER_PROTOCOL { + /// + /// Provides direction to the configuration driver whether to use the HII + /// database or to use a passed-in set of data. This functions also establishes + /// a pointer to the calling driver's callback interface. + /// EFI_SEND_FORM SendForm; + + /// + /// Routine used to abstract a generic dialog interface and return the + /// selected key or string. + /// EFI_CREATE_POP_UP CreatePopUp; }; extern EFI_GUID gEfiFormBrowserProtocolGuid; +extern EFI_GUID gEfiFormBrowserCompatibilityProtocolGuid; + #endif