audk/MdePkg/Library
Eric Dong 6afd9f45bb Refine code to make it more safely.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15596 6f19259b-4bc3-4df7-8a09-765794883524
2014-06-26 03:17:59 +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 Correct comment typo in AsmReadCr0() function. 2014-06-24 02:22:47 +00:00
BaseMemoryLib Fix InternalMemScanMem* functions so that they return the pointer to the matched object, as specified, instead of the following object. 2011-01-07 23:00:16 +00:00
BaseMemoryLibMmx Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BaseMemoryLibOptDxe Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BaseMemoryLibOptPei Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BaseMemoryLibRepStr Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BaseMemoryLibSse2 Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BasePalLibNull Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
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 Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BasePeCoffGetEntryPointLib Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
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 Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BasePostCodeLibPort80 Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
BasePrintLib Add the missing "," for the patch to fix status code print string. 2013-06-04 08:51:30 +00:00
BaseReportStatusCodeLibNull Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
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 Fix issue when BaseDebugLibSerialPort is combined with BaseSerialPortLibNull. It will ASSERT() due to the recent addition of a CONSTRUCTOR to BaseDebugLibSerialPort that calls SerialPortInitialize(). 2010-12-30 01:07:39 +00:00
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 Refine code to make it more safely. 2014-06-26 03:17:59 +00:00
DxeCoreEntryPoint Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-30 00:13:25 +00:00
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 Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-30 00:13:25 +00:00
PeiDxePostCodeLibReportStatusCode Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-30 00:13:25 +00:00
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 Sync bug fix in Edk r10821 to PeiMemoryLib and UefiMemoryLib instances. 2010-08-26 00:50:37 +00:00
PeiPalLib Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
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 Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
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 Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-30 00:13:25 +00:00
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 Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-30 00:13:25 +00:00
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 A minor change for the format of usage align with spec. 2011-02-21 08:07:22 +00:00
UefiApplicationEntryPoint Update UefiDriverEntryPoint library by adding BaseLib library class required by AutoGen code. 2010-10-18 09:59:55 +00:00
UefiBootServicesTableLib Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
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 Remove the assertion which may cause IsDevicePathValid() hang in DEBUG build. 2014-05-22 07:34:35 +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 Sync bug fix in Edk r10821 to PeiMemoryLib and UefiMemoryLib instances. 2010-08-26 00:50:37 +00:00
UefiPalLib Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
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 Update MODULE_TYPE to be DXE_RUNTIME_DRIVER 2010-09-14 17:02:46 +00:00
UefiRuntimeServicesTableLib Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-25 21:56:02 +00:00
UefiSalLib Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING) 2010-06-30 00:13:25 +00:00
UefiScsiLib MdePkg/UefiScsiLib: Wrong function parameter comments in UefiScsiLib. It should be the number of transferred blocks rather than block size. 2014-04-30 03:38:05 +00:00
UefiUsbLib Minor refinement on source code. 2010-08-14 07:25:20 +00:00