From 0758c830f7b4a388b15fb825b896f5f366985bbf Mon Sep 17 00:00:00 2001 From: czhang46 Date: Fri, 28 Sep 2012 00:57:02 +0000 Subject: Rename Trusted Hob to Measured FV hob and add Guided Hob layout structure Signed-off-by : Chao Zhang Reviewed-by : Dong Guo git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13762 6f19259b-4bc3-4df7-8a09-765794883524 --- SecurityPkg/Include/Guid/MeasuredFvHob.h | 36 ++++++++++++++++++++++++++++++++ SecurityPkg/Include/Guid/TrustedFvHob.h | 29 ------------------------- 2 files changed, 36 insertions(+), 29 deletions(-) create mode 100644 SecurityPkg/Include/Guid/MeasuredFvHob.h delete mode 100644 SecurityPkg/Include/Guid/TrustedFvHob.h (limited to 'SecurityPkg/Include') diff --git a/SecurityPkg/Include/Guid/MeasuredFvHob.h b/SecurityPkg/Include/Guid/MeasuredFvHob.h new file mode 100644 index 0000000000..a2e6922335 --- /dev/null +++ b/SecurityPkg/Include/Guid/MeasuredFvHob.h @@ -0,0 +1,36 @@ +/** @file + Defines the HOB GUID used to pass all PEI measured FV info to + DXE Driver. + +Copyright (c) 2012, Intel Corporation. All rights reserved.
+This program and the accompanying materials +are licensed and made available under the terms and conditions of the BSD License +which accompanies this distribution. The full text of the license may be found at +http://opensource.org/licenses/bsd-license.php + +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +**/ + +#ifndef _MEASURED_FV_HOB_H_ +#define _MEASURED_FV_HOB_H_ + +#include + +/// +/// The Global ID of a GUIDed HOB used to pass all PEI measured FV info to DXE Driver. +/// +#define EFI_MEASURED_FV_HOB_GUID \ + { \ + 0xb2360b42, 0x7173, 0x420a, { 0x86, 0x96, 0x46, 0xca, 0x6b, 0xab, 0x10, 0x60 } \ + } + +extern EFI_GUID gMeasuredFvHobGuid; + +typedef struct { + UINT32 Num; + EFI_PLATFORM_FIRMWARE_BLOB MeasuredFvBuf[1]; +} MEASURED_HOB_DATA; + +#endif diff --git a/SecurityPkg/Include/Guid/TrustedFvHob.h b/SecurityPkg/Include/Guid/TrustedFvHob.h deleted file mode 100644 index 3a3a607079..0000000000 --- a/SecurityPkg/Include/Guid/TrustedFvHob.h +++ /dev/null @@ -1,29 +0,0 @@ -/** @file - Defines the HOB GUID used to pass all PEI trusted FV info to - DXE Driver. - -Copyright (c) 2012, Intel Corporation. All rights reserved.
-This program and the accompanying materials -are licensed and made available under the terms and conditions of the BSD License -which accompanies this distribution. The full text of the license may be found at -http://opensource.org/licenses/bsd-license.php - -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - -**/ - -#ifndef _TRUSTED_FV_HOB_H_ -#define _TRUSTED_FV_HOB_H_ - -/// -/// The Global ID of a GUIDed HOB used to pass all PEI trusted FV info to DXE Driver. -/// -#define EFI_TRUSTED_FV_HOB_GUID \ - { \ - 0xb2360b42, 0x7173, 0x420a, { 0x86, 0x96, 0x46, 0xca, 0x6b, 0xab, 0x10, 0x60 } \ - } - -extern EFI_GUID gTrustedFvHobGuid; - -#endif -- cgit v1.2.3