public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Question about SecurityPkg/DxeTcg2PhysicalPresenceLib
@ 2018-08-10  8:49 heyi.guo
  2018-08-10  9:12 ` Yao, Jiewen
  0 siblings, 1 reply; 6+ messages in thread
From: heyi.guo @ 2018-08-10  8:49 UTC (permalink / raw)
  To: edk2-devel; +Cc: Chao Zhang, Jiewen Yao

Hi folks,

The function Tcg2PhysicalPresenceLibProcessRequest in DxeTcg2PhysicalPresenceLib
requires to be invoked after console is ready, and in the function it will call
VariableLockProtocol->RequestToLock(), while variable RequestToLock() requires
to be called before "End Of Dxe" event, or else it will return ACCESS_DENIED. 

However, in PI spec 1.6, section 5.1.2.1 "End of DXE Event", it says "Prior to
connecting consoles, the platform should signal the event 'End of DXE'". So
there seems to be contradiction between these implementations and PI spec.

If we follow below work flow:
End of DXE -> connect console -> Tcg2PhysicalPresenceLibProcessRequest() ->
Variable RequestToLock() -> we will get ACCESS_DENIED.

Please advise,

Thanks,

Heyi


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-08-14 14:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-10  8:49 Question about SecurityPkg/DxeTcg2PhysicalPresenceLib heyi.guo
2018-08-10  9:12 ` Yao, Jiewen
2018-08-13  1:07   ` heyi.guo
2018-08-13  1:10     ` Yao, Jiewen
2018-08-14  6:18       ` heyi.guo
2018-08-14 14:51         ` Laszlo Ersek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox