audk/MdePkg/Include/Library
ajfish 2ce311322c 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
2006-07-26 15:23:35 +00:00
..
BaseLib.h 1. added functions header for BaseUefiDecompressLi 2006-07-19 17:37:07 +00:00
BaseMemoryLib.h DebugLib: 2006-07-05 04:17:04 +00:00
CacheMaintenanceLib.h • BaseMemoryLib: 2006-06-26 10:18:28 +00:00
CpuLib.h • BaseMemoryLib: 2006-06-26 10:18:28 +00:00
DebugLib.h 1. PostCodeLib. 2006-06-19 07:40:23 +00:00
DevicePathLib.h DebugLib: 2006-07-05 04:17:04 +00:00
DxeCoreEntryPoint.h Initial import. 2006-04-21 22:54:32 +00:00
DxeServicesTableLib.h Modified comment for gDs 2006-07-20 07:27:57 +00:00
DxeSmmDriverEntryPoint.h Initial import. 2006-04-21 22:54:32 +00:00
HiiLib.h • BaseMemoryLib: 2006-06-26 10:18:28 +00:00
HobLib.h Remove BugBug in comments and adjust function header according to code style doc. 2006-07-20 09:08:37 +00:00
IoLib.h • BaseMemoryLib: 2006-06-26 10:18:28 +00:00
MemoryAllocationLib.h Adjust coding style for MemoryAllocationLib. 2006-07-23 12:55:05 +00:00
PcdLib.h Add [in,out] in the @param for PCD header and c file. 2006-07-19 05:18:47 +00:00
PciCf8Lib.h Removed cross references from PciCf8Lib and PciExpressLib class to PciLib class. 2006-07-26 15:23:35 +00:00
PciExpressLib.h Removed cross references from PciCf8Lib and PciExpressLib class to PciLib class. 2006-07-26 15:23:35 +00:00
PciLib.h DebugLib: 2006-07-05 04:17:04 +00:00
PciSegmentLib.h 1. Fixed bug for WriteUnaligned24() in Unaligned.c of BaseLib 2006-06-20 05:30:27 +00:00
PeCoffGetEntryPointLib.h Removed cross references from PciCf8Lib and PciExpressLib class to PciLib class. 2006-07-26 15:23:35 +00:00
PeCoffLib.h Removed cross references from PciCf8Lib and PciExpressLib class to PciLib class. 2006-07-26 15:23:35 +00:00
PeiCoreEntryPoint.h Initial import. 2006-04-21 22:54:32 +00:00
PeiServicesLib.h DebugLib: 2006-07-05 04:17:04 +00:00
PeiServicesTablePointerLib.h added function header 2006-07-13 01:17:21 +00:00
PeimEntryPoint.h Initial import. 2006-04-21 22:54:32 +00:00
PerformanceLib.h git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@905 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-12 10:24:36 +00:00
PostCodeLib.h 1. PostCodeLib. 2006-06-19 07:40:23 +00:00
PrintLib.h BasePrintLib: Fix Buffer Overflow issue. 2006-07-13 01:53:27 +00:00
ReportStatusCodeLib.h BaseMemoryLib (BaseMemoryLibRepStr): 2006-06-13 06:31:11 +00:00
ResourcePublicationLib.h • BaseMemoryLib: 2006-06-26 10:18:28 +00:00
SmbusLib.h • BaseMemoryLib: 2006-06-26 10:18:28 +00:00
TimerLib.h 1. Updated declaration of timer functions according to latest MWG. 2006-07-25 07:33:02 +00:00
UefiBootServicesTableLib.h added some comments in BaseLib 2006-07-20 04:00:59 +00:00
UefiDecompressLib.h 1. added functions header for BaseUefiDecompressLi 2006-07-19 17:37:07 +00:00
UefiDriverEntryPoint.h Initial import. 2006-04-21 22:54:32 +00:00
UefiDriverModelLib.h • BaseMemoryLib: 2006-06-26 10:18:28 +00:00
UefiLib.h Fixed some naming issues and update to the EDK II name. I also fixed an issue with the UEFI library forcing UEFI.h to include Tinao protocols. I make the UEFI library a DXE library so it would get the correct includes. 2006-07-19 12:24:11 +00:00
UefiRuntimeLib.h Change DxeRuntimeDriverLib name to UefiRuntimeLib. 2006-07-21 03:41:56 +00:00
UefiRuntimeServicesTableLib.h added some comments in BaseLib 2006-07-20 04:00:59 +00:00