diff options
-rw-r--r-- | MdeModulePkg/Include/Protocol/TcgPlatform.h | 27 |
1 files changed, 27 insertions, 0 deletions
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) (
|