mirror of https://github.com/acidanthera/audk.git
Rename the global variable to avoid possible symbol conflict.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6303 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
e56dd2ce13
commit
58228071ab
|
@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
#include "UefiIfrLibraryInternal.h"
|
#include "UefiIfrLibraryInternal.h"
|
||||||
|
|
||||||
CONST EFI_FORM_BROWSER2_PROTOCOL *mFormBrowser2 = NULL;
|
CONST EFI_FORM_BROWSER2_PROTOCOL *mFormBrowser2 = NULL;
|
||||||
CONST EFI_HII_CONFIG_ROUTING_PROTOCOL *mHiiConfigRouting = NULL;
|
CONST EFI_HII_CONFIG_ROUTING_PROTOCOL *mIfrSupportLibHiiConfigRouting = NULL;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
This function locate FormBrowser2 protocols for later usage.
|
This function locate FormBrowser2 protocols for later usage.
|
||||||
|
@ -39,8 +39,8 @@ LocateFormBrowser2Protocols (
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mHiiConfigRouting == NULL) {
|
if (mIfrSupportLibHiiConfigRouting == NULL) {
|
||||||
Status = gBS->LocateProtocol (&gEfiHiiConfigRoutingProtocolGuid, NULL, (VOID **) &mHiiConfigRouting);
|
Status = gBS->LocateProtocol (&gEfiHiiConfigRoutingProtocolGuid, NULL, (VOID **) &mIfrSupportLibHiiConfigRouting);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
@ -809,8 +809,8 @@ GetBrowserData (
|
||||||
//
|
//
|
||||||
// Convert <ConfigResp> to buffer data
|
// Convert <ConfigResp> to buffer data
|
||||||
//
|
//
|
||||||
Status = mHiiConfigRouting->ConfigToBlock (
|
Status = mIfrSupportLibHiiConfigRouting->ConfigToBlock (
|
||||||
mHiiConfigRouting,
|
mIfrSupportLibHiiConfigRouting,
|
||||||
ConfigResp,
|
ConfigResp,
|
||||||
Buffer,
|
Buffer,
|
||||||
BufferSize,
|
BufferSize,
|
||||||
|
@ -909,8 +909,8 @@ SetBrowserData (
|
||||||
//
|
//
|
||||||
// Convert buffer to <ConfigResp>
|
// Convert buffer to <ConfigResp>
|
||||||
//
|
//
|
||||||
Status = mHiiConfigRouting->BlockToConfig (
|
Status = mIfrSupportLibHiiConfigRouting->BlockToConfig (
|
||||||
mHiiConfigRouting,
|
mIfrSupportLibHiiConfigRouting,
|
||||||
ConfigRequest,
|
ConfigRequest,
|
||||||
Buffer,
|
Buffer,
|
||||||
BufferSize,
|
BufferSize,
|
||||||
|
|
Loading…
Reference in New Issue