summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib
AgeCommit message (Collapse)Author
2007-07-06add in proper include for this file.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3128 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02add internal command header referencevanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2959 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02Applied tool chain family constraints for file Synchronization.c, ↵jwang36
SynchronizationMsc.c and SynchronizationGcc.c git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2957 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-021. Port X64, IPF and EBC arch for BaseLibvanjeff
2. Port X64 arch codes for BaseMemoryLibRepStr and BaseMemoryLibSee2 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2955 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29Removed CommonHeader.h generated file from the MdePkg. AJFISH
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2922 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29removed [includes] section from MdePkg and MdeModulePkg .inf files. The ↵AJFISH
includes sections are not needed and are redundant with [packages] section git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2917 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-281. Added depex file generationjwang36
2. Added file type filter per the toolcode/toolchain/toolchain family/etc., and fixed the BaseLib.inf 3. Added unicode file parse support but commented out temporarily because of bugs 4. Fixed the unicode file format in Nt32Pkg/MiscSubClassPlatformDxe 5. Removed duplicated [Ppis.common] in MdePkg.dec 6. Added declaration of gEfiPeiMemoryDiscoveredPpiGuid in Nt32Pkg.dec git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2858 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27Fixed IPF and X64 like IA-32 for compiler intrinsicsAJFISH
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2817 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27Updated to support compiler intrinsics properly. I had to comment out some ↵AJFISH
of the features as they are not currently supported by the build. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2816 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27Updated headers to follow coding standardAJFISH
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2815 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22Import some basic libraries instances for Mde Packages. vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2704 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-01Moved the MdePkg to OldMdePkg so that new code in MdePkg does not break ↵lhauch
existing builds. Also updated the SPD and FPD files UiNames git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2616 6f19259b-4bc3-4df7-8a09-765794883524
2007-05-31Update the Guid Value of Ext SCSI Pass Thru Protocolqhuang8
Minor update the ASSERT() statement in Switch Stack. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2609 6f19259b-4bc3-4df7-8a09-765794883524
2007-05-14git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2592 ↵gtian
6f19259b-4bc3-4df7-8a09-765794883524
2007-05-14git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2591 ↵gtian
6f19259b-4bc3-4df7-8a09-765794883524
2007-05-14git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2590 ↵gtian
6f19259b-4bc3-4df7-8a09-765794883524
2007-05-14git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2589 ↵gtian
6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04Fixed issue for ICC, since ICC does not allow to cast data with volatile ↵yshang1
qualifier. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2532 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04Update the MSA for ICC build.yshang1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2528 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-03Updated MSA file for EBC.yshang1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2526 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-03Add the ReadWriteBarrier in the Acquire/ReleaseSpin to block the unexpected ↵yshang1
optimization of compiler. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2524 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-02Add comments on the definition of SPIN_LOCK_RELEASED & SPIN_LOCK_ACQUIREDqhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2522 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-291.Define SPIN_LOCK as "volatile UINTN" to prevent mutli-processor access ↵qhuang8
harzard. 2.Sync MTFTP4 Protocol GUID with spec. 3.Sync the definition the EFI_IP4_VARIABLE_DATA and EFI_TCP4_VARIABLE_DATA with spec git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2514 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-281. Removed #ifndef to enable Capsule architecture protocol on IPF.vanjeff
2. Added ASSERT (FLASE) in SwitchStack (). 3. Removed unreached branch from UefiNotTiano.c. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2510 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-221. Removed AsmSwitchStackAndBackingStore from BaseLib.hvanjeff
2. Modified SwitchStack definition update to MWG 0.60e. 3. Added BaseLib/Ipf/InternalSwitchStack.c and removed BaseLib/Ipf/Non-existing.c 4. Updated any references of AsmSwitchStackAndBackingStore to SwichStack on IPF. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2499 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-151. Remove #ifdef _MSC_EXTENSION_ from all source filesvanjeff
2. Remove #ifdef _GCC_ from all resource files 3. Remove #if 0 from all resource files 4. Remove #ifdef MDE_CPU_IPF and #ifdef MDE_CPU_EBC 5. Remove #progam from Decode.c 6. Remove #ifdef TIANO_EXTENSION_FLAG from source files 7. Remove #ifdef SUPPORT_IPV6, since code base doesn't support IPV6 at all. 8. Remove #ifdef SpecialNowaitVersion from pxe_bc_mtftp.c, since it's only used for test. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2470 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13Update all String related functions in BaseLib for this change introduced in ↵qwang12
Mde Library Spec 0.60e: "Updated all functions that take pointers to Unicode strings as parameters to ASSERT() if the pointer is not aligned in a 16-bit boundary." git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2375 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12Update MDE and EdkModule packages for ICC build with /W4 /WX /Ox switches, ↵xli24
for some latest modifications break it. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2366 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-121) Added BIT0, BIT1, …, BIT63 to the Base Defines qwang12
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
2007-01-25Make MDE package pass intel IPF compiler with /W4 /WX switched on.xli24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2312 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10Mark some .c files as MSFT only.bbahnsen
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2213 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-101. Added comments to ASM filesbxing
2. Fixed a bug in 64-bit AsmDisablePaging64(), which may cause a #GP exception. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2206 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-06Use ASM_PFX to optionnaly set the underscore prefixtgingold
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2179 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-29Fixed tracker EDKT395bxing
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2154 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-24Add volatile to modify LockValue in ReleaseSpinLock().xli24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2008 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-23To Fix PVCS 429.yshang1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2007 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-23Add volatile to modify LockValue in AcquireLockOrFail().xli24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2006 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-17Add Thunk16.S -- needs to be ported from masm.bbahnsen
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1971 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-17Add gnu x86 assembly sources.bbahnsen
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1970 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-17Add an underscore for gcc.bbahnsen
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1969 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-16Initial port to x86_64 gnu assembly.bbahnsen
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1959 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-15Enabled 4G+ memory in thunk.bxing
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1957 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-13git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1931 ↵xli24
6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06Ia32/DivS64x64Remainder.c is not tool-chain specific, it supports both gcc ↵xli24
and msft, so the ToolChainFamily="MSFT" description is incorrect. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1904 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23Did not check in new files correctly the first time!ajfish
Updated FPD files that include Runtime driver as a new lib was added to Runtime Driver for the cache flush. Removed Cache Flush routine from EDK DXE SAL Lib. Cleaned up BaseLib IPF cache routines to only Flush ranges when needed and not to flush the entire cache. Removed the need for processor specific code in the Runtime driver by using MDE Cache Lib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1822 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-22Updated the Runtime Driver to use the MDE libs for cache flush and removed ↵ajfish
local copy of Cache flush code. Updated FPD files that include Runtime driver as a new lib was added to Runtime Driver for the cache flush. Removed Cache Flush routine from EDK DXE SAL Lib. Cleaned up BaseLib IPF cache routines to only Flush ranges when needed and not to flush the entire cache. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1811 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-22Removed duplicate PalCallStatic functions in different libraries. Moved ↵ajfish
ReadItc and InvalidateInstructionCacheRange to the BaseLib so other libs don't need .s files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1809 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-09Fix a bug in InternalMathDivRemU64x64(). The bug is that the 64-bit divisor ↵rsun3
is designed to be loaded to ecx:ebx but the high 4 byte of the divisor is forgotten to be loaded to ecx git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1693 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-08Optimized HighBitSetXX() functionsbxing
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1689 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-04Use intrinsicmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1670 6f19259b-4bc3-4df7-8a09-765794883524