summaryrefslogtreecommitdiff
path: root/Platform/AMD/AgesaModulePkg/Include/Library/AmdPspMboxLibV2.h
blob: 0158108f1ab59ce0f006f82b37dfafefcc6c4ed5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/** @file

  Copyright (C) 2008-2025 Advanced Micro Devices, Inc. All rights reserved.<BR>

  SPDX-License-Identifier: BSD-2-Clause-Patent

**/
/* $NoKeywords:$ */

/**
 * @file
 *
 * PSP Mailbox related functions Prototype definition
 *
 *
 * @xrefitem bom "File Content Label" "Release Content"
 * @e project:      AGESA
 * @e sub-project:  PSP
 * @e \$Revision: 312133 $   @e \$Date: 2015-02-03 02:47:45 +0800 (Tue, 03 Feb 2015) $
 */

#ifndef PSP_MBOX_H_
#define PSP_MBOX_H_

/**
 * @brief Bios send these commands to PSP to grant dTPM status and event log
 *
 * @param[out]      DesiredConfig       dTPM configuration requested
 * @param[out]      ConfigStatus        0 - success. non-zero failure.
 * @param[in,out]   LogDataSize         Size of LogData buffer
 * @param[out]      LogData             Point to allocated event log buffer
 *
 * @retval EFI_STATUS                   0: Success, NonZero Error
 */
EFI_STATUS
PspMboxGetDTPMData (
  OUT UINT32     *DesiredConfig,
  OUT UINT32     *ConfigStatus,
  IN OUT UINT32  *LogDataSize,
  OUT VOID       *LogData
  );

#endif // PSP_MBOX_H_