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:
qwang12 2008-10-30 06:59:04 +00:00
parent e56dd2ce13
commit 58228071ab
1 changed files with 7 additions and 7 deletions

View File

@ -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,