Formalize comments for Protocols and PPIs.
1. Use doxygen format for Protocol/PPI data structure 2. Remove doxygen comments for function elements in Protocol/Ppi 3. Use doxygen format for data elements in Protocol/Ppi, and add missing comments where necessary 4. PEI Services Table is also updated accordingly. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6107 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -45,10 +45,9 @@
|
||||
///
|
||||
#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.
|
||||
**/
|
||||
///
|
||||
/// Can be used on any image handle to obtain information about the loaded image.
|
||||
///
|
||||
typedef struct {
|
||||
///
|
||||
/// Defines the revision of the EFI_LOADED_IMAGE_PROTOCOL structure.
|
||||
@@ -61,6 +60,10 @@ typedef struct {
|
||||
/// the firmware's boot manager.
|
||||
///
|
||||
EFI_HANDLE ParentHandle;
|
||||
|
||||
///
|
||||
/// the image's EFI system table pointer.
|
||||
///
|
||||
EFI_SYSTEM_TABLE *SystemTable;
|
||||
|
||||
//
|
||||
@@ -103,12 +106,17 @@ typedef struct {
|
||||
/// The size in bytes of the loaded image.
|
||||
///
|
||||
UINT64 ImageSize;
|
||||
|
||||
///
|
||||
/// The memory type that the code sections were loaded as.
|
||||
///
|
||||
EFI_MEMORY_TYPE ImageCodeType;
|
||||
|
||||
///
|
||||
/// The memory type that the data sections were loaded as.
|
||||
///
|
||||
EFI_MEMORY_TYPE ImageDataType;
|
||||
|
||||
//
|
||||
// If the driver image supports a dynamic unload request
|
||||
//
|
||||
EFI_IMAGE_UNLOAD Unload;
|
||||
|
||||
} EFI_LOADED_IMAGE_PROTOCOL;
|
||||
|
Reference in New Issue
Block a user