Searched refs:mVariableModuleGlobal (Results 1 – 13 of 13) sorted by relevance
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/ |
D | InitVariable.c | 135 &mVariableModuleGlobal->VariableGlobal[Virtual], in VariableClassAddressChangeEvent() 136 &mVariableModuleGlobal->VariableGlobal[Physical], in VariableClassAddressChangeEvent() 142 (VOID **) &mVariableModuleGlobal->VariableGlobal[Virtual].NonVolatileVariableBase in VariableClassAddressChangeEvent() 146 (VOID **) &mVariableModuleGlobal->VariableGlobal[Virtual].VolatileVariableBase in VariableClassAddressChangeEvent() 149 …mVariableModuleGlobal->PlatformLangCodes[Virtual] = mVariableModuleGlobal->PlatformLangCodes[Physi… in VariableClassAddressChangeEvent() 150 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->PlatformLangCodes[Virtual]); in VariableClassAddressChangeEvent() 152 mVariableModuleGlobal->LangCodes[Virtual] = mVariableModuleGlobal->LangCodes[Physical]; in VariableClassAddressChangeEvent() 153 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->LangCodes[Virtual]); in VariableClassAddressChangeEvent() 155 mVariableModuleGlobal->PlatformLang[Virtual] = mVariableModuleGlobal->PlatformLang[Physical]; in VariableClassAddressChangeEvent() 156 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->PlatformLang[Virtual]); in VariableClassAddressChangeEvent() [all …]
|
D | AuthService.c | 53 mVariableModuleGlobal->AuthenticatedVariableGuid[Physical] = &gEfiAuthenticatedVariableGuid; in AutenticatedVariableServiceInitialize() 54 mVariableModuleGlobal->CertRsa2048Sha256Guid[Physical] = &gEfiCertRsa2048Sha256Guid; in AutenticatedVariableServiceInitialize() 55 mVariableModuleGlobal->ImageSecurityDatabaseGuid[Physical] = &gEfiImageSecurityDatabaseGuid; in AutenticatedVariableServiceInitialize() 61 mVariableModuleGlobal->HashContext[Physical] = AllocateRuntimePool (CtxSize); in AutenticatedVariableServiceInitialize() 62 ASSERT (mVariableModuleGlobal->HashContext[Physical] != NULL); in AutenticatedVariableServiceInitialize() 68 mVariableModuleGlobal->VariableName[Physical][VAR_AUTH_KEY_DB], in AutenticatedVariableServiceInitialize() 71 &mVariableModuleGlobal->VariableGlobal[Physical], in AutenticatedVariableServiceInitialize() 72 mVariableModuleGlobal->FvbInstance in AutenticatedVariableServiceInitialize() 80 mVariableModuleGlobal->VariableName[Physical][VAR_AUTH_KEY_DB], in AutenticatedVariableServiceInitialize() 88 mVariableModuleGlobal, in AutenticatedVariableServiceInitialize() [all …]
|
D | Variable.c | 21 ESAL_VARIABLE_GLOBAL *mVariableModuleGlobal; variable 1572 …Buffer = Iso639Language ? mVariableModuleGlobal->Lang : mVariableModuleGlobal->PlatformLang[Virtua… in VariableGetBestLanguage() 2919 …VarSize = ((VARIABLE_STORE_HEADER *) ((UINTN) mVariableModuleGlobal->VariableGlobal[Physical].NonV… in ReclaimForOS() 2926 …RemainingCommonVariableSpace = CommonVariableSpace - mVariableModuleGlobal->CommonVariableTotalSiz… in ReclaimForOS() 2928 …RemainingHwErrVariableSpace = PcdGet32 (PcdHwErrStorageSize) - mVariableModuleGlobal->HwErrVariabl… in ReclaimForOS() 2936 mVariableModuleGlobal->VariableGlobal[Physical].NonVolatileVariableBase, in ReclaimForOS() 2937 &mVariableModuleGlobal->NonVolatileLastVariableOffset, in ReclaimForOS() 2940 mVariableModuleGlobal, in ReclaimForOS() 2991 mVariableModuleGlobal in FlushHob2Nv() 3042 mVariableModuleGlobal = AllocateRuntimeZeroPool (sizeof (ESAL_VARIABLE_GLOBAL)); in VariableCommonInitialize() [all …]
|
D | Variable.h | 126 extern ESAL_VARIABLE_GLOBAL *mVariableModuleGlobal;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/ |
D | Variable.c | 33 VARIABLE_MODULE_GLOBAL *mVariableModuleGlobal; variable 339 DataPtr += mVariableModuleGlobal->VariableGlobal.NonVolatileVariableBase; in UpdateVariableStore() 350 …VolatileBase = (VARIABLE_STORE_HEADER *) ((UINTN) mVariableModuleGlobal->VariableGlobal.VolatileVa… in UpdateVariableStore() 352 DataPtr += mVariableModuleGlobal->VariableGlobal.VolatileVariableBase; in UpdateVariableStore() 474 if (mVariableModuleGlobal->VariableGlobal.AuthFormat) { in GetVariableHeaderSize() 500 if (mVariableModuleGlobal->VariableGlobal.AuthFormat) { in NameSizeOfVariable() 535 if (mVariableModuleGlobal->VariableGlobal.AuthFormat) { in SetNameSizeOfVariable() 559 if (mVariableModuleGlobal->VariableGlobal.AuthFormat) { in DataSizeOfVariable() 594 if (mVariableModuleGlobal->VariableGlobal.AuthFormat) { in SetDataSizeOfVariable() 634 if (mVariableModuleGlobal->VariableGlobal.AuthFormat) { in GetVendorGuidPtr() [all …]
|
D | VarCheck.c | 45 AcquireLockOnlyAtBootTime (&mVariableModuleGlobal->VariableGlobal.VariableServicesLock); in VariableLockRequestToLock() 61 ReleaseLockOnlyAtBootTime (&mVariableModuleGlobal->VariableGlobal.VariableServicesLock); in VariableLockRequestToLock() 88 AcquireLockOnlyAtBootTime (&mVariableModuleGlobal->VariableGlobal.VariableServicesLock); in VarCheckRegisterSetVariableCheckHandler() 90 ReleaseLockOnlyAtBootTime (&mVariableModuleGlobal->VariableGlobal.VariableServicesLock); in VarCheckRegisterSetVariableCheckHandler() 120 AcquireLockOnlyAtBootTime (&mVariableModuleGlobal->VariableGlobal.VariableServicesLock); in VarCheckVariablePropertySet() 122 ReleaseLockOnlyAtBootTime (&mVariableModuleGlobal->VariableGlobal.VariableServicesLock); in VarCheckVariablePropertySet() 149 AcquireLockOnlyAtBootTime (&mVariableModuleGlobal->VariableGlobal.VariableServicesLock); in VarCheckVariablePropertyGet() 151 ReleaseLockOnlyAtBootTime (&mVariableModuleGlobal->VariableGlobal.VariableServicesLock); in VarCheckVariablePropertyGet()
|
D | VariableDxe.c | 232 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance->GetBlockSize); in VariableClassAddressChangeEvent() 233 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance->GetPhysicalAddress); in VariableClassAddressChangeEvent() 234 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance->GetAttributes); in VariableClassAddressChangeEvent() 235 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance->SetAttributes); in VariableClassAddressChangeEvent() 236 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance->Read); in VariableClassAddressChangeEvent() 237 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance->Write); in VariableClassAddressChangeEvent() 238 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance->EraseBlocks); in VariableClassAddressChangeEvent() 239 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance); in VariableClassAddressChangeEvent() 240 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->PlatformLangCodes); in VariableClassAddressChangeEvent() 241 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->LangCodes); in VariableClassAddressChangeEvent() [all …]
|
D | VariableExLib.c | 51 &mVariableModuleGlobal->VariableGlobal, in VariableExLibFindVariable() 67 if (mVariableModuleGlobal->VariableGlobal.AuthFormat) { in VariableExLibFindVariable() 129 if (mVariableModuleGlobal->VariableGlobal.AuthFormat) { in VariableExLibFindNextVariable() 159 …ableInfo->VariableName, AuthVariableInfo->VendorGuid, &Variable, &mVariableModuleGlobal->VariableG… in VariableExLibUpdateVariable() 194 MaxBufferSize = mVariableModuleGlobal->ScratchBufferSize; in VariableExLibGetScratchBuffer() 200 …*ScratchBuffer = GetEndPointer ((VARIABLE_STORE_HEADER *) ((UINTN) mVariableModuleGlobal->Variable… in VariableExLibGetScratchBuffer()
|
D | VariableSmm.c | 855 if (mVariableModuleGlobal->FvbInstance != NULL) { in SmmFtwNotificationEvent() 884 mVariableModuleGlobal->FvbInstance = FvbProtocol; in SmmFtwNotificationEvent()
|
D | Variable.h | 770 extern VARIABLE_MODULE_GLOBAL *mVariableModuleGlobal;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/ |
D | InitVariable.c | 55 &mVariableModuleGlobal->VariableGlobal[Physical] in RuntimeServiceGetVariable() 85 &mVariableModuleGlobal->VariableGlobal[Physical] in RuntimeServiceGetNextVariableName() 123 &mVariableModuleGlobal->VariableGlobal[Physical], in RuntimeServiceSetVariable() 124 &mVariableModuleGlobal->VolatileLastVariableOffset, in RuntimeServiceSetVariable() 125 &mVariableModuleGlobal->NonVolatileLastVariableOffset in RuntimeServiceSetVariable() 161 &mVariableModuleGlobal->VariableGlobal[Physical] in RuntimeServiceQueryVariableInfo() 182 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->PlatformLangCodes); in VariableClassAddressChangeEvent() 183 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->LangCodes); in VariableClassAddressChangeEvent() 184 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->PlatformLang); in VariableClassAddressChangeEvent() 187 (VOID **) &mVariableModuleGlobal->VariableGlobal[Physical].NonVolatileVariableBase in VariableClassAddressChangeEvent() [all …]
|
D | EmuVariable.c | 22 ESAL_VARIABLE_GLOBAL *mVariableModuleGlobal; variable 497 mVariableModuleGlobal->Lang[CompareLength] = '\0'; in GetLangFromSupportedLangCodes() 498 …return CopyMem (mVariableModuleGlobal->Lang, SupportedLang + Index * CompareLength, CompareLength); in GetLangFromSupportedLangCodes() 522 mVariableModuleGlobal->PlatformLang[CompareLength] = '\0'; in GetLangFromSupportedLangCodes() 523 … return CopyMem (mVariableModuleGlobal->PlatformLang, Supported - CompareLength, CompareLength); in GetLangFromSupportedLangCodes() 639 … Buffer = Iso639Language ? mVariableModuleGlobal->Lang : mVariableModuleGlobal->PlatformLang; in VariableGetBestLanguage() 719 if (mVariableModuleGlobal->PlatformLangCodes != NULL) { in AutoUpdateLangVariable() 720 FreePool (mVariableModuleGlobal->PlatformLangCodes); in AutoUpdateLangVariable() 722 mVariableModuleGlobal->PlatformLangCodes = AllocateRuntimeCopyPool (DataSize, Data); in AutoUpdateLangVariable() 723 ASSERT (mVariableModuleGlobal->PlatformLangCodes != NULL); in AutoUpdateLangVariable() [all …]
|
D | Variable.h | 80 extern ESAL_VARIABLE_GLOBAL *mVariableModuleGlobal;
|