]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/PeCoffLib.h
MdePkg: Add new API DebugPrintLevelEnabled() in DebugLib
[mirror_edk2.git] / MdePkg / Include / Library / PeCoffLib.h
index 44f30d686f623624af23869eb9944aa473183977..9ed6d61be01c4b502fb5612a35aad2ddd0fe4b5e 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