Code Scrub for Protocol and Ppi Definition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5564 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
Every EFI driver and application is passed an image handle when it is loaded.
|
||||
This image handle will contain a Loaded Image Protocol.
|
||||
|
||||
Copyright (c) 2006, Intel Corporation
|
||||
Copyright (c) 2006 - 2008, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
@@ -45,7 +45,53 @@
|
||||
//
|
||||
#define EFI_LOADED_IMAGE_INFORMATION_REVISION EFI_LOADED_IMAGE_PROTOCOL_REVISION
|
||||
|
||||
/**
|
||||
@par Protocol Description:
|
||||
Can be used on any image handle to obtain information about the loaded image.
|
||||
|
||||
@param Revision
|
||||
Defines the revision of the EFI_LOADED_IMAGE_PROTOCOL structure.
|
||||
All future revisions will be backward compatible to the current revision.
|
||||
|
||||
@param ParentHandle
|
||||
Parent image's image handle. NULL if the image is loaded directly from
|
||||
the firmware's boot manager.
|
||||
|
||||
@param SystemTable
|
||||
The image's EFI system table pointer.
|
||||
|
||||
@param DeviceHandle
|
||||
The device handle that the EFI Image was loaded from.
|
||||
|
||||
@param FilePath
|
||||
A pointer to the file path portion specific to DeviceHandle
|
||||
that the EFI Image was loaded from.
|
||||
|
||||
@param Reserved
|
||||
Reserved. DO NOT USE.
|
||||
|
||||
@param LoadOptionsSize
|
||||
The size in bytes of LoadOptions.
|
||||
|
||||
@param LoadOptions
|
||||
A pointer to the image's binary load options.
|
||||
|
||||
@param ImageBase
|
||||
The base address at which the image was loaded.
|
||||
|
||||
@param ImageSize
|
||||
The size in bytes of the loaded image.
|
||||
|
||||
@param ImageCodeType
|
||||
The memory
|
||||
|
||||
@param ImageDataType
|
||||
The memory
|
||||
|
||||
@param Unload
|
||||
Function that unloads the image.
|
||||
|
||||
**/
|
||||
typedef struct {
|
||||
UINT32 Revision;
|
||||
EFI_HANDLE ParentHandle;
|
||||
|
Reference in New Issue
Block a user