Home
last modified time | relevance | path

Searched refs:gVariableInfo (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/
DEmuVariable.c24 VARIABLE_INFO_ENTRY *gVariableInfo = NULL; variable
314 if (gVariableInfo == NULL) { in UpdateVariableInfo()
319 gVariableInfo = AllocateZeroPool (sizeof (VARIABLE_INFO_ENTRY)); in UpdateVariableInfo()
320 ASSERT (gVariableInfo != NULL); in UpdateVariableInfo()
322 CopyGuid (&gVariableInfo->VendorGuid, VendorGuid); in UpdateVariableInfo()
323 gVariableInfo->Name = AllocateZeroPool (StrSize (VariableName)); in UpdateVariableInfo()
324 ASSERT (gVariableInfo->Name != NULL); in UpdateVariableInfo()
325 StrCpyS (gVariableInfo->Name, StrSize(VariableName)/sizeof(CHAR16), VariableName); in UpdateVariableInfo()
326 gVariableInfo->Volatile = Volatile; in UpdateVariableInfo()
328 gBS->InstallConfigurationTable (&gEfiVariableGuid, gVariableInfo); in UpdateVariableInfo()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/
DVariableDxe.c22 extern VARIABLE_INFO_ENTRY *gVariableInfo;
296 gBS->InstallConfigurationTable (&gEfiAuthenticatedVariableGuid, gVariableInfo); in OnReadyToBoot()
298 gBS->InstallConfigurationTable (&gEfiVariableGuid, gVariableInfo); in OnReadyToBoot()
DVariable.c48 VARIABLE_INFO_ENTRY *gVariableInfo = NULL; variable
154 if (gVariableInfo == NULL) { in UpdateVariableInfo()
159 gVariableInfo = AllocateZeroPool (sizeof (VARIABLE_INFO_ENTRY)); in UpdateVariableInfo()
160 ASSERT (gVariableInfo != NULL); in UpdateVariableInfo()
162 CopyGuid (&gVariableInfo->VendorGuid, VendorGuid); in UpdateVariableInfo()
163 gVariableInfo->Name = AllocateZeroPool (StrSize (VariableName)); in UpdateVariableInfo()
164 ASSERT (gVariableInfo->Name != NULL); in UpdateVariableInfo()
165 StrCpyS (gVariableInfo->Name, StrSize(VariableName)/sizeof(CHAR16), VariableName); in UpdateVariableInfo()
166 gVariableInfo->Volatile = Volatile; in UpdateVariableInfo()
170 for (Entry = gVariableInfo; Entry != NULL; Entry = Entry->Next) { in UpdateVariableInfo()
DVariableSmm.c41 extern VARIABLE_INFO_ENTRY *gVariableInfo;
362 VariableInfo = gVariableInfo; in SmmVariableGetStatistics()
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/
DVariable.c34 GLOBAL_REMOVE_IF_UNREFERENCED VARIABLE_INFO_ENTRY *gVariableInfo = NULL; variable
728 if (gVariableInfo == NULL) { in UpdateVariableInfo()
733 gVariableInfo = AllocateZeroPool (sizeof (VARIABLE_INFO_ENTRY)); in UpdateVariableInfo()
734 ASSERT (gVariableInfo != NULL); in UpdateVariableInfo()
736 CopyGuid (&gVariableInfo->VendorGuid, VendorGuid); in UpdateVariableInfo()
737 gVariableInfo->Name = AllocatePool (StrSize (VariableName)); in UpdateVariableInfo()
738 ASSERT (gVariableInfo->Name != NULL); in UpdateVariableInfo()
739 StrCpyS (gVariableInfo->Name, StrSize (VariableName) / sizeof (CHAR16), VariableName); in UpdateVariableInfo()
740 gVariableInfo->Volatile = Volatile; in UpdateVariableInfo()
742 gBS->InstallConfigurationTable (&gEfiAuthenticatedVariableGuid, gVariableInfo); in UpdateVariableInfo()
[all …]