Skip to content
Snippets Groups Projects
Ilias Apalodimas's avatar
Ilias Apalodimas authored
As described in the TCG spec [1] in sections 7.1.1 and 7.1.2 the FinalEvent
table should include events after GetEventLog has been called.  This
currently works for us as long as the kernel is the only EFI application
calling that.  Specifically we only implement what's described in 7.1.1.

So refactor the code a bit and support EFI application(s) calling
GetEventLog.  Events will now be logged in both the EventLog and FinalEvent
table as long as ExitBootServices haven't been invoked.

[1] https://trustedcomputinggroup.org/wp-content/uploads/EFI-Protocol-Specification-rev13-160330final.pdf



Signed-off-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
5ba03970
History
Name Last commit Last update