[SeaBIOS] [PATCH 1/2] tcg: Move standard definitions from tcgbios.h to new file std/tcg.h

Stefan Berger stefanb at linux.vnet.ibm.com
Wed Jun 10 18:41:51 CEST 2015


On 06/10/2015 11:11 AM, Kevin O'Connor wrote:
> Signed-off-by: Kevin O'Connor <kevin at koconnor.net>
> ---
>
> I don't actually know which TCG definitions in tcgbios.h are part of
> the spec and which are implementation details.  So, I'm only guessing
> with this patch.


Good guess! In the patch that I now add this block here is NOT part of a 
spec:

+#define TPM_STATE_ENABLED 1
+#define TPM_STATE_ACTIVE 2
+#define TPM_STATE_OWNED 4
+#define TPM_STATE_OWNERINSTALL 8
+

The rest is all based on a spec.

Regards,
     Stefan





More information about the SeaBIOS mailing list