summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-04 14:00:52 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-04 14:00:52 +0000
commit7ca066f99b88aa0c5c07c92e109b5dcfe0b8a7c7 (patch)
treef3b763bf48090ee3223484ec1afab0d892db59d6 /MdePkg
parent90eff00547e428d70607c04dfb7cbf58e33156ca (diff)
downloadedk2-7ca066f99b88aa0c5c07c92e109b5dcfe0b8a7c7.tar.gz
edk2-7ca066f99b88aa0c5c07c92e109b5dcfe0b8a7c7.tar.bz2
edk2-7ca066f99b88aa0c5c07c92e109b5dcfe0b8a7c7.zip
Remove todo comment in BaseLib.h
Update DxeServicesLib return status align to MdeLib spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6849 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Library/BaseLib.h1
-rw-r--r--MdePkg/Include/Library/HobLib.h4
-rw-r--r--MdePkg/Library/DxeServicesLib/DxeServicesLib.c3
3 files changed, 3 insertions, 5 deletions
diff --git a/MdePkg/Include/Library/BaseLib.h b/MdePkg/Include/Library/BaseLib.h
index cc0e6eeaae..0dfdd7dc91 100644
--- a/MdePkg/Include/Library/BaseLib.h
+++ b/MdePkg/Include/Library/BaseLib.h
@@ -4992,7 +4992,6 @@ typedef union {
///
/// Byte packed structure for an IDTR, GDTR, LDTR descriptor
-/// @todo How to make this structure byte-packed in a compiler independent way?
///
#pragma pack (1)
typedef struct {
diff --git a/MdePkg/Include/Library/HobLib.h b/MdePkg/Include/Library/HobLib.h
index 7f999e1ab8..3746855bdb 100644
--- a/MdePkg/Include/Library/HobLib.h
+++ b/MdePkg/Include/Library/HobLib.h
@@ -474,7 +474,7 @@ BuildMemoryAllocationHob (
This macro returns a pointer to the data buffer in a HOB specified by Hob.
Hob is assumed to be a HOB of type EFI_HOB_TYPE_GUID_EXTENSION.
- @param Hob A pointer to a HOB.
+ @param GuidHob A pointer to a HOB.
@return A pointer to the data buffer in a HOB
@@ -487,7 +487,7 @@ BuildMemoryAllocationHob (
This macro returns the size, in bytes, of the data buffer in a HOB specified by Hob.
Hob is assumed to be a HOB of type EFI_HOB_TYPE_GUID_EXTENSION.
- @param Hob A pointer to a HOB.
+ @param GuidHob A pointer to a HOB.
@return The size of the data buffer
**/
diff --git a/MdePkg/Library/DxeServicesLib/DxeServicesLib.c b/MdePkg/Library/DxeServicesLib/DxeServicesLib.c
index cb3450904c..107351550b 100644
--- a/MdePkg/Library/DxeServicesLib/DxeServicesLib.c
+++ b/MdePkg/Library/DxeServicesLib/DxeServicesLib.c
@@ -91,7 +91,6 @@ InternalImageHandleToFvHandle (
@param Size On output, the size of Buffer.
@retval EFI_SUCCESS The image is found and data and size is returned.
- @retval EFI_UNSUPPORTED FvHandle does not support EFI_FIRMWARE_VOLUME2_PROTOCOL.
@retval EFI_NOT_FOUND The image specified by NameGuid and SectionType can't be found.
@retval EFI_OUT_OF_RESOURCES There were not enough resources to allocate the output data buffer or complete the operations.
@retval EFI_DEVICE_ERROR A hardware error occurs during reading from the Firmware Volume.
@@ -124,7 +123,7 @@ InternalGetSectionFromFv (
(VOID **) &Fv
);
if (EFI_ERROR (Status)) {
- return Status;
+ return EFI_NOT_FOUND;
}
//