History log of /device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0054ce562f6cb73513988075670956c737b1985a 11-Sep-2012 ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> Enhance the error code info.

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@13716 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
3acb1985676d6d8d379126389b9cbcfd4544667e 21-Aug-2012 ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> Enhance the check when ImageRead function return.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13657 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
9df063a06aef048c042498e2f542fb693e93493a 23-Apr-2010 hhtian <hhtian@6f19259b-4bc3-4df7-8a09-765794883524> Update the copyright notice format

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10403 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
af2dc6a70b9380d702bd0720cdb029d630c505e3 12-Mar-2010 myronporter <myronporter@6f19259b-4bc3-4df7-8a09-765794883524> Grammatical and disclaimer changes (does not follow internal C coding stds.)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10235 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
8992ce066e2b0f8e74a2df30639c9cc6b04dc4df 25-Aug-2009 mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> Fix file headers and a few comments


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9188 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
ebd04fc2e526ddc76f17e05cb50798fbf448e52e 19-Aug-2009 qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> Update to make end-of-line consistent for all source files in MdePkg. There are no other updates besides that change.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9141 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
ef05ac5fd5b42e1171c3fbb45689539cc8a2d20c 18-Aug-2009 mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> Add a private context field to PE_COFF_LOADER_IMAGE_CONTEXT.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9103 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
1a2f870c9babe077c2d3abea23b6e8e044778341 04-Jun-2009 pkandel <pkandel@6f19259b-4bc3-4df7-8a09-765794883524> Second set of changes based on a review of the code comments in the Include directory for typos, grammar issues, and language clarity.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8467 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
8d579453d36a1711a4ace1e6937c6c7d40fb6176 11-May-2009 eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> add the extra comments into BasePeCoffRelocateImage, BasePeCoffLoadImage and BasePeCoffRelocateImageForRuntime to help user to know the usage model of these APIs.
The comments mainly used to clarify it's caller's responsibility to to perform cache maintenance operations

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8283 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
b4500f6efe57fabf863d3705daceb4e3b31838af 22-Apr-2009 qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> Add HiiResourceData field to PeCoffLib library class. PeCoffLoaderLoadImage () will set this field to HII resource data if it detects the existence in PE image. otherwise, it set that field to 0.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8141 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
9833a9bb6c99afc0c16934f88370dc31b6f77a84 07-Jan-2009 lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> Add check for Zero Relocation section.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7197 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
373ade0eb64a522e45b1b94c15b95fb5ab417c00 29-Dec-2008 qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> Update copyright for files modified in this year

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7148 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
a5c1c592c49d85a675672765cd0901c0b1adaa75 07-Dec-2008 mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> Update PE_COFF_LOADER_READ_FILE declaration to following coding standard. There should be no spaces between ')' and '(' for function typedefs.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6900 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
0465a73e0252c383e50aef19382c815c1508306d 04-Dec-2008 gikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524> Follow the Mde_Lib_Spec to fix the function PeCoffLoaderUnloadImage() IN/OUT issue about definition and implementation.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6825 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
badcbfb23811c02780d4ea7f20cd6ccf7b86f346 24-Nov-2008 gikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524> synchronize the files with the MDE_Library_Spec

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6701 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
50a64e5b0b92772b3aa02c23a64745b51094916b 14-Nov-2008 jji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524> Synchronization of MDE Library Spec., Mde.dec, and corresponding head files in MdePkg\Include\Library.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6544 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
3ecdcd1146b8268eea8a550e883121c566a9aef8 10-Oct-2008 lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> Update HobLib and PeCoffLib according to MDE Lib Spec 0.61c

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6100 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
f6d7003d5f0bfe8f7fd9396f4c0f62619f0f879c 16-Sep-2008 eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> move BUGBUG comments and add some comments to comply with Spec

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5897 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
ed66e1bc0d2be0a185fc47adab4930c3b7e2767f 04-Sep-2008 vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> clean up the un-suitable ';' location when declaring the functions.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5820 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
3d7b0992fccc89cc049de91d02b4869ec81cf9fb 28-Sep-2007 lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> 1. Replace PeCoffLoader library by PeCoff lib for PeiCore, DxeIpl and DxeMain.
2. Add three PeCoff library instances for NT32 PeImage load.
3. Update PeCoffGetEntryPointLib to support TeImage.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3965 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
d8dcb6669b7fa18f988fdf1da8a3d2c023b97905 10-Aug-2007 klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> 1) Move the structure definitions related GUID EFI_STATUS_CODE_SPECIFIC_DATA_GUID and EFI_STATUS_CODE_DATA_TYPE_STRING_GUID from IntelFrameworkPkg\Framework/StatusCodeDataTypeId.h to IntelFrameworkPkg\Guid/StatusCodeDataTypeId.h
2) Remove IntelFrameworkPkg/Framework/StatusCodeDataTypeId.h

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3612 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
842f5579c7e2a313f56c576e4c5150f7f4793079 28-Jun-2007 AJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524> Updated headers to follow coding standard

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2815 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
146332ae26390c7129513f31e7ccb6a499a89b69 22-Jun-2007 yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> Fixed typo in PiPeiCis.h.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2702 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
fb3df220f89e6eecaf1862b9241d8a1214eeda1c 19-Jun-2007 yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> Import Library Class from original MDE package. Also I added the EFI_PEI_CORE_ENTRY_POINT definition in PiPeiCis.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2677 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
586cd1f1f4129ab7ec24543d4968801e17cc870b 01-Jun-2007 lhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524> Moved the MdePkg to OldMdePkg so that new code in MdePkg does not break existing builds. Also updated the SPD and FPD files UiNames

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2616 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
ddc9ec37af077546ec68fa42115a362b40ad8e8b 14-Mar-2007 qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> Remove the BugBug in package header file for DXE_CORE and DXE_DRIVER which force every driver to include MdePkg/Include/Library/PeCoffLib.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2457 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
2ce311322c72857f73138c45358e722607a1e80c 26-Jul-2006 ajfish <ajfish@6f19259b-4bc3-4df7-8a09-765794883524> Removed cross references from PciCf8Lib and PciExpressLib class to PciLib class.

