3 Tcg addtional services to measure PeImage and ActionString
5 Copyright (c) 2006 - 2008, Intel Corporation
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #ifndef _TCG_PLATFORM_PROTOCOL_H_
17 #define _TCG_PLATFORM_PROTOCOL_H_
19 #define EFI_TCG_PLATFORM_PROTOCOL_GUID \
20 { 0x8c4c9a41, 0xbf56, 0x4627, { 0x9e, 0xa, 0xc8, 0x38, 0x6d, 0x66, 0x11, 0x5c } }
22 typedef struct tdEFI_TCG_PLATFORM_PROTOCOL EFI_TCG_PLATFORM_PROTOCOL
;
25 // EFI TCG Platform Protocol
29 (EFIAPI
*EFI_TCG_MEASURE_PE_IMAGE
) (
30 IN BOOLEAN BootPolicy
,
31 IN EFI_PHYSICAL_ADDRESS ImageAddress
,
33 IN UINTN LinkTimeBase
,
35 IN EFI_HANDLE DeviceHandle
,
36 IN EFI_DEVICE_PATH_PROTOCOL
*FilePath
41 (EFIAPI
*EFI_TCG_MEASURE_ACTION
) (
42 IN CHAR8
*ActionString
45 struct tdEFI_TCG_PLATFORM_PROTOCOL
{
46 EFI_TCG_MEASURE_PE_IMAGE MeasurePeImage
;
47 EFI_TCG_MEASURE_ACTION MeasureAction
;
50 extern EFI_GUID gEfiTcgPlatformProtocolGuid
;