summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/BaseLib.inf
AgeCommit message (Collapse)Author
2011-11-08MdePkg/BaseLib: Replaced inline assembly for ARMGCC by GCC assembly source fileoliviermartin
The registers used to passed arguments to the DxeCore entrypoint in the inline assembly function InternalSwitchStackAsm() where switched at compilation time. This change replaces the inline assembly by a pure assembly source file to avoid this kind of optimization. Note: Inline assembly is generally not recommanded in system programming. Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12674 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-12MdePkg: Fix X64 clang compile issues.andrewfish
Fixed issues with X64 clang, and also make StackSwitch push a zero on the new stack to prevent a stack unwind into memory that is no longer valid. signed-off-by: andrewfish reviewed-by: lgao4 reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12007 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-24Minor grammatical work--mostly adding periods. Items with ONLY period added ↵myronporter
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) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10596 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-20MdePkg BaseLib: Fix GCC build breakjljusten
Only use X86MemoryFence.c for INTEL and MSFT. MemoryFence is defined in GccInline.c for GCC. This change is the same as r10522, but for X64. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10525 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-20Fix GCC build break as MemoryFence() API has already been included in ↵qhuang8
GccInline.c in BaseLib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10522 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-181. Restore the inline C implementation of GCC assembly files that was ↵qhuang8
temporarily removed in Svn r10045. 2. Remove 139 GCC assembly files whose functionality have been covered in the inline C implementation. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10503 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23Update the copyright notice formathhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10405 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-17Add Math64.S to reduce the number of compiler intrinsics that need to be ↵andrewfish
supported. It turns out they seem to change from GCC generation to generation. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10259 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-241. Correct File header to ## @filelgao4
2. Remove unnecessary .common] postfix on section. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10052 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01Split AsmReadKr7() and AsmWriteKr7() from AccessKr.s file since these two ↵qhuang8
APIs are frequently used to store/fetch PeiServicesTable pointer for IPF platform. Some compiler/linker with /Od is not smart enough to remove used KR registers access APIs. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9219 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-24Fix file headersmdkinney
Move stack alignment check from CPU specific files into common SwitchStack() function and add VA_END() to SwitchStack(). Fix incorrect syntax for ASM_FUNCTION_REMOVE_IF_UNREFERENCED git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9193 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-18Make EOL consistentmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9115 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-18Add ARM supportmdkinney
Add C inline assembly files for IA32 and X64 GCC builds. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9113 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-28Add PcdVerifyNoteInList for judge whether do verification of node in list in ↵klu2
debug mode. The default value is FALSE. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9016 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-04Add ASSERT check for AsmFlushCacheRange().xli24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8465 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30Fix the bug that EnablePaging64() should assert() for x64 platform.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8223 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-30Split out Synchronization Library from Base Librarymdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7377 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09INF file verified, and Coding Style reviewed.gikidy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7232 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-17Add AccessMsrDb.s for MSFT tool chain. It uses raw data to represent ↵qhuang8
instructions "mov msr[]=" and "mov =msr[]", which is only supported by INTEL & GCC tool chain. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7069 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-151. Simplify the implementation of AsmReadApplicationRegister() & ↵qhuang8
AsmReadControlRegister() for IPF architecture. 2. Add AsmReadMsr() & AsmWriteMsr() for IPF architecture 3. update AsmCpuMisc.s to only support GCC tool chain to avoid symbol collision. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7034 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-271. Removal PalCallStatic APIqhuang8
2. Two two new ReadApplicationRegister.c(), ReadControlRegister.c() API together with its related definitions in BaseLib.h 3. Remove prototype of AsmSwitchStackAndBackingStore() in public BaseLib.h, it is supposed to be a worker function for AsmSwitchStack() git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6757 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25Clean up the unused EDK_RELEASE_VERSION, PI_SPECIFICATION_VERSION and ↵lgao4
EFI_SPECIFICATION_VERSION from all the MdePkg INF files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6716 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24Add EnableCache() and DisableCache() implementations for IA32 and X64 to the ↵mdkinney
BaseLib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6705 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-29Remove unnessary UEFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION in ↵eric_tian
INF file git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6281 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28Refine file header for INF files of MDE library instances.xli24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6273 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28move Ia32DivS64x64Remainder.c to Ia32/DivS64x64Remainder.c.vanjeff
remove #ifdef _MS_EXTENTION_, since those files has been assigned to MS compiler in INF file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6259 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24rename filename to match the actual ones.vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6212 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-251. Changing filename to match actual ones.vanjeff
2. add MSFT and ICC family flag for Thunk16.asm and EnablePaging64.asm. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5980 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-11remove '../' from Base Library.vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5878 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-20edk2/MdePkg/Library/BaseLib/BaseLib.inf:jljusten
edk2/MdePkg/Library/BaseLib/Ipf/AsmCpuMisc.s: * Add GCC IPF implementation of CpuBreakpoint, MemoryFence, DisableInterrupts, EnableInterrupts, and EnableDisableInterrupts. (Thanks Vara!) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5701 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-01Remove the DivU64x64Remainder.c (embedded asm version)for IA32 architecture. ↵qhuang8
It cannot handle the case when divisor is less than 4G. Make MSFT tool chain uses the ASM version, which can handle the case in an size efficient way. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4654 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-30MdePkg/Library/BaseLib/ChkStkGcc.c:jljusten
MdePkg/Library/BaseLib/BaseLib.inf: Added stub (nil) implementation of __chkstk for which calls are generated by newer versions of gcc. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4237 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-05moved CpuSleep and CpuFlushTlb to the CpuLib to use PalCall in those ↵vprabhal
functions, it is creating circular dependency if those functions are in BaseLib and the PalCallStatic is replaced with PalCall git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4023 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-19Update Mde/MdeModulePkg to support ICC build for IA32/X64.yshang1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3892 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-17FixedPcd macro should *not* be used in Library's inf file. klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3868 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30Update for ICC 10mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3749 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30Update all INF, DEC and DSC file to confirm to newest INF spec 0.44, DEC ↵qhuang8
spec 0.41, DSC spec 0.40. Mainly PCD syntax update. Check in new build.exe and GenFds.exe Check in PcdSyntaxUpdate.exe tool. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3744 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-011. Generated new build.exe from new tools codejwang36
2. Removed some duplicated includes in source files 3. Changed the source file format in INF files 4. Removed duplicated PCDs in MdePkg.dec git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3520 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20remove some comments introduced by tools.vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3383 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19Remove unused comments in MdePkg.yshang1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3368 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18Added tool chain family modifier for source files used only for GCC jwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3331 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-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-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