summaryrefslogtreecommitdiff
path: root/MiscFramework/Guid/TpmStateInitHob
diff options
context:
space:
mode:
Diffstat (limited to 'MiscFramework/Guid/TpmStateInitHob')
-rw-r--r--MiscFramework/Guid/TpmStateInitHob/TpmStateInitHob.c29
-rw-r--r--MiscFramework/Guid/TpmStateInitHob/TpmStateInitHob.h39
2 files changed, 68 insertions, 0 deletions
diff --git a/MiscFramework/Guid/TpmStateInitHob/TpmStateInitHob.c b/MiscFramework/Guid/TpmStateInitHob/TpmStateInitHob.c
new file mode 100644
index 0000000..1eea80b
--- /dev/null
+++ b/MiscFramework/Guid/TpmStateInitHob/TpmStateInitHob.c
@@ -0,0 +1,29 @@
+/*++
+
+Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved
+This software and associated documentation (if any) is furnished
+under a license and may only be used or copied in accordance
+with the terms of the license. Except as permitted by such
+license, no part of this software or documentation may be
+reproduced, stored in a retrieval system, or transmitted in any
+form or by any means without the express written consent of
+Intel Corporation.
+
+
+Module Name:
+
+ TpmStateInitHob.c
+
+Abstract:
+
+ GUID of the HOB data for TPM state initialization.
+
+--*/
+
+#include "Efi.h"
+#include EFI_GUID_DEFINITION (TpmStateInitHob)
+
+
+EFI_GUID gEfiTpmStateInitHobGuid = EFI_TPM_STATE_INIT_HUB_GUID;
+
+EFI_GUID_STRING (&gEfiTpmStateInitHobGuid, "TPM State Initialization HOB", "TPM State Initialization HOB");
diff --git a/MiscFramework/Guid/TpmStateInitHob/TpmStateInitHob.h b/MiscFramework/Guid/TpmStateInitHob/TpmStateInitHob.h
new file mode 100644
index 0000000..8781972
--- /dev/null
+++ b/MiscFramework/Guid/TpmStateInitHob/TpmStateInitHob.h
@@ -0,0 +1,39 @@
+/*++
+
+Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved
+This software and associated documentation (if any) is furnished
+under a license and may only be used or copied in accordance
+with the terms of the license. Except as permitted by such
+license, no part of this software or documentation may be
+reproduced, stored in a retrieval system, or transmitted in any
+form or by any means without the express written consent of
+Intel Corporation.
+
+
+Module Name:
+
+ TpmStateInitHob.h
+
+Abstract:
+
+ GUID of the HOB data for TPM state initialization.
+
+--*/
+
+#ifndef _EFI_TPM_STATE_INIT_HUB_GUID_H_
+#define _EFI_TPM_STATE_INIT_HUB_GUID_H_
+
+#define EFI_TPM_STATE_INIT_HUB_GUID \
+ { 0xA0C6D918, 0x8DEE, 0x41BB, 0x9D, 0x92, 0x67, 0x53, 0xA5, 0x72, 0xB6, 0x52 };
+
+typedef struct {
+ BOOLEAN TpmEnabledStateFlag;
+ BOOLEAN TpmActivatedStateFlag;
+ BOOLEAN TpmOwnedStateFlag;
+ UINT8 Reserved[5];
+} EFI_TPM_STATE_FLAGS;
+
+
+extern EFI_GUID gEfiTpmStateInitHobGuid;
+
+#endif // _EFI_TPM_STATE_INIT_HUB_GUID_H_