Lines Matching defs:LockBoxParameterRestore
530 EFI_SMM_LOCK_BOX_PARAMETER_RESTORE *LockBoxParameterRestore;
578 MessageLength = sizeof(*LockBoxParameterRestore);
581 CommHeader->MessageLength = sizeof(*LockBoxParameterRestore);
586 LockBoxParameterRestore = (EFI_SMM_LOCK_BOX_PARAMETER_RESTORE *)&CommBuffer[OFFSET_OF (EFI_SMM_COMMUNICATE_HEADER, MessageLength) + sizeof(UINT64)];
588 LockBoxParameterRestore = (EFI_SMM_LOCK_BOX_PARAMETER_RESTORE *)&CommBuffer[OFFSET_OF (EFI_SMM_COMMUNICATE_HEADER, MessageLength) + sizeof(UINTN)];
590 DEBUG ((EFI_D_INFO, "SmmLockBoxPeiLib LockBoxParameterRestore - %x\n", LockBoxParameterRestore));
591 LockBoxParameterRestore->Header.Command = EFI_SMM_LOCK_BOX_COMMAND_RESTORE;
592 LockBoxParameterRestore->Header.DataLength = sizeof(*LockBoxParameterRestore);
593 LockBoxParameterRestore->Header.ReturnStatus = (UINT64)-1;
595 CopyMem (&LockBoxParameterRestore->Guid, Guid, sizeof(*Guid));
597 ZeroMem (&LockBoxParameterRestore->Guid, sizeof(*Guid));
599 LockBoxParameterRestore->Buffer = (EFI_PHYSICAL_ADDRESS)(UINTN)Buffer;
601 LockBoxParameterRestore->Length = (EFI_PHYSICAL_ADDRESS)*Length;
603 LockBoxParameterRestore->Length = 0;
621 LockBoxParameterRestore->Header.ReturnStatus = (UINT64)Status;
623 LockBoxParameterRestore->Length = (UINT64)*Length;
629 *Length = (UINTN)LockBoxParameterRestore->Length;
632 Status = (EFI_STATUS)LockBoxParameterRestore->Header.ReturnStatus;