#include <Protocol/SmmCommunication.h>\r
#include <Protocol/SmmVariable.h>\r
\r
-#define EFI_VARIABLE_GUID \\r
- { 0xddcf3616, 0x3275, 0x4164, { 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d } }\r
-\r
-EFI_GUID mEfiVariableGuid = EFI_VARIABLE_GUID;\r
+extern EFI_GUID gEfiVariableGuid;\r
EFI_SMM_COMMUNICATION_PROTOCOL *mSmmCommunication = NULL;\r
\r
/**\r
VARIABLE_INFO_ENTRY *VariableInfo;\r
VARIABLE_INFO_ENTRY *Entry;\r
\r
- Status = EfiGetSystemConfigurationTable (&mEfiVariableGuid, (VOID **)&Entry);\r
+ Status = EfiGetSystemConfigurationTable (&gEfiVariableGuid, (VOID **)&Entry);\r
if (EFI_ERROR (Status) || (Entry == NULL)) {\r
Status = EfiGetSystemConfigurationTable (&gEfiAuthenticatedVariableGuid, (VOID **)&Entry);\r
}\r