summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib')
-rw-r--r--MdePkg/Library/BaseLib/BaseLib-Gcc.msa312
1 files changed, 312 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseLib/BaseLib-Gcc.msa b/MdePkg/Library/BaseLib/BaseLib-Gcc.msa
new file mode 100644
index 0000000000..ff1f4a2f27
--- /dev/null
+++ b/MdePkg/Library/BaseLib/BaseLib-Gcc.msa
@@ -0,0 +1,312 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2006, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+-->
+<LibraryModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.TianoCore.org/2006/Edk2.0 http://www.TianoCore.org/2006/Edk2.0/SurfaceArea.xsd">
+ <MsaLibHeader>
+ <BaseName>BaseLib</BaseName>
+ <ModuleType>BASE</ModuleType>
+ <ComponentType>LIBRARY</ComponentType>
+ <Guid>27d67720-ea68-48ae-93da-a3a074c90e30</Guid>
+ <Version>0</Version>
+ <Abstract>Memory-only library functions with no library constructordestructor</Abstract>
+ <Description>FIX ME!</Description>
+ <Copyright>Copyright (c) 2004-2006, Intel Corporation</Copyright>
+ <License>
+ All rights reserved. This program and the accompanying materials
+ are licensed and made available under the terms and conditions of the BSD License
+ which accompanies this distribution. The full text of the license may be found at
+ http://opensource.org/licenses/bsd-license.php
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+ </License>
+ <Specification>0</Specification>
+ <Created>2006-03-09 23:16</Created>
+ <Updated>2006-03-22 18:15</Updated>
+ </MsaLibHeader>
+ <LibraryClassDefinitions>
+ <LibraryClass Usage="ALWAYS_PRODUCED">BaseLib</LibraryClass>
+ <LibraryClass Usage="ALWAYS_CONSUMED">BaseMemoryLib</LibraryClass>
+ <LibraryClass Usage="ALWAYS_CONSUMED">DebugLib</LibraryClass>
+ <LibraryClass Usage="ALWAYS_CONSUMED">TimerLib</LibraryClass>
+ </LibraryClassDefinitions>
+ <SourceFiles>
+ <Filename>String.c</Filename>
+ <Filename>LinkedList.c</Filename>
+ <Filename>Synchronization.c</Filename>
+ <Filename>Cpu.c</Filename>
+ <Filename>CpuDeadLoop.c</Filename>
+ <Filename>BitField.c</Filename>
+ <Filename>ARShiftU64.c</Filename>
+ <Filename>DivS64x64Remainder.c</Filename>
+ <Filename>DivU64x32.c</Filename>
+ <Filename>DivU64x32Remainder.c</Filename>
+ <Filename>DivU64x64Remainder.c</Filename>
+ <Filename>GetPowerOfTwo32.c</Filename>
+ <Filename>GetPowerOfTwo64.c</Filename>
+ <Filename>HighBitSet32.c</Filename>
+ <Filename>HighBitSet64.c</Filename>
+ <Filename>LowBitSet32.c</Filename>
+ <Filename>LowBitSet64.c</Filename>
+ <Filename>LRotU32.c</Filename>
+ <Filename>LRotU64.c</Filename>
+ <Filename>LShiftU64.c</Filename>
+ <Filename>ModU64x32.c</Filename>
+ <Filename>MultS64x64.c</Filename>
+ <Filename>MultU64x32.c</Filename>
+ <Filename>MultU64x64.c</Filename>
+ <Filename>RRotU32.c</Filename>
+ <Filename>RRotU64.c</Filename>
+ <Filename>RShiftU64.c</Filename>
+ <Filename>SwapBytes16.c</Filename>
+ <Filename>SwapBytes32.c</Filename>
+ <Filename>SwapBytes64.c</Filename>
+ <Arch ArchType="IA32">
+ <Filename>x86LowLevel.c</Filename>
+ <Filename>x86Thunk.c</Filename>
+ <Filename>Unaligned.c</Filename>
+ <Filename>Ia32/Non-existing.c</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/LShiftU64.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/RShiftU64.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ARShiftU64.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/LRotU64.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/RRotU64.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/MultU64x32.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/MultU64x64.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/DivU64x32.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ModU64x32.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/DivU64x32Remainder.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/DivU64x64Remainder.s</Filename>
+ <Filename>Ia32/DivS64x64Remainder.c</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/SwapBytes64.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/SetJump.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/LongJump.s</Filename>
+ <Filename>Ia32/SwitchStack.c</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/CpuId.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadEflags.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadMsr64.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteMsr32.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteMsr64.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadCr0.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadCr2.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadCr3.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadCr4.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteCr0.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteCr2.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteCr3.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteCr4.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadDr0.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadDr1.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadDr2.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadDr3.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadDr4.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadDr5.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadDr6.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadDr7.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteDr0.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteDr1.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteDr2.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteDr3.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteDr4.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteDr5.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteDr6.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteDr7.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadCs.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadDs.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadEs.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadFs.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadGs.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadSs.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadTr.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadGdtr.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteGdtr.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadIdtr.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteIdtr.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadLdtr.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteLdtr.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/FxSave.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/FxRestore.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadMm0.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadMm1.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadMm2.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadMm3.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadMm4.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadMm5.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadMm6.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadMm7.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteMm0.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteMm1.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteMm2.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteMm3.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteMm4.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteMm5.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteMm6.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/WriteMm7.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadTsc.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/ReadPmc.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/Monitor.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/Mwait.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/EnablePaging32.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/DisablePaging32.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/EnablePaging64.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/Wbinvd.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/Invd.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/FlushCacheLine.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/InterlockedIncrement.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/InterlockedDecrement.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/InterlockedCompareExchange32.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/InterlockedCompareExchange64.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/EnableInterrupts.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/DisableInterrupts.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/EnableDisableInterrupts.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/CpuSleep.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/CpuPause.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/CpuBreakpoint.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/CpuFlushTlb.s</Filename>
+ <Filename FileType="GCC_Assembly_Code">Ia32/Thunk16.s</Filename>
+ </Arch>
+ <Arch ArchType="X64">
+ <Filename>x86LowLevel.c</Filename>
+ <Filename>x86Thunk.c</Filename>
+ <Filename>Unaligned.c</Filename>
+ <Filename>Math64.c</Filename>
+ <Filename>x64/Non-existing.c</Filename>
+ <Filename>x64/SwitchStack.asm</Filename>
+ <Filename>x64/SetJump.asm</Filename>
+ <Filename>x64/LongJump.asm</Filename>
+ <Filename>x64/CpuId.asm</Filename>
+ <Filename>x64/ReadEflags.asm</Filename>
+ <Filename>x64/ReadMsr32.asm</Filename>
+ <Filename>x64/ReadMsr64.asm</Filename>
+ <Filename>x64/WriteMsr32.asm</Filename>
+ <Filename>x64/WriteMsr64.asm</Filename>
+ <Filename>x64/ReadCr0.asm</Filename>
+ <Filename>x64/ReadCr2.asm</Filename>
+ <Filename>x64/ReadCr3.asm</Filename>
+ <Filename>x64/ReadCr4.asm</Filename>
+ <Filename>x64/WriteCr0.asm</Filename>
+ <Filename>x64/WriteCr2.asm</Filename>
+ <Filename>x64/WriteCr3.asm</Filename>
+ <Filename>x64/WriteCr4.asm</Filename>
+ <Filename>x64/ReadDr0.asm</Filename>
+ <Filename>x64/ReadDr1.asm</Filename>
+ <Filename>x64/ReadDr2.asm</Filename>
+ <Filename>x64/ReadDr3.asm</Filename>
+ <Filename>x64/ReadDr4.asm</Filename>
+ <Filename>x64/ReadDr5.asm</Filename>
+ <Filename>x64/ReadDr6.asm</Filename>
+ <Filename>x64/ReadDr7.asm</Filename>
+ <Filename>x64/WriteDr0.asm</Filename>
+ <Filename>x64/WriteDr1.asm</Filename>
+ <Filename>x64/WriteDr2.asm</Filename>
+ <Filename>x64/WriteDr3.asm</Filename>
+ <Filename>x64/WriteDr4.asm</Filename>
+ <Filename>x64/WriteDr5.asm</Filename>
+ <Filename>x64/WriteDr6.asm</Filename>
+ <Filename>x64/WriteDr7.asm</Filename>
+ <Filename>x64/ReadCs.asm</Filename>
+ <Filename>x64/ReadDs.asm</Filename>
+ <Filename>x64/ReadEs.asm</Filename>
+ <Filename>x64/ReadFs.asm</Filename>
+ <Filename>x64/ReadGs.asm</Filename>
+ <Filename>x64/ReadSs.asm</Filename>
+ <Filename>x64/ReadTr.asm</Filename>
+ <Filename>x64/ReadGdtr.asm</Filename>
+ <Filename>x64/WriteGdtr.asm</Filename>
+ <Filename>x64/ReadIdtr.asm</Filename>
+ <Filename>x64/WriteIdtr.asm</Filename>
+ <Filename>x64/ReadLdtr.asm</Filename>
+ <Filename>x64/WriteLdtr.asm</Filename>
+ <Filename>x64/FxSave.asm</Filename>
+ <Filename>x64/FxRestore.asm</Filename>
+ <Filename>x64/ReadMm0.asm</Filename>
+ <Filename>x64/ReadMm1.asm</Filename>
+ <Filename>x64/ReadMm2.asm</Filename>
+ <Filename>x64/ReadMm3.asm</Filename>
+ <Filename>x64/ReadMm4.asm</Filename>
+ <Filename>x64/ReadMm5.asm</Filename>
+ <Filename>x64/ReadMm6.asm</Filename>
+ <Filename>x64/ReadMm7.asm</Filename>
+ <Filename>x64/WriteMm0.asm</Filename>
+ <Filename>x64/WriteMm1.asm</Filename>
+ <Filename>x64/WriteMm2.asm</Filename>
+ <Filename>x64/WriteMm3.asm</Filename>
+ <Filename>x64/WriteMm4.asm</Filename>
+ <Filename>x64/WriteMm5.asm</Filename>
+ <Filename>x64/WriteMm6.asm</Filename>
+ <Filename>x64/WriteMm7.asm</Filename>
+ <Filename>x64/ReadTsc.asm</Filename>
+ <Filename>x64/ReadPmc.asm</Filename>
+ <Filename>x64/Monitor.asm</Filename>
+ <Filename>x64/Mwait.asm</Filename>
+ <Filename>x64/DisablePaging64.asm</Filename>
+ <Filename>x64/Wbinvd.asm</Filename>
+ <Filename>x64/Invd.asm</Filename>
+ <Filename>x64/FlushCacheLine.asm</Filename>
+ <Filename>x64/InterlockedIncrement.asm</Filename>
+ <Filename>x64/InterlockedDecrement.asm</Filename>
+ <Filename>x64/InterlockedCompareExchange32.asm</Filename>
+ <Filename>x64/InterlockedCompareExchange64.asm</Filename>
+ <Filename>x64/EnableInterrupts.asm</Filename>
+ <Filename>x64/DisableInterrupts.asm</Filename>
+ <Filename>x64/EnableDisableInterrupts.asm</Filename>
+ <Filename>x64/CpuSleep.asm</Filename>
+ <Filename>x64/CpuPause.asm</Filename>
+ <Filename>x64/CpuBreakpoint.asm</Filename>
+ <Filename>x64/CpuFlushTlb.asm</Filename>
+ <Filename>x64/Thunk16.asm</Filename>
+ </Arch>
+ <Arch ArchType="IPF">
+ <Filename>Math64.c</Filename>
+ <Filename>Ipf/setjmp.s</Filename>
+ <Filename>Ipf/SwitchStack.s</Filename>
+ <Filename>Ipf/Unaligned.c</Filename>
+ <Filename>Ipf/CpuBreakpoint.c</Filename>
+ <Filename>Ipf/InterlockedCompareExchange32.s</Filename>
+ <Filename>Ipf/InterlockedCompareExchange64.s</Filename>
+ <Filename>Ipf/Synchronization.c</Filename>
+ <Filename>Ipf/CpuPause.s</Filename>
+ <Filename>Ipf/CpuFlushTlb.s</Filename>
+ </Arch>
+ <Arch ArchType="EBC">
+ <Filename>Math64.c</Filename>
+ <Filename>SwitchStack.c</Filename>
+ <Filename>SetJumpLongJump.c</Filename>
+ <Filename>Unaligned.c</Filename>
+ <Filename>Ebc/CpuBreakpoint.c</Filename>
+ <Filename>Ebc/Synchronization.c</Filename>
+ </Arch>
+ </SourceFiles>
+ <Includes>
+ <PackageName>MdePkg</PackageName>
+ </Includes>
+ <PCDs>
+ <PcdData ItemType="FIXED_AT_BUILD">
+ <C_Name>PcdMaximumUnicodeStringLength</C_Name>
+ <Token>0x00000001</Token>
+ <DatumType>UINT32</DatumType>
+ </PcdData>
+ <PcdData ItemType="FIXED_AT_BUILD">
+ <C_Name>PcdMaximumAsciiStringLength</C_Name>
+ <Token>0x00000002</Token>
+ <DatumType>UINT32</DatumType>
+ </PcdData>
+ <PcdData ItemType="FIXED_AT_BUILD">
+ <C_Name>PcdMaximumLinkedListLength</C_Name>
+ <Token>0x00000003</Token>
+ <DatumType>UINT32</DatumType>
+ </PcdData>
+ <PcdData ItemType="FIXED_AT_BUILD">
+ <C_Name>PcdSpinLockTimeout</C_Name>
+ <Token>0x00000004</Token>
+ <DatumType>UINT32</DatumType>
+ </PcdData>
+ </PCDs>
+</LibraryModuleSurfaceArea>