Lines Matching refs:mVariableModuleGlobal
21 ESAL_VARIABLE_GLOBAL *mVariableModuleGlobal;
1572 Buffer = Iso639Language ? mVariableModuleGlobal->Lang : mVariableModuleGlobal->PlatformLang[VirtualMode];
2919 VarSize = ((VARIABLE_STORE_HEADER *) ((UINTN) mVariableModuleGlobal->VariableGlobal[Physical].NonVolatileVariableBase))->Size;
2926 RemainingCommonVariableSpace = CommonVariableSpace - mVariableModuleGlobal->CommonVariableTotalSize;
2928 RemainingHwErrVariableSpace = PcdGet32 (PcdHwErrStorageSize) - mVariableModuleGlobal->HwErrVariableTotalSize;
2936 mVariableModuleGlobal->VariableGlobal[Physical].NonVolatileVariableBase,
2937 &mVariableModuleGlobal->NonVolatileLastVariableOffset,
2940 mVariableModuleGlobal,
2991 mVariableModuleGlobal
3040 // Allocate memory for mVariableModuleGlobal
3042 mVariableModuleGlobal = AllocateRuntimeZeroPool (sizeof (ESAL_VARIABLE_GLOBAL));
3043 if (mVariableModuleGlobal == NULL) {
3047 mVariableModuleGlobal->GlobalVariableGuid[Physical] = &gEfiGlobalVariableGuid;
3049 mVariableModuleGlobal->VariableName[Physical],
3054 EfiInitializeLock(&mVariableModuleGlobal->VariableGlobal[Physical].VariableServicesLock, TPL_NOTIFY);
3070 FreePool (mVariableModuleGlobal);
3079 mVariableModuleGlobal->VariableGlobal[Physical].VolatileVariableBase = (EFI_PHYSICAL_ADDRESS) (UINTN) VolatileVariableStore;
3080 mVariableModuleGlobal->VolatileLastVariableOffset = (UINTN) GetStartPointer ((EFI_PHYSICAL_ADDRESS) VolatileVariableStore) - (UINTN) VolatileVariableStore;
3120 mVariableModuleGlobal->VariableGlobal[Physical].NonVolatileVariableBase = VariableStoreBase;
3129 CurrPtr = mVariableModuleGlobal->VariableGlobal[Physical].NonVolatileVariableBase;
3152 mVariableModuleGlobal->FvbInstance = Instance;
3164 &mVariableModuleGlobal->VariableGlobal[Physical],
3166 mVariableModuleGlobal->FvbInstance,
3186 mVariableModuleGlobal->VariableGlobal[Physical].NonVolatileVariableBase = (EFI_PHYSICAL_ADDRESS) ((UINTN) CurrPtr);
3193 while (IsValidVariableHeader (Variable, FALSE, &(mVariableModuleGlobal->VariableGlobal[Physical]), Instance, NULL)) {
3197 &(mVariableModuleGlobal->VariableGlobal[Physical]),
3202 mVariableModuleGlobal->HwErrVariableTotalSize += VariableSize;
3204 mVariableModuleGlobal->CommonVariableTotalSize += VariableSize;
3210 mVariableModuleGlobal->NonVolatileLastVariableOffset = (UINTN) Variable - (UINTN) CurrPtr;
3215 for (Index = mVariableModuleGlobal->NonVolatileLastVariableOffset; Index < VariableStoreHeader->Size; Index++) {
3216 Data = ((UINT8 *) (UINTN) mVariableModuleGlobal->VariableGlobal[Physical].NonVolatileVariableBase)[Index];
3222 mVariableModuleGlobal->VariableGlobal[Physical].NonVolatileVariableBase,
3223 &mVariableModuleGlobal->NonVolatileLastVariableOffset,
3226 mVariableModuleGlobal,
3252 FreePool (mVariableModuleGlobal);