TianoCore EDK2 master
Loading...
Searching...
No Matches
Tcg2Smm.h
Go to the documentation of this file.
1
10#ifndef __TCG2_SMM_H__
11#define __TCG2_SMM_H__
12
13#include <PiMm.h>
14
16#include <Guid/TpmInstance.h>
17#include <Guid/TpmNvsMm.h>
18
21#include <Protocol/AcpiTable.h>
24
25#include <Library/BaseLib.h>
27#include <Library/DebugLib.h>
31#include <Library/IoLib.h>
32#include <Library/PcdLib.h>
34
36
37//
38// The definition for TCG MOR
39//
40#define ACPI_FUNCTION_DSM_MEMORY_CLEAR_INTERFACE 1
41#define ACPI_FUNCTION_PTS_CLEAR_MOR_BIT 2
42
43//
44// The return code for Memory Clear Interface Functions
45//
46#define MOR_REQUEST_SUCCESS 0
47#define MOR_REQUEST_GENERAL_FAILURE 1
48
52VOID
54 VOID
55 );
56
68BOOLEAN
71 IN UINT64 Length
72 );
73
85BOOLEAN
88 IN UINT64 Length
89 );
90
103 VOID
104 );
105
112BOOLEAN
114 VOID
115 );
116
117#endif // __TCG_SMM_H__
#define IN
Definition: Base.h:279
BOOLEAN IsTpm20Dtpm(VOID)
BOOLEAN Tcg2IsNonPrimaryBufferValid(IN EFI_PHYSICAL_ADDRESS Buffer, IN UINT64 Length)
VOID Tcg2NotifyMmReady(VOID)
EFI_STATUS InitializeTcgCommon(VOID)
Definition: Tcg2Smm.c:214
BOOLEAN Tcg2IsPrimaryBufferValid(IN EFI_PHYSICAL_ADDRESS Buffer, IN UINT64 Length)
UINT64 EFI_PHYSICAL_ADDRESS
Definition: UefiBaseType.h:50
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29