summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-11 09:30:13 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-11 09:30:13 +0000
commitcebc8d486e39ffbbf37f67914db0a49455181e0f (patch)
tree2de34649e6ed690d939491037483a86364c2852b /MdeModulePkg/Library
parentc84507ab5229c462806187b090ba6249540c9070 (diff)
downloadedk2-platforms-cebc8d486e39ffbbf37f67914db0a49455181e0f.tar.xz
Code Scrub for Pcd, PlatformDriOverride and PlatOverMngr driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6998 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library')
-rw-r--r--MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.c3
-rw-r--r--MdeModulePkg/Library/DxePlatDriOverLib/PlatDriOver.h8
2 files changed, 10 insertions, 1 deletions
diff --git a/MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.c b/MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.c
index afc0ef32f7..e664428d0e 100644
--- a/MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.c
+++ b/MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.c
@@ -163,6 +163,9 @@ Crc32GuidedSectionHandler (
/**
Register Crc32 section handler.
+ @param ImageHandle ImageHandle of the loaded driver.
+ @param SystemTable Pointer to the EFI System Table.
+
@retval RETURN_SUCCESS Register successfully.
@retval RETURN_OUT_OF_RESOURCES No enough memory to register this handler.
**/
diff --git a/MdeModulePkg/Library/DxePlatDriOverLib/PlatDriOver.h b/MdeModulePkg/Library/DxePlatDriOverLib/PlatDriOver.h
index db2d6e5dab..50622b8bd3 100644
--- a/MdeModulePkg/Library/DxePlatDriOverLib/PlatDriOver.h
+++ b/MdeModulePkg/Library/DxePlatDriOverLib/PlatDriOver.h
@@ -70,7 +70,7 @@ typedef struct _DEVICE_PATH_STACK_ITEM{
} DEVICE_PATH_STACK_ITEM;
/**
- Push a controller device path into a globle device path list
+ Push a controller device path into a globle device path list.
@param DevicePath The controller device path to push into stack
@@ -114,6 +114,8 @@ CheckExistInStack (
);
/**
+ Update the FV file device path if it is not valid.
+
According to a file GUID, check a Fv file device path is valid. If it is invalid,
try to return the valid device path.
FV address maybe changes for memory layout adjust from time to time, use this funciton
@@ -143,6 +145,8 @@ UpdateFvFileDevicePath (
);
/**
+ Gets the data and size of a variable.
+
Read the EFI variable (VendorGuid/Name) and return a dynamically allocated
buffer, and the size of the buffer. If failure return NULL.
@@ -165,6 +169,8 @@ GetVariableAndSize (
);
/**
+ Connect to the handle to a device on the device path.
+
This function will create all handles associate with every device
path node. If the handle associate with one device path node can not
be created success, then still give one chance to do the dispatch,