Home
last modified time | relevance | path

Searched refs:SmmCommunicateHeader (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/
DFaultTolerantWriteSmmDxe.c49 EFI_SMM_COMMUNICATE_HEADER *SmmCommunicateHeader; in InitCommunicateBuffer() local
55SmmCommunicateHeader = AllocateZeroPool (DataSize + SMM_COMMUNICATE_HEADER_SIZE + SMM_FTW_COMMUNIC… in InitCommunicateBuffer()
56 ASSERT (SmmCommunicateHeader != NULL); in InitCommunicateBuffer()
61 CopyGuid (&SmmCommunicateHeader->HeaderGuid, &gEfiSmmFaultTolerantWriteProtocolGuid); in InitCommunicateBuffer()
62 SmmCommunicateHeader->MessageLength = DataSize + SMM_FTW_COMMUNICATE_HEADER_SIZE; in InitCommunicateBuffer()
64 SmmFtwFunctionHeader = (SMM_FTW_COMMUNICATE_FUNCTION_HEADER *) SmmCommunicateHeader->Data; in InitCommunicateBuffer()
67 *CommunicateBuffer = SmmCommunicateHeader; in InitCommunicateBuffer()
83 IN OUT EFI_SMM_COMMUNICATE_HEADER *SmmCommunicateHeader, in SendCommunicateBuffer() argument
92 Status = mSmmCommunication->Communicate (mSmmCommunication, SmmCommunicateHeader, &CommSize); in SendCommunicateBuffer()
95 SmmFtwFunctionHeader = (SMM_FTW_COMMUNICATE_FUNCTION_HEADER *) SmmCommunicateHeader->Data; in SendCommunicateBuffer()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FvbRuntimeDxe/
DFvbSmmDxe.c121 EFI_SMM_COMMUNICATE_HEADER *SmmCommunicateHeader; in InitCommunicateBuffer()
127SmmCommunicateHeader = AllocatePool (DataSize + SMM_COMMUNICATE_HEADER_SIZE + SMM_FVB_COMMUNICATE_… in InitCommunicateBuffer()
128 ASSERT (SmmCommunicateHeader != NULL); in InitCommunicateBuffer()
133 CopyGuid (&SmmCommunicateHeader->HeaderGuid, &gEfiSmmFirmwareVolumeBlockProtocolGuid); in InitCommunicateBuffer()
134 SmmCommunicateHeader->MessageLength = DataSize + SMM_FVB_COMMUNICATE_HEADER_SIZE; in InitCommunicateBuffer()
136 SmmFvbFunctionHeader = (SMM_FVB_COMMUNICATE_FUNCTION_HEADER *) SmmCommunicateHeader->Data; in InitCommunicateBuffer()
139 *CommunicateBuffer = SmmCommunicateHeader; in InitCommunicateBuffer()
155 IN EFI_SMM_COMMUNICATE_HEADER *SmmCommunicateHeader, in SendCommunicateBuffer()
166 SmmCommunicateHeader, in SendCommunicateBuffer()
171 SmmFvbFunctionHeader = (SMM_FVB_COMMUNICATE_FUNCTION_HEADER *) SmmCommunicateHeader->Data; in SendCommunicateBuffer()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/
DVariableSmmRuntimeDxe.c141 EFI_SMM_COMMUNICATE_HEADER *SmmCommunicateHeader; in InitCommunicateBuffer() local
149 SmmCommunicateHeader = (EFI_SMM_COMMUNICATE_HEADER *) mVariableBuffer; in InitCommunicateBuffer()
150 CopyGuid (&SmmCommunicateHeader->HeaderGuid, &gEfiSmmVariableProtocolGuid); in InitCommunicateBuffer()
151 SmmCommunicateHeader->MessageLength = DataSize + SMM_VARIABLE_COMMUNICATE_HEADER_SIZE; in InitCommunicateBuffer()
153 SmmVariableFunctionHeader = (SMM_VARIABLE_COMMUNICATE_HEADER *) SmmCommunicateHeader->Data; in InitCommunicateBuffer()
179 EFI_SMM_COMMUNICATE_HEADER *SmmCommunicateHeader; in SendCommunicateBuffer() local
186 SmmCommunicateHeader = (EFI_SMM_COMMUNICATE_HEADER *) mVariableBuffer; in SendCommunicateBuffer()
187 SmmVariableFunctionHeader = (SMM_VARIABLE_COMMUNICATE_HEADER *)SmmCommunicateHeader->Data; in SendCommunicateBuffer()
922 EFI_SMM_COMMUNICATE_HEADER *SmmCommunicateHeader; in GetVariablePayloadSize() local
947 SmmCommunicateHeader = (EFI_SMM_COMMUNICATE_HEADER *) CommBuffer; in GetVariablePayloadSize()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Application/VariableInfo/
DVariableInfo.c50 IN OUT EFI_SMM_COMMUNICATE_HEADER *SmmCommunicateHeader, in GetVariableStatisticsData() argument
57 CopyGuid (&SmmCommunicateHeader->HeaderGuid, &gEfiSmmVariableProtocolGuid); in GetVariableStatisticsData()
58SmmCommunicateHeader->MessageLength = *SmmCommunicateSize - OFFSET_OF (EFI_SMM_COMMUNICATE_HEADER,… in GetVariableStatisticsData()
60 SmmVariableFunctionHeader = (SMM_VARIABLE_COMMUNICATE_HEADER *) &SmmCommunicateHeader->Data[0]; in GetVariableStatisticsData()
63 …Status = mSmmCommunication->Communicate (mSmmCommunication, SmmCommunicateHeader, SmmCommunicateSi… in GetVariableStatisticsData()
/device/linaro/bootloader/edk2/SecurityPkg/Library/OpalPasswordSupportLib/
DOpalPasswordSupportLib.c401 EFI_SMM_COMMUNICATE_HEADER *SmmCommunicateHeader; in OpalInitCommunicateBuffer() local
436 SmmCommunicateHeader = (EFI_SMM_COMMUNICATE_HEADER *) Buffer; in OpalInitCommunicateBuffer()
437 CopyGuid (&SmmCommunicateHeader->HeaderGuid, &gOpalPasswordNotifyProtocolGuid); in OpalInitCommunicateBuffer()
438 SmmCommunicateHeader->MessageLength = DataSize + OFFSET_OF (OPAL_SMM_COMMUNICATE_HEADER, Data); in OpalInitCommunicateBuffer()
440 SmmFunctionHeader = (OPAL_SMM_COMMUNICATE_HEADER *) SmmCommunicateHeader->Data; in OpalInitCommunicateBuffer()
467 EFI_SMM_COMMUNICATE_HEADER *SmmCommunicateHeader; in OpalSendCommunicateBuffer() local
482 SmmCommunicateHeader = (EFI_SMM_COMMUNICATE_HEADER *) Buffer; in OpalSendCommunicateBuffer()
483 SmmFunctionHeader = (OPAL_SMM_COMMUNICATE_HEADER *)SmmCommunicateHeader->Data; in OpalSendCommunicateBuffer()