Searched refs:VarLog (Results 1 – 5 of 5) sorted by relevance
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/ |
D | Measurement.c | 91 EFI_VARIABLE_DATA_TREE *VarLog; in MeasureVariable() local 97 VarLogSize = (UINT32)(sizeof (*VarLog) + VarNameLength * sizeof (*VarName) + VarSize in MeasureVariable() 98 - sizeof (VarLog->UnicodeName) - sizeof (VarLog->VariableData)); in MeasureVariable() 100 VarLog = (EFI_VARIABLE_DATA_TREE *) AllocateZeroPool (VarLogSize); in MeasureVariable() 101 if (VarLog == NULL) { in MeasureVariable() 105 CopyMem (&VarLog->VariableName, VendorGuid, sizeof(VarLog->VariableName)); in MeasureVariable() 106 VarLog->UnicodeNameLength = VarNameLength; in MeasureVariable() 107 VarLog->VariableDataLength = VarSize; in MeasureVariable() 109 VarLog->UnicodeName, in MeasureVariable() 115 (CHAR16 *)VarLog->UnicodeName + VarNameLength, in MeasureVariable() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageVerificationLib/ |
D | Measurement.c | 233 EFI_VARIABLE_DATA_TREE *VarLog; in MeasureVariable() local 241 VarLogSize = (UINT32)(sizeof (*VarLog) + VarNameLength * sizeof (*VarName) + VarSize in MeasureVariable() 242 - sizeof (VarLog->UnicodeName) - sizeof (VarLog->VariableData)); in MeasureVariable() 244 VarLog = (EFI_VARIABLE_DATA_TREE *) AllocateZeroPool (VarLogSize); in MeasureVariable() 245 if (VarLog == NULL) { in MeasureVariable() 249 CopyMem (&VarLog->VariableName, VendorGuid, sizeof(VarLog->VariableName)); in MeasureVariable() 250 VarLog->UnicodeNameLength = VarNameLength; in MeasureVariable() 251 VarLog->VariableDataLength = VarSize; in MeasureVariable() 253 VarLog->UnicodeName, in MeasureVariable() 258 (CHAR16 *)VarLog->UnicodeName + VarNameLength, in MeasureVariable() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TcgDxe/ |
D | TcgDxe.c | 973 EFI_VARIABLE_DATA *VarLog; in MeasureVariable() local 978 TcgEvent.EventSize = (UINT32)(sizeof (*VarLog) + VarNameLength * sizeof (*VarName) + VarSize in MeasureVariable() 979 - sizeof (VarLog->UnicodeName) - sizeof (VarLog->VariableData)); in MeasureVariable() 981 VarLog = (EFI_VARIABLE_DATA*)AllocatePool (TcgEvent.EventSize); in MeasureVariable() 982 if (VarLog == NULL) { in MeasureVariable() 986 VarLog->VariableName = *VendorGuid; in MeasureVariable() 987 VarLog->UnicodeNameLength = VarNameLength; in MeasureVariable() 988 VarLog->VariableDataLength = VarSize; in MeasureVariable() 990 VarLog->UnicodeName, in MeasureVariable() 995 (CHAR16 *)VarLog->UnicodeName + VarNameLength, in MeasureVariable() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/ |
D | TrEEDxe.c | 1111 EFI_VARIABLE_DATA_TREE *VarLog; in MeasureVariable() local 1119 TcgEvent.EventSize = (UINT32)(sizeof (*VarLog) + VarNameLength * sizeof (*VarName) + VarSize in MeasureVariable() 1120 - sizeof (VarLog->UnicodeName) - sizeof (VarLog->VariableData)); in MeasureVariable() 1122 VarLog = (EFI_VARIABLE_DATA_TREE*)AllocatePool (TcgEvent.EventSize); in MeasureVariable() 1123 if (VarLog == NULL) { in MeasureVariable() 1127 VarLog->VariableName = *VendorGuid; in MeasureVariable() 1128 VarLog->UnicodeNameLength = VarNameLength; in MeasureVariable() 1129 VarLog->VariableDataLength = VarSize; in MeasureVariable() 1131 VarLog->UnicodeName, in MeasureVariable() 1137 (CHAR16 *)VarLog->UnicodeName + VarNameLength, in MeasureVariable() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/ |
D | Tcg2Dxe.c | 1759 EFI_VARIABLE_DATA_TREE *VarLog; in MeasureVariable() local 1768 TcgEvent.EventSize = (UINT32)(sizeof (*VarLog) + VarNameLength * sizeof (*VarName) + VarSize in MeasureVariable() 1769 - sizeof (VarLog->UnicodeName) - sizeof (VarLog->VariableData)); in MeasureVariable() 1771 VarLog = (EFI_VARIABLE_DATA_TREE *)AllocatePool (TcgEvent.EventSize); in MeasureVariable() 1772 if (VarLog == NULL) { in MeasureVariable() 1776 VarLog->VariableName = *VendorGuid; in MeasureVariable() 1777 VarLog->UnicodeNameLength = VarNameLength; in MeasureVariable() 1778 VarLog->VariableDataLength = VarSize; in MeasureVariable() 1780 VarLog->UnicodeName, in MeasureVariable() 1786 (CHAR16 *)VarLog->UnicodeName + VarNameLength, in MeasureVariable() [all …]
|