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