Add comments for Tcg Platform protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5040 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
a73d0c743b
commit
bfaa7cd7fb
@ -24,6 +24,24 @@ typedef struct tdEFI_TCG_PLATFORM_PROTOCOL EFI_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
|
typedef
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
(EFIAPI *EFI_TCG_MEASURE_PE_IMAGE) (
|
(EFIAPI *EFI_TCG_MEASURE_PE_IMAGE) (
|
||||||
@ -36,6 +54,15 @@ EFI_STATUS
|
|||||||
IN EFI_DEVICE_PATH_PROTOCOL *FilePath
|
IN EFI_DEVICE_PATH_PROTOCOL *FilePath
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/**
|
||||||
|
|
||||||
|
Measure efi action string.
|
||||||
|
|
||||||
|
@param ActionString Pointer to action string.
|
||||||
|
|
||||||
|
@retval EFI_SUCCESS Measure action string successfully.
|
||||||
|
|
||||||
|
**/
|
||||||
typedef
|
typedef
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
(EFIAPI *EFI_TCG_MEASURE_ACTION) (
|
(EFIAPI *EFI_TCG_MEASURE_ACTION) (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user