1) Added BIT0, BIT1, …, BIT63 to the Base Defines
authorqwang12 <qwang12@de2fecce-e211-0410-80a6-f3fac2684e05>
Mon, 12 Feb 2007 02:53:23 +0000 (02:53 +0000)
committerqwang12 <qwang12@de2fecce-e211-0410-80a6-f3fac2684e05>
Mon, 12 Feb 2007 02:53:23 +0000 (02:53 +0000)
commitcb96ff94f2cbad8720df7d9cedc45011ecbf52b8
treea75d8d25fbf2bdb52d2fb9575f11fbabc1325eb7
parenta87195c2d3246cbb68e80375b91223ecb273202d
1) Added BIT0, BIT1, …, BIT63 to the Base Defines
2) Added MIN() and MAX() macros to the Base Macros
3) Added StrStr(), StrDecimalToUnitn(), StrDecimalToUint64(), StrHexToUintn(), StrHexToUintn64(), UnicodeToAscii(), AsciiStrStr(), AsciiStrDecimalToUnitn(), AsciiStrDecimalToUint64(), AsciiStrHexToUintn(), AsciiStrHexToUintn64(), and AsciiToUnicode() to the Base Library String Functions
4) Added the Base Library Checksum Functions which include CalculateSum8(), CaclculateCheckSum8(), CalculateSum16(), CalculateChecksum16(), CalculateSum32(), CalculateCheckSum32(), CalculateSum64(), CalculateChecksum64().

5) Added MMIO Buffer functions to the I/O Library including MmioReadBuffer8(), MmioReadBuffer16(), MmioReadBuffer32(), MmioReadBuffer64(), MmioWriteBuffer8(), MmioWriteBuffer16(), MmioWriteBuffer32(), MmioWriteBuffer64().

6) Changed the parameter name from SizeOfValue to SizeOfBuffer in PcdSetPtr(), PcdSetPtrEx(), PatchPcdSetPtr(), LibPcdSetPtr(), LibPcdSetPtrEx(), LibPatchPcdSetPtr()

7) Added RADIX_HEX flag to the Print Library to support the conversion of values to hexadecimal strings in UnicodeValueToString() and AsciiValueToString()

8) Added EfiGetCurrentTpl() UEFI Library.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2363 de2fecce-e211-0410-80a6-f3fac2684e05
26 files changed:
edk2/MdePkg/Include/Common/BaseTypes.h
edk2/MdePkg/Include/Library/BaseLib.h
edk2/MdePkg/Include/Library/HobLib.h
edk2/MdePkg/Include/Library/IoLib.h
edk2/MdePkg/Include/Library/PcdLib.h
edk2/MdePkg/Include/Library/PrintLib.h
edk2/MdePkg/Include/Library/UefiLib.h
edk2/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.msa
edk2/MdePkg/Library/BaseIoLibIntrinsic/IoLibIpf.c
edk2/MdePkg/Library/BaseIoLibIntrinsic/IoLibMmioBuffer.c [new file with mode: 0644]
edk2/MdePkg/Library/BaseLib/BaseLib.msa
edk2/MdePkg/Library/BaseLib/BaseLibInternals.h
edk2/MdePkg/Library/BaseLib/CheckSum.c [new file with mode: 0644]
edk2/MdePkg/Library/BaseLib/String.c
edk2/MdePkg/Library/BasePrintLib/PrintLib.c
edk2/MdePkg/Library/BasePrintLib/PrintLibInternal.c
edk2/MdePkg/Library/BasePrintLib/PrintLibInternal.h
edk2/MdePkg/Library/DxeCoreHobLib/HobLib.c
edk2/MdePkg/Library/DxeHobLib/HobLib.c
edk2/MdePkg/Library/DxeIoLibCpuIo/DxeIoLibCpuIo.msa
edk2/MdePkg/Library/DxeIoLibCpuIo/IoLibMmioBuffer.c [new file with mode: 0644]
edk2/MdePkg/Library/PeiHobLib/HobLib.c
edk2/MdePkg/Library/PeiIoLibCpuIo/IoLibMmioBuffer.c [new file with mode: 0644]
edk2/MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.msa
edk2/MdePkg/Library/UefiLib/UefiLib.c
edk2/MdePkg/MdePkg.fpd