diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-04-13 06:22:14 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-04-13 06:22:14 +0000 |
commit | 3c7449e4aad0e1fb7423845349556be4175344a4 (patch) | |
tree | 6cc0923a0d803413b30ce1e42fb6cf116203552d /MdeModulePkg/Library/UefiHiiLib | |
parent | 39e65b358e63ae9fdb89de167b4a29dbb5536b7d (diff) | |
download | edk2-3c7449e4aad0e1fb7423845349556be4175344a4.zip edk2-3c7449e4aad0e1fb7423845349556be4175344a4.tar.gz edk2-3c7449e4aad0e1fb7423845349556be4175344a4.tar.bz2 |
Merge new defined HII library APIs into HiiLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8069 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/UefiHiiLib')
-rw-r--r-- | MdeModulePkg/Library/UefiHiiLib/HiiLib.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/MdeModulePkg/Library/UefiHiiLib/HiiLib.c b/MdeModulePkg/Library/UefiHiiLib/HiiLib.c index a3e2498..6c2cd91 100644 --- a/MdeModulePkg/Library/UefiHiiLib/HiiLib.c +++ b/MdeModulePkg/Library/UefiHiiLib/HiiLib.c @@ -22,7 +22,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED CONST CHAR16 mConfigHdrTemplate[] = L"GUID=0000000 //
// Form Browser2 Protocol
//
-EFI_FORM_BROWSER2_PROTOCOL *mFormBrowser2 = NULL;
+EFI_FORM_BROWSER2_PROTOCOL *mUefiFormBrowser2 = NULL;
/**
This funciton build the package list based on the package number,
@@ -846,9 +846,9 @@ InternalHiiBrowserCallback ( //
// Locate protocols
//
- if (mFormBrowser2 == NULL) {
- Status = gBS->LocateProtocol (&gEfiFormBrowser2ProtocolGuid, NULL, (VOID **) &mFormBrowser2);
- if (EFI_ERROR (Status) || mFormBrowser2 == NULL) {
+ if (mUefiFormBrowser2 == NULL) {
+ Status = gBS->LocateProtocol (&gEfiFormBrowser2ProtocolGuid, NULL, (VOID **) &mUefiFormBrowser2);
+ if (EFI_ERROR (Status) || mUefiFormBrowser2 == NULL) {
return NULL;
}
}
@@ -864,8 +864,8 @@ InternalHiiBrowserCallback ( //
// Retrieve the length of the buffer required ResultsData from the Browser Callback
//
- Status = mFormBrowser2->BrowserCallback (
- mFormBrowser2,
+ Status = mUefiFormBrowser2->BrowserCallback (
+ mUefiFormBrowser2,
&ResultsDataSize,
&TempResultsData,
TRUE,
@@ -888,8 +888,8 @@ InternalHiiBrowserCallback ( //
// Retrieve or set the ResultsData from the Browser Callback
//
- Status = mFormBrowser2->BrowserCallback (
- mFormBrowser2,
+ Status = mUefiFormBrowser2->BrowserCallback (
+ mUefiFormBrowser2,
&ResultsDataSize,
ResultsData,
(BOOLEAN)(SetResultsData == NULL),
@@ -2856,7 +2856,7 @@ Finish: **/
EFI_STATUS
EFIAPI
-IfrLibExtractDefault(
+HiiIfrLibExtractDefault(
IN VOID *Buffer,
IN UINTN *BufferSize,
UINTN Number,
|