]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Include/Protocol/TcgPlatform.h
Add comments and DoxyGen format for these files.
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / TcgPlatform.h
CommitLineData
504214c4 1/** @file\r
0c0f3174 2\r
504214c4
LG
3 Tcg addtional services to measure PeImage and ActionString\r
4\r
5Copyright (c) 2006 - 2008, Intel Corporation \r
0c0f3174
LG
6All rights reserved. This program and the accompanying materials \r
7are licensed and made available under the terms and conditions of the BSD License \r
8which accompanies this distribution. The full text of the license may be found at \r
9http://opensource.org/licenses/bsd-license.php \r
10 \r
11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
13\r
504214c4 14**/\r
0c0f3174
LG
15\r
16#ifndef _TCG_PLATFORM_PROTOCOL_H_\r
17#define _TCG_PLATFORM_PROTOCOL_H_\r
18\r
19#define EFI_TCG_PLATFORM_PROTOCOL_GUID \\r
20 { 0x8c4c9a41, 0xbf56, 0x4627, { 0x9e, 0xa, 0xc8, 0x38, 0x6d, 0x66, 0x11, 0x5c } }\r
21\r
22typedef struct tdEFI_TCG_PLATFORM_PROTOCOL EFI_TCG_PLATFORM_PROTOCOL;\r
23\r
24//\r
25// EFI TCG Platform Protocol\r
26//\r
27typedef\r
28EFI_STATUS\r
29(EFIAPI *EFI_TCG_MEASURE_PE_IMAGE) (\r
30 IN BOOLEAN BootPolicy,\r
31 IN EFI_PHYSICAL_ADDRESS ImageAddress,\r
32 IN UINTN ImageSize,\r
33 IN UINTN LinkTimeBase,\r
34 IN UINT16 ImageType,\r
35 IN EFI_HANDLE DeviceHandle,\r
36 IN EFI_DEVICE_PATH_PROTOCOL *FilePath\r
37 );\r
38\r
39typedef\r
40EFI_STATUS\r
41(EFIAPI *EFI_TCG_MEASURE_ACTION) (\r
42 IN CHAR8 *ActionString\r
43 );\r
44\r
45struct tdEFI_TCG_PLATFORM_PROTOCOL {\r
46 EFI_TCG_MEASURE_PE_IMAGE MeasurePeImage;\r
47 EFI_TCG_MEASURE_ACTION MeasureAction;\r
48};\r
49\r
50extern EFI_GUID gEfiTcgPlatformProtocolGuid;\r
51\r
52#endif\r