Searched defs:CommBuffer (Results 1 - 12 of 12) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Application/VariableInfo/
H A DVariableInfo.c88 EFI_SMM_COMMUNICATE_HEADER *CommBuffer; local
107 CommBuffer = AllocateZeroPool (CommSize);
108 ASSERT (CommBuffer != NULL);
112 Status = GetVariableStatisticsData (CommBuffer, &CommSize);
114 FreePool (CommBuffer);
115 CommBuffer = AllocateZeroPool (CommSize);
116 ASSERT (CommBuffer != NULL);
118 Status = GetVariableStatisticsData (CommBuffer, &CommSize);
129 FunctionHeader = (SMM_VARIABLE_COMMUNICATE_HEADER *) CommBuffer->Data;
146 ZeroMem (CommBuffer, CommSiz
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/SmmLockBoxLib/
H A DSmmLockBoxDxeLib.c55 UINT8 CommBuffer[sizeof(EFI_GUID) + sizeof(UINTN) + sizeof(EFI_SMM_LOCK_BOX_PARAMETER_SAVE)]; local
82 CommHeader = (EFI_SMM_COMMUNICATE_HEADER *)&CommBuffer[0];
86 LockBoxParameterSave = (EFI_SMM_LOCK_BOX_PARAMETER_SAVE *)&CommBuffer[OFFSET_OF (EFI_SMM_COMMUNICATE_HEADER, Data)];
97 CommSize = sizeof(CommBuffer);
100 &CommBuffer[0],
139 UINT8 CommBuffer[sizeof(EFI_GUID) + sizeof(UINTN) + sizeof(EFI_SMM_LOCK_BOX_PARAMETER_SET_ATTRIBUTES)]; local
167 CommHeader = (EFI_SMM_COMMUNICATE_HEADER *)&CommBuffer[0];
171 LockBoxParameterSetAttributes = (EFI_SMM_LOCK_BOX_PARAMETER_SET_ATTRIBUTES *)&CommBuffer[OFFSET_OF (EFI_SMM_COMMUNICATE_HEADER, Data)];
181 CommSize = sizeof(CommBuffer);
184 &CommBuffer[
228 UINT8 CommBuffer[sizeof(EFI_GUID) + sizeof(UINTN) + sizeof(EFI_SMM_LOCK_BOX_PARAMETER_UPDATE)]; local
319 UINT8 CommBuffer[sizeof(EFI_GUID) + sizeof(UINTN) + sizeof(EFI_SMM_LOCK_BOX_PARAMETER_RESTORE)]; local
406 UINT8 CommBuffer[sizeof(EFI_GUID) + sizeof(UINTN) + sizeof(EFI_SMM_LOCK_BOX_PARAMETER_RESTORE_ALL_IN_PLACE)]; local
[all...]
H A DSmmLockBoxPeiLib.c532 UINT8 CommBuffer[sizeof(EFI_GUID) + sizeof(UINT64) + sizeof(EFI_SMM_LOCK_BOX_PARAMETER_RESTORE)]; local
572 CommHeader = (EFI_SMM_COMMUNICATE_HEADER *)&CommBuffer[0];
576 CopyMem (&CommBuffer[OFFSET_OF (EFI_SMM_COMMUNICATE_HEADER, MessageLength)], &MessageLength, sizeof(MessageLength));
581 DEBUG ((EFI_D_INFO, "SmmLockBoxPeiLib CommBuffer - %x\n", &CommBuffer[0]));
583 LockBoxParameterRestore = (EFI_SMM_LOCK_BOX_PARAMETER_RESTORE *)&CommBuffer[OFFSET_OF (EFI_SMM_COMMUNICATE_HEADER, MessageLength) + sizeof(UINT64)];
585 LockBoxParameterRestore = (EFI_SMM_LOCK_BOX_PARAMETER_RESTORE *)&CommBuffer[OFFSET_OF (EFI_SMM_COMMUNICATE_HEADER, MessageLength) + sizeof(UINTN)];
606 CommSize = sizeof(CommBuffer);
609 &CommBuffer[0],
660 UINT8 CommBuffer[sizeo local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/PiSmmCore/
H A DPiSmmCore.c124 @param CommBuffer A pointer to a collection of data in memory that will
126 @param CommBufferSize The size of the CommBuffer.
136 IN OUT VOID *CommBuffer, OPTIONAL
154 @param CommBuffer A pointer to a collection of data in memory that will
156 @param CommBufferSize The size of the CommBuffer.
166 IN OUT VOID *CommBuffer, OPTIONAL
296 // Communicate service finished, reset the pointer to CommBuffer to NULL
133 SmmLegacyBootHandler( IN EFI_HANDLE DispatchHandle, IN CONST VOID *Context, OPTIONAL IN OUT VOID *CommBuffer, OPTIONAL IN OUT UINTN *CommBufferSize OPTIONAL ) argument
163 SmmReadyToLockHandler( IN EFI_HANDLE DispatchHandle, IN CONST VOID *Context, OPTIONAL IN OUT VOID *CommBuffer, OPTIONAL IN OUT UINTN *CommBufferSize OPTIONAL ) argument
H A DDispatcher.c1156 @param CommBuffer A pointer to a collection of data in memory that will
1158 @param CommBufferSize The size of the CommBuffer.
1168 IN OUT VOID *CommBuffer, OPTIONAL
1344 // Check to see if CommBuffer and CommBufferSize are valid
1346 if (CommBuffer != NULL && CommBufferSize != NULL) {
1353 *(UINT8 *)CommBuffer = COMM_BUFFER_SMM_DISPATCH_RESTART;
1358 *(UINT8 *)CommBuffer = COMM_BUFFER_SMM_DISPATCH_SUCCESS;
1363 *(UINT8 *)CommBuffer = COMM_BUFFER_SMM_DISPATCH_ERROR;
1165 SmmDriverDispatchHandler( IN EFI_HANDLE DispatchHandle, IN CONST VOID *Context, OPTIONAL IN OUT VOID *CommBuffer, OPTIONAL IN OUT UINTN *CommBufferSize OPTIONAL ) argument
H A DPiSmmIpl.c93 @param[in, out] CommBuffer A pointer to the buffer to convey into SMRAM.
98 @retval EFI_INVALID_PARAMETER The CommBuffer was NULL.
104 IN OUT VOID *CommBuffer,
403 @param[in, out] CommBuffer A pointer to the buffer to convey into SMRAM.
408 @retval EFI_INVALID_PARAMETER The CommBuffer was NULL.
414 IN OUT VOID *CommBuffer,
425 if ((CommBuffer == NULL) || (CommSize == NULL)) {
443 gSmmCorePrivate->CommunicationBuffer = CommBuffer;
487 CommunicateHeader = (EFI_SMM_COMMUNICATE_HEADER *)CommBuffer;
498 // Communicate service finished, reset the pointer to CommBuffer t
412 SmmCommunicationCommunicate( IN CONST EFI_SMM_COMMUNICATION_PROTOCOL *This, IN OUT VOID *CommBuffer, IN OUT UINTN *CommSize ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Tcg/TcgSmm/
H A DTcgSmm.c27 @param[in, out] CommBuffer A pointer to a collection of data in memory that will
29 @param[in, out] CommBufferSize The size of the CommBuffer.
39 IN OUT VOID *CommBuffer,
167 @param[in, out] CommBuffer A pointer to a collection of data in memory that will
169 @param[in, out] CommBufferSize The size of the CommBuffer.
179 IN OUT VOID *CommBuffer,
36 PhysicalPresenceCallback( IN EFI_HANDLE DispatchHandle, IN CONST VOID *Context, IN OUT VOID *CommBuffer, IN OUT UINTN *CommBufferSize ) argument
176 MemoryClearCallback( IN EFI_HANDLE DispatchHandle, IN CONST VOID *Context, IN OUT VOID *CommBuffer, IN OUT UINTN *CommBufferSize ) argument
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/
H A DFirmwarePerformanceSmm.c209 @param[in, out] CommBuffer A pointer to a collection of data in memory that will
211 @param[in, out] CommBufferSize The size of the CommBuffer.
223 IN OUT VOID *CommBuffer,
230 ASSERT (CommBuffer != NULL);
231 if (CommBuffer == NULL || *CommBufferSize < sizeof (SMM_BOOT_RECORD_COMMUNICATE)) {
236 SmmCommData = (SMM_BOOT_RECORD_COMMUNICATE*)CommBuffer;
220 FpdtSmiHandler( IN EFI_HANDLE DispatchHandle, IN CONST VOID *RegisterContext, IN OUT VOID *CommBuffer, IN OUT UINTN *CommBufferSize ) argument
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/FaultTolerantWriteDxe/
H A DFaultTolerantWriteSmm.c267 @param[in, out] CommBuffer A pointer to a collection of data in memory that will be conveyed
269 @param[in, out] CommBufferSize The size of the CommBuffer.
285 IN OUT VOID *CommBuffer,
299 ASSERT (CommBuffer != NULL);
302 SmmFtwFunctionHeader = (SMM_FTW_COMMUNICATE_FUNCTION_HEADER *)CommBuffer;
282 SmmFaultTolerantWriteHandler( IN EFI_HANDLE DispatchHandle, IN CONST VOID *RegisterContext, IN OUT VOID *CommBuffer, IN OUT UINTN *CommBufferSize ) argument
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/SmmCorePerformanceLib/
H A DSmmCorePerformanceLib.c476 @param[in, out] CommBuffer A pointer to a collection of data in memory that will
478 @param[in, out] CommBufferSize The size of the CommBuffer.
493 IN OUT VOID *CommBuffer,
504 ASSERT (CommBuffer != NULL);
506 SmmPerfCommData = (SMM_PERF_COMMUNICATE_EX *)CommBuffer;
557 @param[in, out] CommBuffer A pointer to a collection of data in memory that will
559 @param[in, out] CommBufferSize The size of the CommBuffer.
574 IN OUT VOID *CommBuffer,
587 ASSERT (CommBuffer != NULL);
589 SmmPerfCommData = (SMM_PERF_COMMUNICATE *)CommBuffer;
490 SmmPerformanceHandlerEx( IN EFI_HANDLE DispatchHandle, IN CONST VOID *RegisterContext, IN OUT VOID *CommBuffer, IN OUT UINTN *CommBufferSize ) argument
571 SmmPerformanceHandler( IN EFI_HANDLE DispatchHandle, IN CONST VOID *RegisterContext, IN OUT VOID *CommBuffer, IN OUT UINTN *CommBufferSize ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Variable/RuntimeDxe/
H A DVariableSmm.c340 @param[in, out] CommBuffer A pointer to a collection of data in memory that will
342 @param[in, out] CommBufferSize The size of the CommBuffer.
357 IN OUT VOID *CommBuffer,
369 ASSERT (CommBuffer != NULL);
371 SmmVariableFunctionHeader = (SMM_VARIABLE_COMMUNICATE_HEADER *)CommBuffer;
354 SmmVariableHandler( IN EFI_HANDLE DispatchHandle, IN CONST VOID *RegisterContext, IN OUT VOID *CommBuffer, IN OUT UINTN *CommBufferSize ) argument
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/RuntimeDxe/
H A DVariableSmm.c344 @param[in, out] CommBuffer A pointer to a collection of data in memory that will
346 @param[in, out] CommBufferSize The size of the CommBuffer.
363 IN OUT VOID *CommBuffer,
375 if (CommBuffer == NULL) {
379 SmmVariableFunctionHeader = (SMM_VARIABLE_COMMUNICATE_HEADER *)CommBuffer;
360 SmmVariableHandler( IN EFI_HANDLE DispatchHandle, IN CONST VOID *RegisterContext, IN OUT VOID *CommBuffer, IN OUT UINTN *CommBufferSize ) argument

Completed in 504 milliseconds