]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Library/UefiLib/UefiLib.c
1) Added BIT0, BIT1, …, BIT63 to the Base Defines
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 12 Feb 2007 02:53:23 +0000 (02:53 +0000)
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 12 Feb 2007 02:53:23 +0000 (02:53 +0000)
commitd958721a06dce3aa0fc941c115db86e3f91254f7
tree8d50534635c77090ce448928efad69c012729bfb
parent2f714ebf9ae8c680be7b6f19a2529b4a5e684577
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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2363 6f19259b-4bc3-4df7-8a09-765794883524
26 files changed:
MdePkg/Include/Common/BaseTypes.h
MdePkg/Include/Library/BaseLib.h
MdePkg/Include/Library/HobLib.h
MdePkg/Include/Library/IoLib.h
MdePkg/Include/Library/PcdLib.h
MdePkg/Include/Library/PrintLib.h
MdePkg/Include/Library/UefiLib.h
MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.msa
MdePkg/Library/BaseIoLibIntrinsic/IoLibIpf.c
MdePkg/Library/BaseIoLibIntrinsic/IoLibMmioBuffer.c [new file with mode: 0644]
MdePkg/Library/BaseLib/BaseLib.msa
MdePkg/Library/BaseLib/BaseLibInternals.h
MdePkg/Library/BaseLib/CheckSum.c [new file with mode: 0644]
MdePkg/Library/BaseLib/String.c
MdePkg/Library/BasePrintLib/PrintLib.c
MdePkg/Library/BasePrintLib/PrintLibInternal.c
MdePkg/Library/BasePrintLib/PrintLibInternal.h
MdePkg/Library/DxeCoreHobLib/HobLib.c
MdePkg/Library/DxeHobLib/HobLib.c
MdePkg/Library/DxeIoLibCpuIo/DxeIoLibCpuIo.msa
MdePkg/Library/DxeIoLibCpuIo/IoLibMmioBuffer.c [new file with mode: 0644]
MdePkg/Library/PeiHobLib/HobLib.c
MdePkg/Library/PeiIoLibCpuIo/IoLibMmioBuffer.c [new file with mode: 0644]
MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.msa
MdePkg/Library/UefiLib/UefiLib.c
MdePkg/MdePkg.fpd