diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-04-11 02:03:41 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-04-11 02:03:41 +0000 |
commit | bfaa7cd7fbda2c8594df5af6a72ab6b7af11ef2f (patch) | |
tree | 200cb42d28e37a47c8d5821dd0c65507e52eb3fa /MdeModulePkg/Include | |
parent | a73d0c743b5192b1038a24711525eed71dfa300f (diff) | |
download | edk2-platforms-bfaa7cd7fbda2c8594df5af6a72ab6b7af11ef2f.tar.xz |
Add comments for Tcg Platform protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5040 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Include')
-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) (
|