MdeModulePkg FormBrowserEx: Change its structure name with EDKII_ prefix
EDKII implementation protocol should be with EDKII_ prefix. V2: add gEdkiiFormBrowserExProtocolGuid to align its structure name. Cc: Eric Dong <eric.dong@intel.com> Cc: Feng Tian <feng.tian@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com>
This commit is contained in:
@@ -1952,7 +1952,7 @@ DriverSampleInit (
|
||||
EFI_STRING NameRequestHdr;
|
||||
MY_EFI_VARSTORE_DATA *VarStoreConfig;
|
||||
EFI_INPUT_KEY HotKey;
|
||||
EFI_FORM_BROWSER_EXTENSION_PROTOCOL *FormBrowserEx;
|
||||
EDKII_FORM_BROWSER_EXTENSION_PROTOCOL *FormBrowserEx;
|
||||
|
||||
//
|
||||
// Initialize the local variables.
|
||||
@@ -2244,7 +2244,7 @@ DriverSampleInit (
|
||||
//
|
||||
// Example of how to use BrowserEx protocol to register HotKey.
|
||||
//
|
||||
Status = gBS->LocateProtocol (&gEfiFormBrowserExProtocolGuid, NULL, (VOID **) &FormBrowserEx);
|
||||
Status = gBS->LocateProtocol (&gEdkiiFormBrowserExProtocolGuid, NULL, (VOID **) &FormBrowserEx);
|
||||
if (!EFI_ERROR (Status)) {
|
||||
//
|
||||
// First unregister the default hot key F9 and F10.
|
||||
|
@@ -91,7 +91,7 @@
|
||||
gEfiFormBrowser2ProtocolGuid ## CONSUMES
|
||||
gEfiHiiDatabaseProtocolGuid ## CONSUMES
|
||||
gEfiSimpleTextInputExProtocolGuid ## SOMETIMES_CONSUMES
|
||||
gEfiFormBrowserExProtocolGuid ## CONSUMES
|
||||
gEdkiiFormBrowserExProtocolGuid ## CONSUMES
|
||||
gEfiConfigKeywordHandlerProtocolGuid ## CONSUMES
|
||||
|
||||
[Depex]
|
||||
|
@@ -938,7 +938,7 @@ InitializeSetup (
|
||||
|
||||
Status = gBS->InstallProtocolInterface (
|
||||
&mPrivateData.Handle,
|
||||
&gEfiFormBrowserExProtocolGuid,
|
||||
&gEdkiiFormBrowserExProtocolGuid,
|
||||
EFI_NATIVE_INTERFACE,
|
||||
&mPrivateData.FormBrowserEx
|
||||
);
|
||||
|
@@ -90,7 +90,7 @@ typedef struct {
|
||||
// Produced protocol
|
||||
//
|
||||
EFI_FORM_BROWSER2_PROTOCOL FormBrowser2;
|
||||
EFI_FORM_BROWSER_EXTENSION_PROTOCOL FormBrowserEx;
|
||||
EDKII_FORM_BROWSER_EXTENSION_PROTOCOL FormBrowserEx;
|
||||
|
||||
EDKII_FORM_BROWSER_EXTENSION2_PROTOCOL FormBrowserEx2;
|
||||
|
||||
|
@@ -75,7 +75,7 @@
|
||||
## CONSUMES
|
||||
## NOTIFY
|
||||
gEdkiiFormDisplayEngineProtocolGuid
|
||||
gEfiFormBrowserExProtocolGuid ## PRODUCES
|
||||
gEdkiiFormBrowserExProtocolGuid ## PRODUCES
|
||||
gEfiRegularExpressionProtocolGuid ## CONSUMES
|
||||
|
||||
[FeaturePcd]
|
||||
|
Reference in New Issue
Block a user