SecurityPkg: Tcg: New field for User Confirmation Status
Add a new field in TcgNVS for PP operation user confirmation status, instead of previous logic overriding Request. Previous logic causes Get Pending TPM Operation Requested sub function return wrong value. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chao Zhang <chao.b.zhang@intel.com> Reviewed-by: Yao Jiewen <jiewen.yao@intel.com> Reviewed-by: Long Qin <qin.long@intel.com>
This commit is contained in:
@@ -79,7 +79,8 @@ DefinitionBlock (
|
||||
MCIN, 8, // Software SMI for Memory Clear Interface
|
||||
MCIP, 32, // Used for save the Mor paramter
|
||||
MORD, 32, // Memory Overwrite Request Data
|
||||
MRET, 32 // Memory Overwrite function return code
|
||||
MRET, 32, // Memory Overwrite function return code
|
||||
UCRQ, 32 // Phyical Presence request operation to Get User Confirmation Status
|
||||
}
|
||||
|
||||
Method (PTS, 1, Serialized)
|
||||
@@ -274,7 +275,7 @@ DefinitionBlock (
|
||||
// e) Get User Confirmation Status for Operation
|
||||
//
|
||||
Store (8, PPIP)
|
||||
Store (DerefOf (Index (Arg2, 0x00)), PPRQ)
|
||||
Store (DerefOf (Index (Arg2, 0x00)), UCRQ)
|
||||
|
||||
//
|
||||
// Triggle the SMI interrupt
|
||||
|
Reference in New Issue
Block a user