Searched refs:mVariableModuleGlobal (Results 1 - 19 of 19) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/
H A DInitVariable.c135 &mVariableModuleGlobal->VariableGlobal[Virtual],
136 &mVariableModuleGlobal->VariableGlobal[Physical],
142 (VOID **) &mVariableModuleGlobal->VariableGlobal[Virtual].NonVolatileVariableBase
146 (VOID **) &mVariableModuleGlobal->VariableGlobal[Virtual].VolatileVariableBase
149 mVariableModuleGlobal->PlatformLangCodes[Virtual] = mVariableModuleGlobal->PlatformLangCodes[Physical];
150 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->PlatformLangCodes[Virtual]);
152 mVariableModuleGlobal->LangCodes[Virtual] = mVariableModuleGlobal->LangCodes[Physical];
153 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal
[all...]
H A DAuthService.c51 mVariableModuleGlobal->AuthenticatedVariableGuid[Physical] = &gEfiAuthenticatedVariableGuid;
52 mVariableModuleGlobal->CertRsa2048Sha256Guid[Physical] = &gEfiCertRsa2048Sha256Guid;
53 mVariableModuleGlobal->ImageSecurityDatabaseGuid[Physical] = &gEfiImageSecurityDatabaseGuid;
59 mVariableModuleGlobal->HashContext[Physical] = AllocateRuntimePool (CtxSize);
60 ASSERT (mVariableModuleGlobal->HashContext[Physical] != NULL);
66 mVariableModuleGlobal->VariableName[Physical][VAR_AUTH_KEY_DB],
69 &mVariableModuleGlobal->VariableGlobal[Physical],
70 mVariableModuleGlobal->FvbInstance
78 mVariableModuleGlobal->VariableName[Physical][VAR_AUTH_KEY_DB],
86 mVariableModuleGlobal,
[all...]
H A DVariable.c21 ESAL_VARIABLE_GLOBAL *mVariableModuleGlobal; variable
1572 Buffer = Iso639Language ? mVariableModuleGlobal->Lang : mVariableModuleGlobal->PlatformLang[VirtualMode];
1664 ASSERT (mVariableModuleGlobal->PlatformLangCodes[VirtualMode] != NULL);
2913 VarSize = ((VARIABLE_STORE_HEADER *) ((UINTN) mVariableModuleGlobal->VariableGlobal[Physical].NonVolatileVariableBase))->Size;
2920 RemainingCommonVariableSpace = CommonVariableSpace - mVariableModuleGlobal->CommonVariableTotalSize;
2922 RemainingHwErrVariableSpace = PcdGet32 (PcdHwErrStorageSize) - mVariableModuleGlobal->HwErrVariableTotalSize;
2930 mVariableModuleGlobal->VariableGlobal[Physical].NonVolatileVariableBase,
2931 &mVariableModuleGlobal->NonVolatileLastVariableOffset,
2934 mVariableModuleGlobal,
[all...]
H A DVariable.h126 extern ESAL_VARIABLE_GLOBAL *mVariableModuleGlobal;
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/
H A DInitVariable.c54 &mVariableModuleGlobal->VariableGlobal[Physical]
84 &mVariableModuleGlobal->VariableGlobal[Physical]
122 &mVariableModuleGlobal->VariableGlobal[Physical],
123 &mVariableModuleGlobal->VolatileLastVariableOffset,
124 &mVariableModuleGlobal->NonVolatileLastVariableOffset
160 &mVariableModuleGlobal->VariableGlobal[Physical]
181 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->PlatformLangCodes);
182 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->LangCodes);
183 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->PlatformLang);
186 (VOID **) &mVariableModuleGlobal
[all...]
H A DEmuVariable.c22 ESAL_VARIABLE_GLOBAL *mVariableModuleGlobal; variable
497 mVariableModuleGlobal->Lang[CompareLength] = '\0';
498 return CopyMem (mVariableModuleGlobal->Lang, SupportedLang + Index * CompareLength, CompareLength);
522 mVariableModuleGlobal->PlatformLang[CompareLength] = '\0';
523 return CopyMem (mVariableModuleGlobal->PlatformLang, Supported - CompareLength, CompareLength);
639 Buffer = Iso639Language ? mVariableModuleGlobal->Lang : mVariableModuleGlobal->PlatformLang;
719 if (mVariableModuleGlobal->PlatformLangCodes != NULL) {
720 FreePool (mVariableModuleGlobal->PlatformLangCodes);
722 mVariableModuleGlobal
[all...]
H A DVariable.h80 extern ESAL_VARIABLE_GLOBAL *mVariableModuleGlobal;
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Variable/RuntimeDxe/
H A DVariable.c19 VARIABLE_MODULE_GLOBAL *mVariableModuleGlobal; variable
212 DataPtr += mVariableModuleGlobal->VariableGlobal.NonVolatileVariableBase;
223 VolatileBase = (VARIABLE_STORE_HEADER *) ((UINTN) mVariableModuleGlobal->VariableGlobal.VolatileVariableBase);
225 DataPtr += mVariableModuleGlobal->VariableGlobal.VolatileVariableBase;
546 mVariableModuleGlobal->CommonVariableTotalSize = 0;
547 mVariableModuleGlobal->HwErrVariableTotalSize = 0;
615 mVariableModuleGlobal->HwErrVariableTotalSize += VariableSize;
617 mVariableModuleGlobal->CommonVariableTotalSize += VariableSize;
631 mVariableModuleGlobal->HwErrVariableTotalSize += VariableSize;
633 mVariableModuleGlobal
[all...]
H A DVariableDxe.c221 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance->GetBlockSize);
222 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance->GetPhysicalAddress);
223 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance->GetAttributes);
224 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance->SetAttributes);
225 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance->Read);
226 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance->Write);
227 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance->EraseBlocks);
228 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance);
229 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->PlatformLangCodes);
230 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal
[all...]
H A DVariable.h439 extern VARIABLE_MODULE_GLOBAL *mVariableModuleGlobal;
H A DVariableSmm.c469 if (mVariableModuleGlobal->FvbInstance != NULL) {
493 mVariableModuleGlobal->FvbInstance = FvbProtocol;
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/RuntimeDxe/
H A DVariable.c19 VARIABLE_MODULE_GLOBAL *mVariableModuleGlobal; variable
214 DataPtr += mVariableModuleGlobal->VariableGlobal.NonVolatileVariableBase;
225 VolatileBase = (VARIABLE_STORE_HEADER *) ((UINTN) mVariableModuleGlobal->VariableGlobal.VolatileVariableBase);
227 DataPtr += mVariableModuleGlobal->VariableGlobal.VolatileVariableBase;
548 mVariableModuleGlobal->CommonVariableTotalSize = 0;
549 mVariableModuleGlobal->HwErrVariableTotalSize = 0;
617 mVariableModuleGlobal->HwErrVariableTotalSize += VariableSize;
619 mVariableModuleGlobal->CommonVariableTotalSize += VariableSize;
633 mVariableModuleGlobal->HwErrVariableTotalSize += VariableSize;
635 mVariableModuleGlobal
[all...]
H A DVariableDxe.c221 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance->GetBlockSize);
222 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance->GetPhysicalAddress);
223 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance->GetAttributes);
224 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance->SetAttributes);
225 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance->Read);
226 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance->Write);
227 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance->EraseBlocks);
228 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->FvbInstance);
229 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->PlatformLangCodes);
230 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal
[all...]
H A DAuthService.c106 FindVariable (EFI_CUSTOM_MODE_NAME, &gEfiCustomModeEnableGuid, &Variable, &mVariableModuleGlobal->VariableGlobal, FALSE);
135 Status = FindVariable (VariableName, VendorGuid, &Variable, &mVariableModuleGlobal->VariableGlobal, FALSE);
203 &mVariableModuleGlobal->VariableGlobal,
236 FindVariable (EFI_PLATFORM_KEY_NAME, &gEfiGlobalVariableGuid, &PkVariable, &mVariableModuleGlobal->VariableGlobal, FALSE);
252 &mVariableModuleGlobal->VariableGlobal,
289 &mVariableModuleGlobal->VariableGlobal,
314 FindVariable (EFI_SECURE_BOOT_ENABLE_NAME, &gEfiSecureBootEnableDisableGuid, &Variable, &mVariableModuleGlobal->VariableGlobal, FALSE);
343 FindVariable (EFI_SECURE_BOOT_MODE_NAME, &gEfiGlobalVariableGuid, &Variable, &mVariableModuleGlobal->VariableGlobal, FALSE);
366 FindVariable (EFI_CUSTOM_MODE_NAME, &gEfiCustomModeEnableGuid, &Variable, &mVariableModuleGlobal->VariableGlobal, FALSE);
401 &mVariableModuleGlobal
[all...]
H A DVariableSmm.c477 if (mVariableModuleGlobal->FvbInstance != NULL) {
501 mVariableModuleGlobal->FvbInstance = FvbProtocol;
H A DVariable.h504 extern VARIABLE_MODULE_GLOBAL *mVariableModuleGlobal;
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxVariable/
H A DEmuVariable.c61 ESAL_VARIABLE_GLOBAL *mVariableModuleGlobal; variable
536 mVariableModuleGlobal->Lang[CompareLength] = '\0';
537 return CopyMem (mVariableModuleGlobal->Lang, SupportedLang + Index * CompareLength, CompareLength);
561 mVariableModuleGlobal->PlatformLang[CompareLength] = '\0';
562 return CopyMem (mVariableModuleGlobal->PlatformLang, Supported - CompareLength, CompareLength);
678 Buffer = Iso639Language ? mVariableModuleGlobal->Lang : mVariableModuleGlobal->PlatformLang;
758 if (mVariableModuleGlobal->PlatformLangCodes != NULL) {
759 FreePool (mVariableModuleGlobal->PlatformLangCodes);
761 mVariableModuleGlobal
[all...]
H A DInitVariable.c148 &mVariableModuleGlobal->VariableGlobal[Physical]
234 &mVariableModuleGlobal->VariableGlobal[Physical]
339 &mVariableModuleGlobal->VariableGlobal[Physical],
340 &mVariableModuleGlobal->VolatileLastVariableOffset,
341 &mVariableModuleGlobal->NonVolatileLastVariableOffset
408 &mVariableModuleGlobal->VariableGlobal[Physical]
436 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->PlatformLangCodes);
437 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->LangCodes);
438 EfiConvertPointer (0x0, (VOID **) &mVariableModuleGlobal->PlatformLang);
441 (VOID **) &mVariableModuleGlobal
[all...]
H A DVariable.h106 extern ESAL_VARIABLE_GLOBAL *mVariableModuleGlobal;

Completed in 1317 milliseconds