From b7c51c9cf4864df6aabb99a1ae843becd577237c Mon Sep 17 00:00:00 2001 From: raywu Date: Fri, 15 Jun 2018 00:00:50 +0800 Subject: init. 1AQQW051 --- MiscFramework/Guid/TcgLogHob/TcgLogHob.c | 29 ++++++++++++++++++++++ MiscFramework/Guid/TcgLogHob/TcgLogHob.h | 41 ++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 MiscFramework/Guid/TcgLogHob/TcgLogHob.c create mode 100644 MiscFramework/Guid/TcgLogHob/TcgLogHob.h (limited to 'MiscFramework/Guid/TcgLogHob') diff --git a/MiscFramework/Guid/TcgLogHob/TcgLogHob.c b/MiscFramework/Guid/TcgLogHob/TcgLogHob.c new file mode 100644 index 0000000..f241828 --- /dev/null +++ b/MiscFramework/Guid/TcgLogHob/TcgLogHob.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: + + TcgLogHob.c + +Abstract: + + GUIDs used for TCG event log table + +--*/ + +#include "Efi.h" +#include EFI_GUID_DEFINITION (TcgLogHob) + + +EFI_GUID gEfiTcgLogHobGuid = EFI_TCG_LOG_HOB_GUID; + +EFI_GUID_STRING (&gEfiTcgLogHobGuid, "TCG Event Log HOB", "TCG Event Log HOB"); diff --git a/MiscFramework/Guid/TcgLogHob/TcgLogHob.h b/MiscFramework/Guid/TcgLogHob/TcgLogHob.h new file mode 100644 index 0000000..81c76e7 --- /dev/null +++ b/MiscFramework/Guid/TcgLogHob/TcgLogHob.h @@ -0,0 +1,41 @@ +/*++ + +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: + + TcgLogHob.h + +Abstract: + + GUIDs used for TCG event log table + +--*/ + +#ifndef _TCG_LOG_HOB_GUID_H_ +#define _TCG_LOG_HOB_GUID_H_ + +// +// Definitions for Flash Map +// +#define EFI_TCG_LOG_HOB_GUID \ + { 0x5f7d4e0e, 0x3d6d, 0x42bc, 0xa9, 0x42, 0xe, 0x91, 0xe8, 0x3e, 0x3c, 0x31 } + +typedef struct _TCG_LOG_HOB_ { + UINT32 TableMaxSize; + UINT32 TableSize; + UINT32 EventNum; + UINT32 Reserved; +} TCG_LOG_HOB; + +extern EFI_GUID gEfiTcgLogHobGuid; + +#endif // _TCG_LOG_HOB_GUID_H_ -- cgit v1.2.3