Added PeCoffLoaderGetMachineType to the PeCoffGetEntryPointLibrary Class. Document to be updated.

Added the PeCoffLoaderImageReadFromMemory() and PeCoffLoaderRelocateImageForRuntime () to the PcCoffLib.

Updated EfiImage.h and removed EFI_IMAGE_OPTIONAL_HEADER and EFI_IMAGE_NT_HEADERS as they were replaced with checking the MachineType.

PeCoffLib – Added checks for MachineType so the PeCoff lib can load any PE32 or PE32+ image. The relocations are still limited to IA32, X64, IPF, and EBC. I also added a re-relocator function to remove PeLoader Code from Runtime Lib. Even though there is only one instance of the re-relocator I wanted to get all the PeCoff loader code together.

Replaced DEBUG_CODE() macro with DEBUG_CODE_START() and DEBUG_CODE_END() so you can debug through the DEBUG_CODE() macros. Also removed PE/COFF code and replaced with library usage.

I also updated the IO Instrinsic lib to use _ReadWriteBarrior() to help with sync problems

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1103 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
24e25d11c0460dfb39fade685375c0e58cbcb40e 26-Jun-2006 qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> • BaseMemoryLib:
Modify some Aassert()s conditions to sync with MWG 0.56d
Modify some defects in function header.
• PostCodeLib:
Implement PeiDxePostCodeLibReportStatusCode.
• Misc
Rename BaseDebugLibReportStatusCode to PeiDxeDebugLibReportStatusCode
Remove tabs in all .c and .h files in MdePkg.
Rename PeiServicesReinstallPpi() to PeiServicesReInstallPpi()
Adjust some minor coding style in PeCoffLoaderGetEntryPointerLib()


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@626 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
4ba61e5e2a1b3cec7faaad36c252738f6f57f8a6 22-Jun-2006 qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> 1. UINTN & INTN issue for EBC architecture:
The MAX_BIT of EBC will no longer be fixed to bit 63. It is defined as (1ULL << (sizeof (INTN) * 8 - 1)).
Make EdkModulePkg & MdePkg EBC compiler clean: treat all EFI_STATUS error code as variable.
2. PrintLib
Complete all missing ASSERT()s.
Fix “\n” & “%\n” issue thanks to the clarification of MWG 0.56d.
Adjust StatusString array to support EBC build.
3. BaseMemoryLib
Adjust ASSERT () & function header of ComparaMem, SetMemXX, ScanMemXX to synchronize with MWG 0.56d.
4.SmbusLib
Change Pec bit to bit 22 SmBusAddress to synchronize MWG 0.56d.
Add ASSERT()s to check if length is illegal for SmBusBlockWrite() & SmBusProcessBlock() since it is 6 bit now.
5. PerformanceLib
Rename “EdkDxePerformanceLib” & “EdkPeiPerformanceLib” to “DxePerformanceLib” & “PeiPerformanceLib” respectively.
Synchronize the function header of GetPerformanceMeasurement() with MWG 0.56d.
6. BasePeCoffLoaderLib.
Make PeCoffLoaderLoadImage () Assert() if ImageContext is NULL>
Make PeCoffLoaderLoadImage () return RETURN_INVALID_PARAMETER if the ImageAddress in ImageContext is 0.
Adjust some coding style.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@593 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h
878ddf1fc3540a715f63594ed22b6929e881afb4 22-Apr-2006 bbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524> Initial import.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdePkg/Include/Library/PeCoffLib.h