Home
last modified time | relevance | path

Searched refs:VarData (Results 1 – 18 of 18) sorted by relevance

/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/
DEventLogInfo.c258 UINT8 *VarData in DisplayElVdfInfo() argument
278 Word = (UINT16 *) (VarData + 1); in DisplayElVdfInfo()
284 Dword = (UINT32 *) (VarData + 1); in DisplayElVdfInfo()
289 Word = (UINT16 *) (VarData + 1); in DisplayElVdfInfo()
295 Dword = (UINT32 *) (VarData + 1); in DisplayElVdfInfo()
300 Dword = (UINT32 *) (VarData + 1); in DisplayElVdfInfo()
307 Dword = (UINT32 *) (VarData + 1); in DisplayElVdfInfo()
312 Dword = (UINT32 *) (VarData + 1); in DisplayElVdfInfo()
317 Dword = (UINT32 *) (VarData + 1); in DisplayElVdfInfo()
/device/linaro/bootloader/edk2/OvmfPkg/Library/NvVarsFileLib/
DFsAccess.c289 BOOLEAN VarData; in SetNvVarsVariable() local
297 Size = sizeof (VarData); in SetNvVarsVariable()
298 VarData = TRUE; in SetNvVarsVariable()
306 (VOID*) &VarData in SetNvVarsVariable()
326 BOOLEAN VarData; in LoadNvVarsFromFs() local
340 Size = sizeof (VarData); in LoadNvVarsFromFs()
341 VarData = TRUE; in LoadNvVarsFromFs()
347 (VOID*) &VarData in LoadNvVarsFromFs()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/
DMeasurement.c85 IN VOID *VarData, in MeasureVariable() argument
94 ASSERT ((VarSize == 0 && VarData == NULL) || (VarSize != 0 && VarData != NULL)); in MeasureVariable()
116 VarData, in MeasureVariable()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/
DLegacyBootMaintUi.c244 UINT8 *VarData; in UpdateBBSOption() local
271 …GetVariable2 (VAR_LEGACY_DEV_ORDER, &gEfiLegacyDevOrderVariableGuid, (VOID **) &VarData, &VarSize); in UpdateBBSOption()
272 if (VarData == NULL) { in UpdateBBSOption()
275 OriginalPtr = VarData; in UpdateBBSOption()
326 while (VarData < OriginalPtr + VarSize) { in UpdateBBSOption()
331 VarData += sizeof (BBS_TYPE) + DevOrder->Length; in UpdateBBSOption()
332 DevOrder = (LEGACY_DEV_ORDER_ENTRY *) VarData; in UpdateBBSOption()
335 if (VarData >= OriginalPtr + VarSize) { in UpdateBBSOption()
1175 UINT8 *VarData; in GetLegacyOptionsOrder() local
1195 …GetVariable2 (VAR_LEGACY_DEV_ORDER, &gEfiLegacyDevOrderVariableGuid, (VOID **) &VarData, &VarSize); in GetLegacyOptionsOrder()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TcgDxe/
DTcgDxe.c841 VOID *VarData; in ReadVariable() local
855 VarData = AllocatePool (*VarSize); in ReadVariable()
856 if (VarData != NULL) { in ReadVariable()
862 VarData in ReadVariable()
865 FreePool (VarData); in ReadVariable()
866 VarData = NULL; in ReadVariable()
870 return VarData; in ReadVariable()
895 IN VOID *VarData, in MeasureVariable() argument
925 VarData, in MeasureVariable()
959 OUT VOID **VarData in ReadAndMeasureBootVariable() argument
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
DUpdatePage.c1174 UINT8 *VarData; in UpdateSetLegacyDeviceOrderPage() local
1288 VarData = BdsLibGetVariableAndSize ( in UpdateSetLegacyDeviceOrderPage()
1294 if (NULL != VarData) { in UpdateSetLegacyDeviceOrderPage()
1295 DevOrder = (LEGACY_DEV_ORDER_ENTRY *) VarData; in UpdateSetLegacyDeviceOrderPage()
1296 while (VarData < VarData + VarSize) { in UpdateSetLegacyDeviceOrderPage()
1301 VarData = (UINT8 *)((UINTN)VarData + sizeof (BBS_TYPE)); in UpdateSetLegacyDeviceOrderPage()
1302 VarData += *(UINT16 *) VarData; in UpdateSetLegacyDeviceOrderPage()
1303 DevOrder = (LEGACY_DEV_ORDER_ENTRY *) VarData; in UpdateSetLegacyDeviceOrderPage()
DVariable.c1141 UINT8 *VarData; in Var_UpdateBBSOption() local
1198 VarData = (UINT8 *) BdsLibGetVariableAndSize ( in Var_UpdateBBSOption()
1204 if (VarData == NULL) { in Var_UpdateBBSOption()
1208 OriginalPtr = VarData; in Var_UpdateBBSOption()
1209 DevOrder = (LEGACY_DEV_ORDER_ENTRY *) VarData; in Var_UpdateBBSOption()
1211 while (VarData < OriginalPtr + VarSize) { in Var_UpdateBBSOption()
1216 VarData += sizeof (BBS_TYPE) + DevOrder->Length; in Var_UpdateBBSOption()
1217 DevOrder = (LEGACY_DEV_ORDER_ENTRY *) VarData; in Var_UpdateBBSOption()
1220 if (VarData >= OriginalPtr + VarSize) { in Var_UpdateBBSOption()
DBootOption.c1681 UINT8 *VarData; in GetLegacyDeviceOrder() local
1706 VarData = BdsLibGetVariableAndSize ( in GetLegacyDeviceOrder()
1752 if (NULL != VarData) { in GetLegacyDeviceOrder()
1753 WorkingVarData = VarData; in GetLegacyDeviceOrder()
1755 while (WorkingVarData < VarData + VarSize) { in GetLegacyDeviceOrder()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/
DTrEEDxe.c1139 IN VOID *VarData, in MeasureVariable() argument
1170 if (VarSize != 0 && VarData != NULL) { in MeasureVariable()
1173 VarData, in MeasureVariable()
1212 OUT VOID **VarData in ReadAndMeasureVariable() argument
1217 Status = GetVariable2 (VarName, VendorGuid, VarData, VarSize); in ReadAndMeasureVariable()
1223 *VarData = NULL; in ReadAndMeasureVariable()
1240 *VarData, in ReadAndMeasureVariable()
1264 OUT VOID **VarData in ReadAndMeasureBootVariable() argument
1273 VarData in ReadAndMeasureBootVariable()
1295 OUT VOID **VarData in ReadAndMeasureSecureVariable() argument
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageVerificationLib/
DMeasurement.c227 IN VOID *VarData, in MeasureVariable() argument
259 VarData, in MeasureVariable()
DDxeImageVerificationLib.c2144 UINT8 *VarData; in DxeImageVerificationHandler() local
2166 GetEfiGlobalVariable2 (EFI_AUDIT_MODE_NAME, (VOID**)&VarData, NULL); in DxeImageVerificationHandler()
2170 if (VarData == NULL) { in DxeImageVerificationHandler()
2173 AuditMode = *VarData; in DxeImageVerificationHandler()
2174 FreePool(VarData); in DxeImageVerificationHandler()
2223 GetEfiGlobalVariable2 (EFI_SECURE_BOOT_MODE_NAME, (VOID**)&VarData, NULL); in DxeImageVerificationHandler()
2227 if (VarData == NULL) { in DxeImageVerificationHandler()
2230 SecureBoot = *VarData; in DxeImageVerificationHandler()
2231 FreePool(VarData); in DxeImageVerificationHandler()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/
DTcg2Dxe.c1783 IN VOID *VarData, in MeasureVariable() argument
1815 if (VarSize != 0 && VarData != NULL) { in MeasureVariable()
1818 VarData, in MeasureVariable()
1837 (UINT8*)VarData, in MeasureVariable()
1869 OUT VOID **VarData in ReadAndMeasureVariable() argument
1874 Status = GetVariable2 (VarName, VendorGuid, VarData, VarSize); in ReadAndMeasureVariable()
1880 *VarData = NULL; in ReadAndMeasureVariable()
1897 *VarData, in ReadAndMeasureVariable()
1921 OUT VOID **VarData in ReadAndMeasureBootVariable() argument
1930 VarData in ReadAndMeasureBootVariable()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/
DUserIdentifyManager.c2498 UINT8 *VarData; in InitUserProfileDb() local
2520 VarData = AllocateZeroPool (CurVarSize); in InitUserProfileDb()
2521 if (VarData == NULL) { in InitUserProfileDb()
2545 Status = gRT->GetVariable (VarName, &gUserIdentifyManagerGuid, &VarAttr, &VarSize, VarData); in InitUserProfileDb()
2547 FreePool (VarData); in InitUserProfileDb()
2548 VarData = AllocatePool (VarSize); in InitUserProfileDb()
2549 if (VarData == NULL) { in InitUserProfileDb()
2555 … Status = gRT->GetVariable (VarName, &gUserIdentifyManagerGuid, &VarAttr, &VarSize, VarData); in InitUserProfileDb()
2576 Status = AddUserProfile (NULL, VarSize, VarData, FALSE); in InitUserProfileDb()
2597 if (VarData != NULL) { in InitUserProfileDb()
[all …]
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Pei/PlatformInit/
DMrcWrapper.c505 PLATFORM_VARIABLE_MEMORY_CONFIG_DATA VarData; in LoadConfig() local
507 …BufferSize = ((sizeof (VarData.timings) + 0x7) & (~0x7)); // HOB data size (stored in variable) i… in LoadConfig()
515 &VarData.timings in LoadConfig()
518 CopyMem (&MrcData->timings, &VarData.timings, sizeof(MrcData->timings)); in LoadConfig()
/device/linaro/bootloader/edk2/SecurityPkg/Library/AuthVariableLib/
DAuthService.c1749 VOID *VarData; in ProcessSecureBootModeVar() local
1794 &VarData, in ProcessSecureBootModeVar()
1804 if (*(UINT8 *)VarData == *(UINT8 *)Data) { in ProcessSecureBootModeVar()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/
DVfrSyntax.g1546 …_PCATCH(VFR_RETURN_INVALID_PARAMETER, LineNum, "Numeric Flag is not same to Numeric VarData type");
1598 …_PCATCH(VFR_RETURN_INVALID_PARAMETER, LineNum, "Numeric Flag is not same to Numeric VarData type");
/device/linaro/bootloader/edk2/EdkShellPkg/
DShellR33.patch8803 Word = (UINT16 *) (VarData + 1);
8811 Dword = (UINT32 *) (VarData + 1);
8817 Word = (UINT16 *) (VarData + 1);
8825 Dword = (UINT32 *) (VarData + 1);
8834 Dword = (UINT32 *) (VarData + 1);
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/
DVfrSyntax.g2706 …_PCATCH(VFR_RETURN_INVALID_PARAMETER, LineNum, "Numeric Flag is not same to Numeric VarData type");
2796 …_PCATCH(VFR_RETURN_INVALID_PARAMETER, LineNum, "Numeric Flag is not same to Numeric VarData type");