From bfaa7cd7fbda2c8594df5af6a72ab6b7af11ef2f Mon Sep 17 00:00:00 2001 From: lgao4 Date: Fri, 11 Apr 2008 02:03:41 +0000 Subject: Add comments for Tcg Platform protocol. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5040 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Include/Protocol/TcgPlatform.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'MdeModulePkg/Include/Protocol') diff --git a/MdeModulePkg/Include/Protocol/TcgPlatform.h b/MdeModulePkg/Include/Protocol/TcgPlatform.h index a1f8c43725..4c87b58a5d 100644 --- a/MdeModulePkg/Include/Protocol/TcgPlatform.h +++ b/MdeModulePkg/Include/Protocol/TcgPlatform.h @@ -24,6 +24,24 @@ typedef struct tdEFI_TCG_PLATFORM_PROTOCOL EFI_TCG_PLATFORM_PROTOCOL; // // EFI TCG Platform Protocol // +/** + + Measure PE/COFF Image File prior to the application of any fix-ups or relocations. + + @param BootPolicy If TRUE, indicates that the request originates from the boot manager, + and that the boot manager is attempting to load FilePath as a boot selection. + @param ImageAddress The memory address to PE/COFF image. + @param ImageSize The size of PE/COFF image. + @param LinkTimeBase The image base address in the original PeImage. + @param ImageType The subsystem type of the PeImage. + @param DeviceHandle The handle to device matched the file path. + @param FilePath The specific file path from which the image is loaded. + + @retval EFI_SUCCESS Measure successfully. + @retval EFI_UNSUPPORTED The loaded PeImage is not supported. + @retval EFI_OUT_OF_RESOURCES The resource of memory is not enough. + +**/ typedef EFI_STATUS (EFIAPI *EFI_TCG_MEASURE_PE_IMAGE) ( @@ -36,6 +54,15 @@ EFI_STATUS IN EFI_DEVICE_PATH_PROTOCOL *FilePath ); +/** + + Measure efi action string. + + @param ActionString Pointer to action string. + + @retval EFI_SUCCESS Measure action string successfully. + +**/ typedef EFI_STATUS (EFIAPI *EFI_TCG_MEASURE_ACTION) ( -- cgit v1.2.3