]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Protocol/TcgPlatform.h
Retire TCG platform protocol, which will be replaced by PI Security Architecture...
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / TcgPlatform.h
diff --git a/MdeModulePkg/Include/Protocol/TcgPlatform.h b/MdeModulePkg/Include/Protocol/TcgPlatform.h
deleted file mode 100644 (file)
index cf8c562..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-/** @file\r
-\r
-  Tcg addtional services to measure PeImage and ActionString\r
-\r
-Copyright (c) 2006 - 2008, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
-are licensed and made available under the terms and conditions of the BSD License         \r
-which accompanies this distribution.  The full text of the license may be found at        \r
-http://opensource.org/licenses/bsd-license.php                                            \r
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
-\r
-**/\r
-\r
-#ifndef _TCG_PLATFORM_PROTOCOL_H_\r
-#define _TCG_PLATFORM_PROTOCOL_H_\r
-\r
-#define EFI_TCG_PLATFORM_PROTOCOL_GUID  \\r
-  { 0x8c4c9a41, 0xbf56, 0x4627, { 0x9e, 0xa, 0xc8, 0x38, 0x6d, 0x66, 0x11, 0x5c } }\r
-\r
-typedef struct tdEFI_TCG_PLATFORM_PROTOCOL EFI_TCG_PLATFORM_PROTOCOL;\r
-\r
-//\r
-// EFI TCG Platform Protocol\r
-//\r
-/**\r
-  \r
-  Measure PE/COFF Image File prior to the application of any fix-ups or relocations.\r
-  \r
-  @param  BootPolicy      If TRUE, indicates that the request originates from the boot manager,\r
-                          and that the boot manager is attempting to load FilePath as a boot selection.\r
-  @param  ImageAddress    The memory address to PE/COFF image.\r
-  @param  ImageSize       The size of PE/COFF image.\r
-  @param  LinkTimeBase    The image base address in the original PeImage.\r
-  @param  ImageType       The subsystem type of the PeImage.\r
-  @param  DeviceHandle    The handle to device matched the file path. \r
-  @param  FilePath        The specific file path from which the image is loaded.\r
-  \r
-  @retval EFI_SUCCESS           Measure successfully.\r
-  @retval EFI_UNSUPPORTED       The loaded PeImage is not supported.\r
-  @retval EFI_OUT_OF_RESOURCES  The resource of memory is not enough.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_TCG_MEASURE_PE_IMAGE)(\r
-  IN      BOOLEAN                   BootPolicy,\r
-  IN      EFI_PHYSICAL_ADDRESS      ImageAddress,\r
-  IN      UINTN                     ImageSize,\r
-  IN      UINTN                     LinkTimeBase,\r
-  IN      UINT16                    ImageType,\r
-  IN      EFI_HANDLE                DeviceHandle,\r
-  IN      EFI_DEVICE_PATH_PROTOCOL  *FilePath\r
-  );\r
-\r
-/**\r
-  \r
-  Measure efi action string.\r
-  \r
-  @param  ActionString  Pointer to action string.\r
-  \r
-  @retval EFI_SUCCESS   Measure action string successfully.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_TCG_MEASURE_ACTION)(\r
-  IN      CHAR8                     *ActionString\r
-  );\r
-\r
-struct tdEFI_TCG_PLATFORM_PROTOCOL {\r
-  EFI_TCG_MEASURE_PE_IMAGE          MeasurePeImage;\r
-  EFI_TCG_MEASURE_ACTION            MeasureAction;\r
-};\r
-\r
-extern EFI_GUID                     gEfiTcgPlatformProtocolGuid;\r
-\r
-#endif\r