/device/linaro/bootloader/edk2/MdeModulePkg/Library/SmmLockBoxLib/ |
D | SmmLockBoxDxeLib.c | 55 …UINT8 CommBuffer[sizeof(EFI_GUID) + sizeof(UINTN) + sizeof(EFI_SMM_LOCK_… in SaveLockBox() local 82 CommHeader = (EFI_SMM_COMMUNICATE_HEADER *)&CommBuffer[0]; in SaveLockBox() 86 …LockBoxParameterSave = (EFI_SMM_LOCK_BOX_PARAMETER_SAVE *)&CommBuffer[OFFSET_OF (EFI_SMM_COMMUNICA… in SaveLockBox() 97 CommSize = sizeof(CommBuffer); in SaveLockBox() 100 &CommBuffer[0], in SaveLockBox() 139 …UINT8 CommBuffer[sizeof(EFI_GUID) + sizeof(UINTN) + sizeof(EFI… in SetLockBoxAttributes() local 167 CommHeader = (EFI_SMM_COMMUNICATE_HEADER *)&CommBuffer[0]; in SetLockBoxAttributes() 171 …LockBoxParameterSetAttributes = (EFI_SMM_LOCK_BOX_PARAMETER_SET_ATTRIBUTES *)&CommBuffer[OFFSET_OF… in SetLockBoxAttributes() 181 CommSize = sizeof(CommBuffer); in SetLockBoxAttributes() 184 &CommBuffer[0], in SetLockBoxAttributes() [all …]
|
D | SmmLockBoxPeiLib.c | 532 …UINT8 CommBuffer[sizeof(EFI_GUID) + sizeof(UINT64) + sizeof(EFI_SMM_L… in RestoreLockBox() local 575 CommHeader = (EFI_SMM_COMMUNICATE_HEADER *)&CommBuffer[0]; in RestoreLockBox() 579 …CopyMem (&CommBuffer[OFFSET_OF (EFI_SMM_COMMUNICATE_HEADER, MessageLength)], &MessageLength, sizeo… in RestoreLockBox() 584 DEBUG ((EFI_D_INFO, "SmmLockBoxPeiLib CommBuffer - %x\n", &CommBuffer[0])); in RestoreLockBox() 586 …LockBoxParameterRestore = (EFI_SMM_LOCK_BOX_PARAMETER_RESTORE *)&CommBuffer[OFFSET_OF (EFI_SMM_COM… in RestoreLockBox() 588 …LockBoxParameterRestore = (EFI_SMM_LOCK_BOX_PARAMETER_RESTORE *)&CommBuffer[OFFSET_OF (EFI_SMM_COM… in RestoreLockBox() 609 CommSize = sizeof(CommBuffer); in RestoreLockBox() 612 &CommBuffer[0], in RestoreLockBox() 663 …UINT8 CommBuffer[sizeof(EFI_GUID) + sizeof(UINT64) + siz… in RestoreAllLockBoxInPlace() local 697 CommHeader = (EFI_SMM_COMMUNICATE_HEADER *)&CommBuffer[0]; in RestoreAllLockBoxInPlace() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/SmmBaseHelper/ |
D | SmramProfileRecord.c | 77 …UINT8 CommBuffer[sizeof (EFI_GUID) + sizeof (UINTN) + size… in RegisterSmramProfileImage() local 92 CommHeader = (EFI_SMM_COMMUNICATE_HEADER *) &CommBuffer[0]; in RegisterSmramProfileImage() 96 …CommRegisterImage = (SMRAM_PROFILE_PARAMETER_REGISTER_IMAGE *)&CommBuffer[OFFSET_OF (EFI_SMM_COMMU… in RegisterSmramProfileImage() 105 Status = mSmmCommunication->Communicate (mSmmCommunication, CommBuffer, &CommSize); in RegisterSmramProfileImage() 136 …UINT8 CommBuffer[sizeof (EFI_GUID) + sizeof (UINTN) + size… in UnregisterSmramProfileImage() local 151 CommHeader = (EFI_SMM_COMMUNICATE_HEADER *)&CommBuffer[0]; in UnregisterSmramProfileImage() 155 …CommUnregisterImage = (SMRAM_PROFILE_PARAMETER_UNREGISTER_IMAGE *)&CommBuffer[OFFSET_OF (EFI_SMM_C… in UnregisterSmramProfileImage() 164 Status = mSmmCommunication->Communicate (mSmmCommunication, CommBuffer, &CommSize); in UnregisterSmramProfileImage()
|
D | SmmBaseHelper.c | 833 IN OUT VOID *CommBuffer OPTIONAL, in CallbackThunk() 1067 IN OUT VOID *CommBuffer, in SmmHandlerEntry() argument 1073 ASSERT (CommBuffer != NULL); in SmmHandlerEntry() 1077 … SmmIsBufferOutsideSmmValid ((EFI_PHYSICAL_ADDRESS)(UINTN)CommBuffer, (UINT64)*CommBufferSize)) { in SmmHandlerEntry() 1078 FunctionData = (SMMBASE_FUNCTION_DATA *)CommBuffer; in SmmHandlerEntry()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Application/VariableInfo/ |
D | VariableInfo.c | 85 EFI_SMM_COMMUNICATE_HEADER *CommBuffer; in PrintInfoFromSmm() local 106 CommBuffer = NULL; in PrintInfoFromSmm() 126 CommBuffer = (EFI_SMM_COMMUNICATE_HEADER *) (UINTN) Entry->PhysicalStart; in PrintInfoFromSmm() 132 ASSERT (CommBuffer != NULL); in PrintInfoFromSmm() 133 ZeroMem (CommBuffer, RealCommSize); in PrintInfoFromSmm() 138 Status = GetVariableStatisticsData (CommBuffer, &CommSize); in PrintInfoFromSmm() 148 FunctionHeader = (SMM_VARIABLE_COMMUNICATE_HEADER *) CommBuffer->Data; in PrintInfoFromSmm() 165 ZeroMem (CommBuffer, RealCommSize); in PrintInfoFromSmm() 168 Status = GetVariableStatisticsData (CommBuffer, &CommSize); in PrintInfoFromSmm() 178 FunctionHeader = (SMM_VARIABLE_COMMUNICATE_HEADER *) CommBuffer->Data; in PrintInfoFromSmm()
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/ |
D | AcpiSmmPlatform.h | 118 IN OUT VOID *CommBuffer, 127 IN OUT VOID *CommBuffer, 135 IN OUT VOID *CommBuffer, 143 IN OUT VOID *CommBuffer, 166 IN OUT VOID *CommBuffer,
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/ |
D | FirmwarePerformanceSmm.c | 207 IN OUT VOID *CommBuffer, in FpdtSmiHandler() argument 221 if (CommBuffer == NULL || CommBufferSize == NULL) { in FpdtSmiHandler() 231 if (!SmmIsBufferOutsideSmmValid ((UINTN)CommBuffer, TempCommBufferSize)) { in FpdtSmiHandler() 236 SmmCommData = (SMM_BOOT_RECORD_COMMUNICATE*)CommBuffer; in FpdtSmiHandler()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCommunication/ |
D | PiSmmCommunicationPei.c | 129 IN OUT VOID *CommBuffer, 287 IN OUT VOID *CommBuffer, in Communicate() argument 300 if (CommBuffer == NULL) { in Communicate() 341 …DRESS *)(UINTN)SmmCommunicationContext->BufferPtrAddress = (EFI_PHYSICAL_ADDRESS)(UINTN)CommBuffer; in Communicate() 342 DEBUG ((EFI_D_INFO, "PiSmmCommunicationPei CommBuffer - %x\n", (UINTN)CommBuffer)); in Communicate()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/ |
D | PiSmmCore.h | 607 IN OUT VOID *CommBuffer OPTIONAL, 663 IN OUT VOID *CommBuffer, OPTIONAL 685 IN OUT VOID *CommBuffer, OPTIONAL 707 IN OUT VOID *CommBuffer, OPTIONAL 729 IN OUT VOID *CommBuffer, OPTIONAL 751 IN OUT VOID *CommBuffer, OPTIONAL 773 IN OUT VOID *CommBuffer, OPTIONAL
|
D | PiSmmCore.c | 147 IN OUT VOID *CommBuffer, OPTIONAL in SmmLegacyBootHandler() argument 191 IN OUT VOID *CommBuffer, OPTIONAL in SmmExitBootServicesHandler() argument 233 IN OUT VOID *CommBuffer, OPTIONAL in SmmReadyToBootHandler() argument 278 IN OUT VOID *CommBuffer, OPTIONAL in SmmReadyToLockHandler() argument 364 IN OUT VOID *CommBuffer, OPTIONAL in SmmEndOfDxeHandler() argument
|
D | Smi.c | 123 IN OUT VOID *CommBuffer OPTIONAL, in SmiManage() 163 CommBuffer, in SmiManage()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Application/MemoryProfileInfo/ |
D | MemoryProfileInfo.c | 1123 UINT8 *CommBuffer; in GetSmramProfileData() local 1182 CommBuffer = (UINT8 *) (UINTN) Entry->PhysicalStart; in GetSmramProfileData() 1189 CommHeader = (EFI_SMM_COMMUNICATE_HEADER *) &CommBuffer[0]; in GetSmramProfileData() 1193 …CommRecordingState = (SMRAM_PROFILE_PARAMETER_RECORDING_STATE *) &CommBuffer[OFFSET_OF (EFI_SMM_CO… in GetSmramProfileData() 1200 Status = SmmCommunication->Communicate (SmmCommunication, CommBuffer, &CommSize); in GetSmramProfileData() 1212 CommHeader = (EFI_SMM_COMMUNICATE_HEADER *) &CommBuffer[0]; in GetSmramProfileData() 1216 …CommRecordingState = (SMRAM_PROFILE_PARAMETER_RECORDING_STATE *) &CommBuffer[OFFSET_OF (EFI_SMM_CO… in GetSmramProfileData() 1223 SmmCommunication->Communicate (SmmCommunication, CommBuffer, &CommSize); in GetSmramProfileData() 1229 CommHeader = (EFI_SMM_COMMUNICATE_HEADER *) &CommBuffer[0]; in GetSmramProfileData() 1233 …CommGetProfileInfo = (SMRAM_PROFILE_PARAMETER_GET_PROFILE_INFO *) &CommBuffer[OFFSET_OF (EFI_SMM_C… in GetSmramProfileData() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/LockBox/SmmLockBox/ |
D | SmmLockBox.c | 263 IN OUT VOID *CommBuffer OPTIONAL, in SmmLockBoxHandler() 275 if (CommBuffer == NULL || CommBufferSize == NULL) { in SmmLockBoxHandler() 288 if (!SmmIsBufferOutsideSmmValid ((UINTN)CommBuffer, TempCommBufferSize)) { in SmmLockBoxHandler() 293 LockBoxParameterHeader = (EFI_SMM_LOCK_BOX_PARAMETER_HEADER *)((UINTN)CommBuffer); in SmmLockBoxHandler()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/SmmCorePerformanceLib/ |
D | SmmCorePerformanceLib.c | 477 IN OUT VOID *CommBuffer, in SmmPerformanceHandlerEx() argument 496 if (CommBuffer == NULL || CommBufferSize == NULL) { in SmmPerformanceHandlerEx() 506 if (!SmmIsBufferOutsideSmmValid ((UINTN)CommBuffer, TempCommBufferSize)) { in SmmPerformanceHandlerEx() 511 SmmPerfCommData = (SMM_PERF_COMMUNICATE_EX *)CommBuffer; in SmmPerformanceHandlerEx() 589 IN OUT VOID *CommBuffer, in SmmPerformanceHandler() argument 608 if (CommBuffer == NULL || CommBufferSize == NULL) { in SmmPerformanceHandler() 618 if (!SmmIsBufferOutsideSmmValid ((UINTN)CommBuffer, TempCommBufferSize)) { in SmmPerformanceHandler() 623 SmmPerfCommData = (SMM_PERF_COMMUNICATE *)CommBuffer; in SmmPerformanceHandler()
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/DxeSmm/QncSmmDispatcher/QNC/ |
D | QNCSmmPeriodicTimer.c | 179 Record->CommBuffer.PeriodicTimer.ElapsedTime += TimerInterval->Interval; in PeriodicTimerGetContext() 194 if (Record->CommBuffer.PeriodicTimer.ElapsedTime >= ChildContext->PeriodicTimer.Period) { in PeriodicTimerCmpContext() 423 …if (RecordInDb->CommBuffer.PeriodicTimer.ElapsedTime >= RecordInDb->ChildContext.PeriodicTimer.Per… in QNCSmmPeriodicTimerClearSource() 424 RecordInDb->CommBuffer.PeriodicTimer.ElapsedTime = 0; in QNCSmmPeriodicTimerClearSource()
|
D | QNCSmmSw.c | 95 Record->CommBuffer.Sw.SwSmiCpuIndex = CpuIndex; in SwGetBuffer()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/ |
D | VariableSmmRuntimeDxe.c | 925 UINT8 *CommBuffer; in GetVariablePayloadSize() local 928 CommBuffer = NULL; in GetVariablePayloadSize() 941 CommBuffer = AllocateZeroPool (CommSize); in GetVariablePayloadSize() 942 if (CommBuffer == NULL) { in GetVariablePayloadSize() 947 SmmCommunicateHeader = (EFI_SMM_COMMUNICATE_HEADER *) CommBuffer; in GetVariablePayloadSize() 958 Status = mSmmCommunication->Communicate (mSmmCommunication, CommBuffer, &CommSize); in GetVariablePayloadSize() 972 if (CommBuffer != NULL) { in GetVariablePayloadSize() 973 FreePool (CommBuffer); in GetVariablePayloadSize()
|
D | VariableSmm.c | 466 IN OUT VOID *CommBuffer, in SmmVariableHandler() argument 487 if (CommBuffer == NULL || CommBufferSize == NULL) { in SmmVariableHandler() 503 if (!SmmIsBufferOutsideSmmValid ((UINTN)CommBuffer, TempCommBufferSize)) { in SmmVariableHandler() 508 SmmVariableFunctionHeader = (SMM_VARIABLE_COMMUNICATE_HEADER *)CommBuffer; in SmmVariableHandler()
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
D | SmmCommunication.h | 50 IN OUT VOID *CommBuffer,
|
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Ppi/ |
D | SmmCommunication.h | 50 IN OUT VOID *CommBuffer,
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/ |
D | FaultTolerantWriteSmm.c | 304 IN OUT VOID *CommBuffer, in SmmFaultTolerantWriteHandler() argument 326 if (CommBuffer == NULL || CommBufferSize == NULL) { in SmmFaultTolerantWriteHandler() 338 if (!SmmIsBufferOutsideSmmValid ((UINTN)CommBuffer, TempCommBufferSize)) { in SmmFaultTolerantWriteHandler() 343 SmmFtwFunctionHeader = (SMM_FTW_COMMUNICATE_FUNCTION_HEADER *)CommBuffer; in SmmFaultTolerantWriteHandler()
|
/device/linaro/bootloader/edk2/MdePkg/Include/Pi/ |
D | PiSmmCis.h | 147 IN OUT VOID *CommBuffer OPTIONAL, 174 IN OUT VOID *CommBuffer OPTIONAL,
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Smm/SmmScriptLib/ |
D | PiSmmDefinition.h | 205 IN OUT VOID *CommBuffer OPTIONAL, 232 IN OUT VOID *CommBuffer OPTIONAL,
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/DxeSmm/QncSmmDispatcher/ |
D | QNCSmmCore.c | 160 IN OUT VOID *CommBuffer, OPTIONAL 579 IN OUT VOID *CommBuffer, in QNCSmmCoreDispatcher() argument 731 CommunicationBuffer = &RecordToExhaust->CommBuffer; in QNCSmmCoreDispatcher()
|
/device/linaro/bootloader/edk2/MdePkg/Library/SmmPeriodicSmiLib/ |
D | SmmPeriodicSmiLib.c | 790 IN OUT VOID *CommBuffer OPTIONAL, in PeriodicSmiDispatchFunction() 810 if (CommBuffer != NULL) { in PeriodicSmiDispatchFunction() 811 TimerContext = (EFI_SMM_PERIODIC_TIMER_CONTEXT *)CommBuffer; in PeriodicSmiDispatchFunction()
|