]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/PeCoffLib.h
MdePkg/BaseLib: add PatchInstructionX86()
[mirror_edk2.git] / MdePkg / Include / Library / PeCoffLib.h
index 7df9969979412495fb618d7111520c1f0d08d288..5a3f98810af64cf5476ec9f8e97021bb725ca119 100644 (file)
@@ -5,7 +5,7 @@
   IA-32, x86, IPF, and EBC processor types. The library functions are memory-based \r
   and can be ported easily to any environment.\r
   \r
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials are licensed and made available under \r
 the terms and conditions of the BSD License that accompanies this distribution.  \r
 The full text of the license may be found at\r
@@ -34,6 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #define IMAGE_ERROR_SECTION_NOT_LOADED           8\r
 #define IMAGE_ERROR_FAILED_RELOCATION            9\r
 #define IMAGE_ERROR_FAILED_ICACHE_FLUSH          10\r
+#define IMAGE_ERROR_UNSUPPORTED                  11\r
 \r
 /**\r
   Reads contents of a PE/COFF image.\r
@@ -60,7 +61,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   @param  Buffer          Output buffer that contains the data read from the PE/COFF image.\r
   \r
   @retval RETURN_SUCCESS            The specified portion of the PE/COFF image was \r
-                                    read and the size \r
+                                    read and the size return in ReadSize.\r
   @retval RETURN_DEVICE_ERROR       The specified portion of the PE/COFF image \r
                                     could not be read due to a device error.\r
 \r
@@ -336,7 +337,7 @@ PeCoffLoaderImageReadFromMemory (
 \r
 \r
 /**\r
-  Reapply fixups on a fixed up PE32/PE32+ image to allow virutal calling at EFI\r
+  Reapply fixups on a fixed up PE32/PE32+ image to allow virtual calling at EFI\r
   runtime. \r
   \r
   This function reapplies relocation fixups to the PE/COFF image specified by ImageBase \r