]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Enhance the comments.
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 11 Sep 2012 10:26:44 +0000 (10:26 +0000)
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 11 Sep 2012 10:26:44 +0000 (10:26 +0000)
Signed-off-by: Dong Eric <eric.dong@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13715 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/BasePeCoffLib/BasePeCoff.c

index a51320b0375c67cf5445fce9bd0bc0694b896f83..e1b4cb6567a96ef437fc571aa5eecbe3f0ed95de 100644 (file)
@@ -1718,6 +1718,8 @@ PeCoffLoaderRelocateImageForRuntime (
   PE/COFF image starting at byte offset FileOffset into the buffer specified by Buffer.  \r
   The size of the buffer actually read is returned in ReadSize.\r
   \r
+  The caller must make sure the FileOffset and ReadSize within the file scope.\r
+\r
   If FileHandle is NULL, then ASSERT().\r
   If ReadSize is NULL, then ASSERT().\r
   If Buffer is NULL, then ASSERT().\r