audk/MdePkg/Library
Eric Dong a8d8d43051 Support load 64 bit image from 32 bit core.
Add more enhancement to check invalid PE format.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Jiewen, Yao <jiewen.yao@intel.com>
Reviewed-by: Liming, Gao <liming.gao@intel.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15387 6f19259b-4bc3-4df7-8a09-765794883524
2014-03-25 05:04:21 +00:00
..
BaseCacheMaintenanceLib MdePkg: Added ARM Aarch64 architecture support 2013-07-29 09:52:18 +00:00
BaseCpuLib MdePkg/BaseCpuLib: Added ARM Aarch64 architecture support 2013-07-29 09:56:36 +00:00
BaseDebugLibNull Update DebugLib to provide support for "err" command in the EFI Shell to adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask. 2011-03-10 22:12:34 +00:00
BaseDebugLibSerialPort Update DebugLib to provide support for "err" command in the EFI Shell to adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask. 2011-03-10 22:12:34 +00:00
BaseDebugPrintErrorLevelLib Refine code to follow coding style. 2011-03-15 00:53:52 +00:00
BaseExtractGuidedSectionLib Build the registered guid HOB and SystemTable to record the GUID itself in PeiExtractGuidedSectionLib and DxeExtractGuidedSectionLib, and also state the restriction in BaseExtractGuidedSectionLib. 2012-11-08 01:12:56 +00:00
BaseIoLibIntrinsic MdePkg: Added ARM Aarch64 architecture support 2013-07-29 09:52:18 +00:00
BaseLib Fix CRLF format 2014-01-22 08:39:09 +00:00
BaseMemoryLib
BaseMemoryLibMmx
BaseMemoryLibOptDxe
BaseMemoryLibOptPei
BaseMemoryLibRepStr
BaseMemoryLibSse2
BasePalLibNull
BasePcdLibNull MdePkg PcdLib: Except for SizeOfBuffer is greater than the maximum size supported, align the behavior of LibPcdSetPtr with LibPcdSetN to handle error status returned. 2014-01-07 09:28:33 +00:00
BasePciCf8Lib Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
BasePciExpressLib Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
BasePciLibCf8 Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
BasePciLibPciExpress Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
BasePeCoffExtraActionLibNull
BasePeCoffGetEntryPointLib
BasePeCoffLib Support load 64 bit image from 32 bit core. 2014-03-25 05:04:21 +00:00
BasePerformanceLibNull Add new extension PerformanceLib APIs to store ID info. 2012-04-24 08:42:24 +00:00
BasePostCodeLibDebug
BasePostCodeLibPort80
BasePrintLib Add the missing "," for the patch to fix status code print string. 2013-06-04 08:51:30 +00:00
BaseReportStatusCodeLibNull
BaseS3BootScriptLibNull Add comment for S3BootScriptSaveMemPoll API, since it does not match PI specification. 2014-03-01 12:25:31 +00:00
BaseS3IoLib Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
BaseS3PciLib Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
BaseS3SmbusLib MdePkg: Add S3 library interfaces and base implementations 2011-08-29 22:16:28 +00:00
BaseS3StallLib MdePkg: Add S3 library interfaces and base implementations 2011-08-29 22:16:28 +00:00
BaseSerialPortLibNull
BaseSmbusLibNull Add BaseSmbusLibNull instance for SmbusLib. Add check in BootScriptExecutorDxe driver for the return status of S3BootScriptExecute(). 2013-11-08 02:59:05 +00:00
BaseSynchronizationLib MdePkg/BaseSynchronizationLib: Added ARM Aarch64 architecture support 2013-07-29 09:57:43 +00:00
BaseTimerLibNullTemplate Add new API GetTimeInNanoSecond() to TimerLib to convert elapsed ticks to time in unit of nanoseconds. 2011-08-25 05:59:17 +00:00
BaseUefiDecompressLib
DxeCoreEntryPoint
DxeCoreHobLib Update HobLib and Hob Service to avoid data over flow. 2012-07-17 01:50:52 +00:00
DxeExtendedSalLib Add Missing invocations to VA_END() for VA_START(). 2012-02-01 06:06:08 +00:00
DxeExtractGuidedSectionLib Build the registered guid HOB and SystemTable to record the GUID itself in PeiExtractGuidedSectionLib and DxeExtractGuidedSectionLib, and also state the restriction in BaseExtractGuidedSectionLib. 2012-11-08 01:12:56 +00:00
DxeHobLib Update HobLib and Hob Service to avoid data over flow. 2012-07-17 01:50:52 +00:00
DxeIoLibCpuIo2 Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
DxeIoLibEsal Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
DxePalLibEsal For libraries that have multiple module types support, just define a [Depex] section for specified module types that are permitted to have a [Depex] section. 2011-07-27 08:54:57 +00:00
DxePcdLib MdePkg PcdLib: Except for SizeOfBuffer is greater than the maximum size supported, align the behavior of LibPcdSetPtr with LibPcdSetN to handle error status returned. 2014-01-07 09:28:33 +00:00
DxePciLibEsal Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
DxePciSegmentLibEsal Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
DxeRuntimeExtendedSalLib Add Missing invocations to VA_END() for VA_START(). 2012-02-01 06:06:08 +00:00
DxeRuntimePciExpressLib Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
DxeSalLibEsal Initialize data before using it 2011-06-21 02:24:46 +00:00
DxeServicesLib Correct function comments on DxeServicesLib GetFileBufferByFilePath API. 2012-04-17 09:42:44 +00:00
DxeServicesTableLib Add the missing supported module type in MdePkg DxeServicesTableLib instance. 2011-11-23 02:00:05 +00:00
DxeSmbusLib For libraries that have multiple module types support, just define a [Depex] section for specified module types that are permitted to have a [Depex] section. 2011-07-27 08:54:57 +00:00
DxeTimerLibEsal MdePkg: Add missing implementation of GetTimeInNanoSecond() to TimerLib library instance DxeTimerLibEsal. 2011-09-08 01:34:24 +00:00
PeiCoreEntryPoint
PeiDxePostCodeLibReportStatusCode
PeiExtractGuidedSectionLib Build the registered guid HOB and SystemTable to record the GUID itself in PeiExtractGuidedSectionLib and DxeExtractGuidedSectionLib, and also state the restriction in BaseExtractGuidedSectionLib. 2012-11-08 01:12:56 +00:00
PeiHobLib Update HobLib and Hob Service to avoid data over flow. 2012-07-17 01:50:52 +00:00
PeiIoLibCpuIo Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
PeiMemoryAllocationLib Update MemoryAllocationLib.AllocateAlignedPages API comments for memory overflow ASSERT case. 2013-12-31 07:19:09 +00:00
PeiMemoryLib
PeiPalLib
PeiPcdLib MdePkg PcdLib: Except for SizeOfBuffer is greater than the maximum size supported, align the behavior of LibPcdSetPtr with LibPcdSetN to handle error status returned. 2014-01-07 09:28:33 +00:00
PeiPciLibPciCfg2 Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
PeiPciSegmentLibPciCfg2 Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
PeiResourcePublicationLib
PeiServicesLib MdePkg PeiServicesLib: Refine the code to avoid error report. 2013-10-14 09:39:25 +00:00
PeiServicesTablePointerLib Add VOID MigratePeiServicesTablePointer() to fix'Deprecated declaration'. 2014-01-17 06:06:30 +00:00
PeiServicesTablePointerLibIdt Add VOID MigratePeiServicesTablePointer() to fix'Deprecated declaration'. 2014-01-17 06:06:30 +00:00
PeiServicesTablePointerLibKr7 Add VOID MigratePeiServicesTablePointer() to fix'Deprecated declaration'. 2014-01-17 06:06:30 +00:00
PeiSmbusLibSmbus2Ppi For libraries that have multiple module types support, just define a [Depex] section for specified module types that are permitted to have a [Depex] section. 2011-07-27 08:54:57 +00:00
PeimEntryPoint
SecPeiDxeTimerLibCpu Removed the assumption on APIC timer initial Count is all 1s and updated it to handle the long delay that timer initial count. 2013-08-27 07:29:14 +00:00
SmmIoLibSmmCpuIo2 Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
SmmLibNull
SmmMemoryAllocationLib Update MemoryAllocationLib.AllocateAlignedPages API comments for memory overflow ASSERT case. 2013-12-31 07:19:09 +00:00
SmmPciLibPciRootBridgeIo Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
SmmPeriodicSmiLib Simplify the SmmPeriodicSmiLib to call AllocatePool() for every entry in the SMI periodic handler list. 2011-08-19 01:37:47 +00:00
SmmServicesTableLib
UefiApplicationEntryPoint
UefiBootServicesTableLib
UefiDebugLibConOut Should pass in bytes of string buffer to UnicodeSPrint() rather than Unicode string length. 2012-08-29 09:23:34 +00:00
UefiDebugLibStdErr Should pass in bytes of string buffer to UnicodeSPrint() rather than Unicode string length. 2012-08-29 09:23:34 +00:00
UefiDevicePathLib Optimize the code to not call StrToBuf when DataLength is 0. 2014-01-21 07:34:41 +00:00
UefiDevicePathLibDevicePathProtocol Add 4 APIs to DevicePathLib: ConvertDeviceNodeToText, ConvertDevicePathToText, ConvertTextToDeviceNode and ConvertTextToDevicePath. 2013-07-26 03:00:21 +00:00
UefiDriverEntryPoint Update the description of Loaded Image Protocol Unload function to follow the UEFI2.3.1 Spec. 2011-04-19 06:33:25 +00:00
UefiLib This patch uses dummy routine as NotifyFunction to make sure those 2 APIs provided from library can create event as expected when the caller does not feed in a NotifyFunction. Also, typo is corrected. 2013-09-05 06:12:04 +00:00
UefiMemoryAllocationLib Update MemoryAllocationLib.AllocateAlignedPages API comments for memory overflow ASSERT case. 2013-12-31 07:19:09 +00:00
UefiMemoryLib
UefiPalLib
UefiPciLibPciRootBridgeIo Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
UefiPciSegmentLibPciRootBridgeIo Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
UefiRuntimeLib
UefiRuntimeServicesTableLib
UefiSalLib
UefiScsiLib Add BlockIO revision 3 definition. Add new API ScsiInquiryCommandEx to UefiScsiLib. 2011-05-23 07:45:40 +00:00
UefiUsbLib