diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-09-18 12:25:27 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-09-18 12:25:27 +0000 |
commit | a0c56a8219ec268d8ac4e051035f1636545cc478 (patch) | |
tree | a3beee7af721d89c545bddefe8ebcc0c01174d4f /SecurityPkg/Application/VariableInfo | |
parent | e24fc1032db5d5d2395260f6d7af94aa5a2a0802 (diff) | |
download | edk2-platforms-a0c56a8219ec268d8ac4e051035f1636545cc478.tar.xz |
Clean up the private GUID definition in module Level.
0. Remove the unused private GUID from module source files.
1. Use gEfiCallerIdGuid replace of the private module GUID.
2. Add the public header files to define HII FormSet and PackageList GUID used in every HII driver.
Signed-off-by: lgao4
Reviewed-by: ydong10 gdong1 tye jfan12 wli12 rsun3 jyao1 ftian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12375 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/Application/VariableInfo')
-rw-r--r-- | SecurityPkg/Application/VariableInfo/VariableInfo.c | 7 | ||||
-rw-r--r-- | SecurityPkg/Application/VariableInfo/VariableInfo.inf | 2 |
2 files changed, 3 insertions, 6 deletions
diff --git a/SecurityPkg/Application/VariableInfo/VariableInfo.c b/SecurityPkg/Application/VariableInfo/VariableInfo.c index 418cec3e5b..0c1ee4b0f8 100644 --- a/SecurityPkg/Application/VariableInfo/VariableInfo.c +++ b/SecurityPkg/Application/VariableInfo/VariableInfo.c @@ -29,10 +29,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include <Protocol/SmmCommunication.h>
#include <Protocol/SmmVariable.h>
-#define EFI_VARIABLE_GUID \
- { 0xddcf3616, 0x3275, 0x4164, { 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d } }
-
-EFI_GUID mEfiVariableGuid = EFI_VARIABLE_GUID;
+extern EFI_GUID gEfiVariableGuid;
EFI_SMM_COMMUNICATION_PROTOCOL *mSmmCommunication = NULL;
/**
@@ -208,7 +205,7 @@ UefiMain ( VARIABLE_INFO_ENTRY *VariableInfo;
VARIABLE_INFO_ENTRY *Entry;
- Status = EfiGetSystemConfigurationTable (&mEfiVariableGuid, (VOID **)&Entry);
+ Status = EfiGetSystemConfigurationTable (&gEfiVariableGuid, (VOID **)&Entry);
if (EFI_ERROR (Status) || (Entry == NULL)) {
Status = EfiGetSystemConfigurationTable (&gEfiAuthenticatedVariableGuid, (VOID **)&Entry);
}
diff --git a/SecurityPkg/Application/VariableInfo/VariableInfo.inf b/SecurityPkg/Application/VariableInfo/VariableInfo.inf index a247d53ceb..902ed7f1c5 100644 --- a/SecurityPkg/Application/VariableInfo/VariableInfo.inf +++ b/SecurityPkg/Application/VariableInfo/VariableInfo.inf @@ -51,4 +51,4 @@ [Guids]
gEfiAuthenticatedVariableGuid ## CONSUMES ## Configuration Table Guid
-
+ gEfiVariableGuid ## CONSUMES ## Configuration Table Guid
|