Use capital S for GCC assembly. This enables pre-processing for PCD support.
authorbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 20 Jun 2006 21:50:44 +0000 (21:50 +0000)
committerbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 20 Jun 2006 21:50:44 +0000 (21:50 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@576 6f19259b-4bc3-4df7-8a09-765794883524

261 files changed:
MdePkg/Library/BaseLib/Ia32/ARShiftU64.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ARShiftU64.s [deleted file]
MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.s [deleted file]
MdePkg/Library/BaseLib/Ia32/CpuFlushTlb.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/CpuFlushTlb.s [deleted file]
MdePkg/Library/BaseLib/Ia32/CpuId.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/CpuId.s [deleted file]
MdePkg/Library/BaseLib/Ia32/CpuIdEx.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/CpuIdEx.s [deleted file]
MdePkg/Library/BaseLib/Ia32/CpuPause.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/CpuPause.s [deleted file]
MdePkg/Library/BaseLib/Ia32/CpuSleep.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/CpuSleep.s [deleted file]
MdePkg/Library/BaseLib/Ia32/DisableInterrupts.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/DisableInterrupts.s [deleted file]
MdePkg/Library/BaseLib/Ia32/DisablePaging32.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/DisablePaging32.s [deleted file]
MdePkg/Library/BaseLib/Ia32/DivU64x32.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/DivU64x32.s [deleted file]
MdePkg/Library/BaseLib/Ia32/DivU64x32Remainder.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/DivU64x32Remainder.s [deleted file]
MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.s [deleted file]
MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.s [deleted file]
MdePkg/Library/BaseLib/Ia32/EnableInterrupts.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/EnableInterrupts.s [deleted file]
MdePkg/Library/BaseLib/Ia32/EnablePaging32.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/EnablePaging32.s [deleted file]
MdePkg/Library/BaseLib/Ia32/EnablePaging64.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/EnablePaging64.s [deleted file]
MdePkg/Library/BaseLib/Ia32/FlushCacheLine.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/FlushCacheLine.s [deleted file]
MdePkg/Library/BaseLib/Ia32/FxRestore.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/FxRestore.s [deleted file]
MdePkg/Library/BaseLib/Ia32/FxSave.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/FxSave.s [deleted file]
MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange32.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange32.s [deleted file]
MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange64.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange64.s [deleted file]
MdePkg/Library/BaseLib/Ia32/InterlockedDecrement.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/InterlockedDecrement.s [deleted file]
MdePkg/Library/BaseLib/Ia32/InterlockedIncrement.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/InterlockedIncrement.s [deleted file]
MdePkg/Library/BaseLib/Ia32/Invd.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/Invd.s [deleted file]
MdePkg/Library/BaseLib/Ia32/LRotU64.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/LRotU64.s [deleted file]
MdePkg/Library/BaseLib/Ia32/LShiftU64.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/LShiftU64.s [deleted file]
MdePkg/Library/BaseLib/Ia32/LongJump.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/LongJump.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ModU64x32.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ModU64x32.s [deleted file]
MdePkg/Library/BaseLib/Ia32/Monitor.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/Monitor.s [deleted file]
MdePkg/Library/BaseLib/Ia32/MultU64x32.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/MultU64x32.s [deleted file]
MdePkg/Library/BaseLib/Ia32/MultU64x64.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/MultU64x64.s [deleted file]
MdePkg/Library/BaseLib/Ia32/Mwait.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/Mwait.s [deleted file]
MdePkg/Library/BaseLib/Ia32/RRotU64.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/RRotU64.s [deleted file]
MdePkg/Library/BaseLib/Ia32/RShiftU64.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/RShiftU64.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadCr0.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadCr0.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadCr2.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadCr2.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadCr3.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadCr3.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadCr4.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadCr4.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadCs.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadCs.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadDr0.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadDr0.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadDr1.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadDr1.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadDr2.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadDr2.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadDr3.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadDr3.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadDr4.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadDr4.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadDr5.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadDr5.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadDr6.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadDr6.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadDr7.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadDr7.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadDs.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadDs.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadEflags.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadEflags.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadEs.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadEs.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadFs.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadFs.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadGdtr.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadGdtr.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadGs.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadGs.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadIdtr.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadIdtr.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadLdtr.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadLdtr.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadMm0.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadMm0.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadMm1.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadMm1.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadMm2.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadMm2.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadMm3.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadMm3.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadMm4.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadMm4.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadMm5.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadMm5.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadMm6.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadMm6.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadMm7.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadMm7.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadMsr64.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadMsr64.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadPmc.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadPmc.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadSs.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadSs.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadTr.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadTr.s [deleted file]
MdePkg/Library/BaseLib/Ia32/ReadTsc.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/ReadTsc.s [deleted file]
MdePkg/Library/BaseLib/Ia32/SetJump.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/SetJump.s [deleted file]
MdePkg/Library/BaseLib/Ia32/SwapBytes64.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/SwapBytes64.s [deleted file]
MdePkg/Library/BaseLib/Ia32/Thunk16.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/Thunk16.s [deleted file]
MdePkg/Library/BaseLib/Ia32/Wbinvd.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/Wbinvd.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteCr0.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteCr0.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteCr2.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteCr2.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteCr3.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteCr3.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteCr4.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteCr4.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteDr0.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteDr0.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteDr1.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteDr1.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteDr2.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteDr2.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteDr3.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteDr3.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteDr4.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteDr4.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteDr5.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteDr5.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteDr6.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteDr6.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteDr7.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteDr7.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteGdtr.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteGdtr.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteIdtr.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteIdtr.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteLdtr.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteLdtr.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteMm0.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteMm0.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteMm1.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteMm1.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteMm2.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteMm2.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteMm3.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteMm3.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteMm4.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteMm4.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteMm5.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteMm5.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteMm6.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteMm6.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteMm7.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteMm7.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteMsr32.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteMsr32.s [deleted file]
MdePkg/Library/BaseLib/Ia32/WriteMsr64.S [new file with mode: 0644]
MdePkg/Library/BaseLib/Ia32/WriteMsr64.s [deleted file]
MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.s [deleted file]
MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.s [deleted file]
MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem16.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem16.s [deleted file]
MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem32.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem32.s [deleted file]
MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem64.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem64.s [deleted file]
MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem8.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem8.s [deleted file]
MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem.s [deleted file]
MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem16.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem16.s [deleted file]
MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem32.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem32.s [deleted file]
MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.s [deleted file]
MdePkg/Library/BaseMemoryLibMmx/Ia32/ZeroMem.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibMmx/Ia32/ZeroMem.s [deleted file]
MdePkg/Library/BaseMemoryLibRepStr/Ia32/CompareMem.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibRepStr/Ia32/CompareMem.s [deleted file]
MdePkg/Library/BaseMemoryLibRepStr/Ia32/CopyMem.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibRepStr/Ia32/CopyMem.s [deleted file]
MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem16.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem16.s [deleted file]
MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem32.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem32.s [deleted file]
MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem64.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem64.s [deleted file]
MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem8.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem8.s [deleted file]
MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem.s [deleted file]
MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem16.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem16.s [deleted file]
MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem32.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem32.s [deleted file]
MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem64.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem64.s [deleted file]
MdePkg/Library/BaseMemoryLibRepStr/Ia32/ZeroMem.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibRepStr/Ia32/ZeroMem.s [deleted file]
MdePkg/Library/BaseMemoryLibSse2/Ia32/CompareMem.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibSse2/Ia32/CompareMem.s [deleted file]
MdePkg/Library/BaseMemoryLibSse2/Ia32/CopyMem.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibSse2/Ia32/CopyMem.s [deleted file]
MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem16.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem16.s [deleted file]
MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem32.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem32.s [deleted file]
MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem64.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem64.s [deleted file]
MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem8.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem8.s [deleted file]
MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem.s [deleted file]
MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem16.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem16.s [deleted file]
MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem32.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem32.s [deleted file]
MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem64.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem64.s [deleted file]
MdePkg/Library/BaseMemoryLibSse2/Ia32/ZeroMem.S [new file with mode: 0644]
MdePkg/Library/BaseMemoryLibSse2/Ia32/ZeroMem.s [deleted file]
Tools/Conf/BuildMacro.xml

diff --git a/MdePkg/Library/BaseLib/Ia32/ARShiftU64.S b/MdePkg/Library/BaseLib/Ia32/ARShiftU64.S
new file mode 100644 (file)
index 0000000..d6af974
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ARShiftU64.asm\r
+#\r
+# Abstract:\r
+#\r
+#   64-bit arithmetic right shift function for IA-32\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+.global _ARShiftU64\r
+_ARShiftU64: \r
+    movb    12(%esp),%cl\r
+    movl    8(%esp),%eax\r
+    cltd\r
+    testb   $32,%cl\r
+# MISMATCH: "    cmovz   edx, eax"\r
+    cmovz   %eax, %edx\r
+# MISMATCH: "    cmovz   eax, [esp + 4]"\r
+    cmovz   4(%esp), %eax\r
+    shrdl   %cl,%edx,%eax\r
+    sar     %cl,%edx\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ARShiftU64.s b/MdePkg/Library/BaseLib/Ia32/ARShiftU64.s
deleted file mode 100644 (file)
index d6af974..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ARShiftU64.asm\r
-#\r
-# Abstract:\r
-#\r
-#   64-bit arithmetic right shift function for IA-32\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-.global _ARShiftU64\r
-_ARShiftU64: \r
-    movb    12(%esp),%cl\r
-    movl    8(%esp),%eax\r
-    cltd\r
-    testb   $32,%cl\r
-# MISMATCH: "    cmovz   edx, eax"\r
-    cmovz   %eax, %edx\r
-# MISMATCH: "    cmovz   eax, [esp + 4]"\r
-    cmovz   4(%esp), %eax\r
-    shrdl   %cl,%edx,%eax\r
-    sar     %cl,%edx\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.S b/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.S
new file mode 100644 (file)
index 0000000..859369e
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------ ;\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   CpuBreakpoint.s\r
+#\r
+# Abstract:\r
+#\r
+#   CpuBreakpoint function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# VOID\r
+# EFIAPI\r
+# CpuBreakpoint (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _CpuBreakpoint\r
+_CpuBreakpoint: \r
+    int  $3\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.s b/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.s
deleted file mode 100644 (file)
index 859369e..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------ ;\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   CpuBreakpoint.s\r
-#\r
-# Abstract:\r
-#\r
-#   CpuBreakpoint function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# VOID\r
-# EFIAPI\r
-# CpuBreakpoint (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _CpuBreakpoint\r
-_CpuBreakpoint: \r
-    int  $3\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/CpuFlushTlb.S b/MdePkg/Library/BaseLib/Ia32/CpuFlushTlb.S
new file mode 100644 (file)
index 0000000..1d85fa7
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------ ;\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   CpuFlushTlb.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   CpuFlushTlb function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# VOID\r
+# EFIAPI\r
+# CpuFlushTlb (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _CpuFlushTlb\r
+_CpuFlushTlb: \r
+    movl    %cr3, %eax\r
+    movl    %eax, %cr3\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/CpuFlushTlb.s b/MdePkg/Library/BaseLib/Ia32/CpuFlushTlb.s
deleted file mode 100644 (file)
index 1d85fa7..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------ ;\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   CpuFlushTlb.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   CpuFlushTlb function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# VOID\r
-# EFIAPI\r
-# CpuFlushTlb (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _CpuFlushTlb\r
-_CpuFlushTlb: \r
-    movl    %cr3, %eax\r
-    movl    %eax, %cr3\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/CpuId.S b/MdePkg/Library/BaseLib/Ia32/CpuId.S
new file mode 100644 (file)
index 0000000..989daba
--- /dev/null
@@ -0,0 +1,63 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   CpuId.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmCpuid function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+\r
+#------------------------------------------------------------------------------\r
+#  VOID\r
+#  EFIAPI\r
+#  AsmCpuid (\r
+#    IN   UINT32  RegisterInEax,\r
+#    OUT  UINT32  *RegisterOutEax  OPTIONAL,\r
+#    OUT  UINT32  *RegisterOutEbx  OPTIONAL,\r
+#    OUT  UINT32  *RegisterOutEcx  OPTIONAL,\r
+#    OUT  UINT32  *RegisterOutEdx  OPTIONAL\r
+#    )\r
+#------------------------------------------------------------------------------\r
+.globl _AsmCpuid\r
+_AsmCpuid:\r
+    push   %ebx\r
+    push   %edi\r
+    movl    12(%esp),%eax\r
+    cpuid\r
+    movl    %ecx,%edi\r
+    movl    16(%esp),%ecx\r
+    jecxz   L1\r
+    movl    %eax,(%ecx)\r
+L1:\r
+    movl    20(%esp),%ecx\r
+    jecxz   L2\r
+    movl    %ebx,(%ecx)\r
+L2:\r
+    movl    24(%esp),%ecx\r
+    jecxz   L3\r
+    movl    %edi,(%ecx)\r
+L3:\r
+    movl    28(%esp),%ecx\r
+    jecxz   L4\r
+    movl    %edx,(%ecx)\r
+L4:\r
+    pop    %edi\r
+    pop    %ebx\r
+    ret\r
diff --git a/MdePkg/Library/BaseLib/Ia32/CpuId.s b/MdePkg/Library/BaseLib/Ia32/CpuId.s
deleted file mode 100644 (file)
index 989daba..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   CpuId.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmCpuid function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-\r
-#------------------------------------------------------------------------------\r
-#  VOID\r
-#  EFIAPI\r
-#  AsmCpuid (\r
-#    IN   UINT32  RegisterInEax,\r
-#    OUT  UINT32  *RegisterOutEax  OPTIONAL,\r
-#    OUT  UINT32  *RegisterOutEbx  OPTIONAL,\r
-#    OUT  UINT32  *RegisterOutEcx  OPTIONAL,\r
-#    OUT  UINT32  *RegisterOutEdx  OPTIONAL\r
-#    )\r
-#------------------------------------------------------------------------------\r
-.globl _AsmCpuid\r
-_AsmCpuid:\r
-    push   %ebx\r
-    push   %edi\r
-    movl    12(%esp),%eax\r
-    cpuid\r
-    movl    %ecx,%edi\r
-    movl    16(%esp),%ecx\r
-    jecxz   L1\r
-    movl    %eax,(%ecx)\r
-L1:\r
-    movl    20(%esp),%ecx\r
-    jecxz   L2\r
-    movl    %ebx,(%ecx)\r
-L2:\r
-    movl    24(%esp),%ecx\r
-    jecxz   L3\r
-    movl    %edi,(%ecx)\r
-L3:\r
-    movl    28(%esp),%ecx\r
-    jecxz   L4\r
-    movl    %edx,(%ecx)\r
-L4:\r
-    pop    %edi\r
-    pop    %ebx\r
-    ret\r
diff --git a/MdePkg/Library/BaseLib/Ia32/CpuIdEx.S b/MdePkg/Library/BaseLib/Ia32/CpuIdEx.S
new file mode 100644 (file)
index 0000000..43c23b6
--- /dev/null
@@ -0,0 +1,67 @@
+#------------------------------------------------------------------------------
+#
+# 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.
+#
+# Module Name:
+#
+#   CpuIdEx.Asm
+#
+# Abstract:
+#
+#   AsmCpuidEx function
+#
+# Notes:
+#
+#------------------------------------------------------------------------------
+
+    .686: 
+    .code: 
+
+#------------------------------------------------------------------------------
+#  UINT32
+#  EFIAPI
+#  AsmCpuidEx (
+#    IN   UINT32  RegisterInEax,
+#    IN   UINT32  RegisterInEcx,
+#    OUT  UINT32  *RegisterOutEax  OPTIONAL,
+#    OUT  UINT32  *RegisterOutEbx  OPTIONAL,
+#    OUT  UINT32  *RegisterOutEcx  OPTIONAL,
+#    OUT  UINT32  *RegisterOutEdx  OPTIONAL
+#    )
+#------------------------------------------------------------------------------
+.globl _AsmCpuidEx
+_AsmCpuidEx:
+    push    %ebx
+    pushl   %ebp
+    movl    %esp, %ebp
+    movl    12(%ebp), %eax
+    movl    16(%ebp), %ecx
+    cpuid
+    pushl   %ecx
+    movl    20(%ebp), %ecx
+    jecxz   L1
+    movl    %eax, (%ecx)
+L1: 
+    movl    24(%ebp), %ecx
+    jecxz   L2
+    movl    %ebx, (%ecx)
+L2: 
+    movl    28(%ebp), %ecx
+    jecxz   L3
+    popl    %ecx
+L3: 
+    movl    32(%ebp), %edx
+    jecxz   L4
+    movl    %edx, (%ecx)
+L4: 
+    movl    12(%ebp), %eax
+    pop     %ebx
+    leave
+    ret
diff --git a/MdePkg/Library/BaseLib/Ia32/CpuIdEx.s b/MdePkg/Library/BaseLib/Ia32/CpuIdEx.s
deleted file mode 100644 (file)
index 43c23b6..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-#------------------------------------------------------------------------------
-#
-# 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.
-#
-# Module Name:
-#
-#   CpuIdEx.Asm
-#
-# Abstract:
-#
-#   AsmCpuidEx function
-#
-# Notes:
-#
-#------------------------------------------------------------------------------
-
-    .686: 
-    .code: 
-
-#------------------------------------------------------------------------------
-#  UINT32
-#  EFIAPI
-#  AsmCpuidEx (
-#    IN   UINT32  RegisterInEax,
-#    IN   UINT32  RegisterInEcx,
-#    OUT  UINT32  *RegisterOutEax  OPTIONAL,
-#    OUT  UINT32  *RegisterOutEbx  OPTIONAL,
-#    OUT  UINT32  *RegisterOutEcx  OPTIONAL,
-#    OUT  UINT32  *RegisterOutEdx  OPTIONAL
-#    )
-#------------------------------------------------------------------------------
-.globl _AsmCpuidEx
-_AsmCpuidEx:
-    push    %ebx
-    pushl   %ebp
-    movl    %esp, %ebp
-    movl    12(%ebp), %eax
-    movl    16(%ebp), %ecx
-    cpuid
-    pushl   %ecx
-    movl    20(%ebp), %ecx
-    jecxz   L1
-    movl    %eax, (%ecx)
-L1: 
-    movl    24(%ebp), %ecx
-    jecxz   L2
-    movl    %ebx, (%ecx)
-L2: 
-    movl    28(%ebp), %ecx
-    jecxz   L3
-    popl    %ecx
-L3: 
-    movl    32(%ebp), %edx
-    jecxz   L4
-    movl    %edx, (%ecx)
-L4: 
-    movl    12(%ebp), %eax
-    pop     %ebx
-    leave
-    ret
diff --git a/MdePkg/Library/BaseLib/Ia32/CpuPause.S b/MdePkg/Library/BaseLib/Ia32/CpuPause.S
new file mode 100644 (file)
index 0000000..ace2c67
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------ ;\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   CpuPause.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   CpuPause function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# VOID\r
+# EFIAPI\r
+# CpuPause (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _CpuPause\r
+_CpuPause: \r
+    pause\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/CpuPause.s b/MdePkg/Library/BaseLib/Ia32/CpuPause.s
deleted file mode 100644 (file)
index ace2c67..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------ ;\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   CpuPause.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   CpuPause function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# VOID\r
-# EFIAPI\r
-# CpuPause (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _CpuPause\r
-_CpuPause: \r
-    pause\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/CpuSleep.S b/MdePkg/Library/BaseLib/Ia32/CpuSleep.S
new file mode 100644 (file)
index 0000000..9b77131
--- /dev/null
@@ -0,0 +1,40 @@
+#------------------------------------------------------------------------------ ;\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   CpuSleep.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   CpuSleep function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# VOID\r
+# EFIAPI\r
+# CpuSleep (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _CpuSleep\r
+_CpuSleep: \r
+    hlt\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/CpuSleep.s b/MdePkg/Library/BaseLib/Ia32/CpuSleep.s
deleted file mode 100644 (file)
index 9b77131..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-#------------------------------------------------------------------------------ ;\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   CpuSleep.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   CpuSleep function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# VOID\r
-# EFIAPI\r
-# CpuSleep (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _CpuSleep\r
-_CpuSleep: \r
-    hlt\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/DisableInterrupts.S b/MdePkg/Library/BaseLib/Ia32/DisableInterrupts.S
new file mode 100644 (file)
index 0000000..cc9c95c
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   DisableInterrupts.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   DisableInterrupts function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# VOID\r
+# EFIAPI\r
+# DisableInterrupts (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _DisableInterrupts\r
+_DisableInterrupts: \r
+    cli\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/DisableInterrupts.s b/MdePkg/Library/BaseLib/Ia32/DisableInterrupts.s
deleted file mode 100644 (file)
index cc9c95c..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   DisableInterrupts.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   DisableInterrupts function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# VOID\r
-# EFIAPI\r
-# DisableInterrupts (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _DisableInterrupts\r
-_DisableInterrupts: \r
-    cli\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/DisablePaging32.S b/MdePkg/Library/BaseLib/Ia32/DisablePaging32.S
new file mode 100644 (file)
index 0000000..21e8a82
--- /dev/null
@@ -0,0 +1,58 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   DisablePaging32.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmDisablePaging32 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# VOID\r
+# EFIAPI\r
+# AsmDisablePaging32 (\r
+#   IN      SWITCH_STACK_ENTRY_POINT  EntryPoint,\r
+#   IN      VOID                      *Context1,    OPTIONAL\r
+#   IN      VOID                      *Context2,    OPTIONAL\r
+#   IN      VOID                      *NewStack\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmDisablePaging32\r
+_AsmDisablePaging32: \r
+    movl    4(%esp),%ebx\r
+    movl    8(%esp),%ecx\r
+    movl    12(%esp),%edx\r
+    pushfl\r
+    popl    %edi\r
+    cli\r
+    movl    %cr0, %eax\r
+    btrl    $31,%eax\r
+    movl    16(%esp),%esp\r
+    movl    %eax, %cr0\r
+    pushl   %edi\r
+    popfl\r
+    pushl   %edx\r
+    pushl   %ecx\r
+    call    *%ebx\r
+    jmp     .\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/DisablePaging32.s b/MdePkg/Library/BaseLib/Ia32/DisablePaging32.s
deleted file mode 100644 (file)
index 21e8a82..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   DisablePaging32.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmDisablePaging32 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# VOID\r
-# EFIAPI\r
-# AsmDisablePaging32 (\r
-#   IN      SWITCH_STACK_ENTRY_POINT  EntryPoint,\r
-#   IN      VOID                      *Context1,    OPTIONAL\r
-#   IN      VOID                      *Context2,    OPTIONAL\r
-#   IN      VOID                      *NewStack\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmDisablePaging32\r
-_AsmDisablePaging32: \r
-    movl    4(%esp),%ebx\r
-    movl    8(%esp),%ecx\r
-    movl    12(%esp),%edx\r
-    pushfl\r
-    popl    %edi\r
-    cli\r
-    movl    %cr0, %eax\r
-    btrl    $31,%eax\r
-    movl    16(%esp),%esp\r
-    movl    %eax, %cr0\r
-    pushl   %edi\r
-    popfl\r
-    pushl   %edx\r
-    pushl   %ecx\r
-    call    *%ebx\r
-    jmp     .\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/DivU64x32.S b/MdePkg/Library/BaseLib/Ia32/DivU64x32.S
new file mode 100644 (file)
index 0000000..89d7546
--- /dev/null
@@ -0,0 +1,35 @@
+#------------------------------------------------------------------------------
+#
+# 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.
+#
+# Module Name:
+#
+#   DivU64x32.asm
+#
+# Abstract:
+#
+#   Calculate the quotient of a 64-bit integer by a 32-bit integer
+#
+#------------------------------------------------------------------------------
+
+    .386: 
+    .code: 
+
+.global _InternalMathDivU64x32
+_InternalMathDivU64x32:
+    movl    8(%esp),%eax
+    movl    12(%esp),%ecx
+    xorl    %edx,%edx
+    divl    %ecx
+    pushl   %eax
+    movl    8(%esp),%eax
+    divl    %ecx
+    popl    %edx
+    ret
diff --git a/MdePkg/Library/BaseLib/Ia32/DivU64x32.s b/MdePkg/Library/BaseLib/Ia32/DivU64x32.s
deleted file mode 100644 (file)
index 89d7546..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-#------------------------------------------------------------------------------
-#
-# 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.
-#
-# Module Name:
-#
-#   DivU64x32.asm
-#
-# Abstract:
-#
-#   Calculate the quotient of a 64-bit integer by a 32-bit integer
-#
-#------------------------------------------------------------------------------
-
-    .386: 
-    .code: 
-
-.global _InternalMathDivU64x32
-_InternalMathDivU64x32:
-    movl    8(%esp),%eax
-    movl    12(%esp),%ecx
-    xorl    %edx,%edx
-    divl    %ecx
-    pushl   %eax
-    movl    8(%esp),%eax
-    divl    %ecx
-    popl    %edx
-    ret
diff --git a/MdePkg/Library/BaseLib/Ia32/DivU64x32Remainder.S b/MdePkg/Library/BaseLib/Ia32/DivU64x32Remainder.S
new file mode 100644 (file)
index 0000000..1f34f18
--- /dev/null
@@ -0,0 +1,43 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   DivError.asm\r
+#\r
+# Abstract:\r
+#\r
+#   Set error flag for all division functions\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+.global _InternalMathDivRemU64x32\r
+_InternalMathDivRemU64x32: \r
+    movl    12(%esp),%ecx\r
+    movl    8(%esp),%eax\r
+    xorl    %edx,%edx\r
+    divl    %ecx\r
+    pushl   %eax\r
+    movl    8(%esp),%eax\r
+    divl    %ecx\r
+    movl    20(%esp),%ecx\r
+    jecxz   L1\r
+    movl    %edx,(%ecx)\r
+L1: \r
+    popl    %edx\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/DivU64x32Remainder.s b/MdePkg/Library/BaseLib/Ia32/DivU64x32Remainder.s
deleted file mode 100644 (file)
index 1f34f18..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   DivError.asm\r
-#\r
-# Abstract:\r
-#\r
-#   Set error flag for all division functions\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-.global _InternalMathDivRemU64x32\r
-_InternalMathDivRemU64x32: \r
-    movl    12(%esp),%ecx\r
-    movl    8(%esp),%eax\r
-    xorl    %edx,%edx\r
-    divl    %ecx\r
-    pushl   %eax\r
-    movl    8(%esp),%eax\r
-    divl    %ecx\r
-    movl    20(%esp),%ecx\r
-    jecxz   L1\r
-    movl    %edx,(%ecx)\r
-L1: \r
-    popl    %edx\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.S b/MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.S
new file mode 100644 (file)
index 0000000..f604f7c
--- /dev/null
@@ -0,0 +1,89 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   DivU64x64Remainder.asm\r
+#\r
+# Abstract:\r
+#\r
+#   Calculate the quotient of a 64-bit integer by a 64-bit integer and returns\r
+#   both the quotient and the remainder\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+.extern _InternalMathDivRemU64x32\r
+\r
+.global _InternalMathDivRemU64x64\r
+_InternalMathDivRemU64x64: \r
+    movl    16(%esp),%ecx\r
+    testl   %ecx,%ecx\r
+    jnz     _DivRemU64x64\r
+    movl    20(%esp),%ecx\r
+    jecxz   L1\r
+    and     $0,4(%ecx)\r
+    movl    %ecx,16(%esp)\r
+L1: \r
+    jmp     _InternalMathDivRemU64x32\r
+\r
+\r
+.global DivRemU64x64\r
+DivRemU64x64:\r
+# MISMATCH: "DivRemU64x64:    USES    ebx esi edi"\r
+    push   %ebx                                                                             \r
+    push   %esi                                                                             \r
+    push   %edi                                        \r
+    mov     20(%esp), %edx\r
+    mov     16(%esp), %eax\r
+    movl    %edx,%edi\r
+    movl    %eax,%esi\r
+    mov     24(%esp), %ebx\r
+L2: \r
+    shrl    %edx\r
+    rcrl    $1,%eax\r
+    shrdl   $1,%ecx,%ebx\r
+    shrl    %ecx\r
+    jnz     L2\r
+    divl    %ebx\r
+    movl    %eax,%ebx\r
+    movl    28(%esp),%ecx\r
+    mull    24(%esp)\r
+    imull   %ebx,%ecx\r
+    addl    %ecx,%edx\r
+    mov     32(%esp), %ecx\r
+    jc      TooLarge\r
+    cmpl    %edx,%edi\r
+    ja      Correct\r
+    jb      TooLarge\r
+    cmpl    %eax,%esi\r
+    jae     Correct\r
+TooLarge: \r
+    decl    %ebx\r
+    jecxz   Return\r
+    sub     24(%esp), %eax\r
+    sbb     28(%esp), %edx\r
+Correct: \r
+    jecxz   Return\r
+    subl    %eax,%esi\r
+    sbbl    %edx,%edi\r
+    movl    %esi,(%ecx)\r
+    movl    %edi,4(%ecx)\r
+Return: \r
+    movl    %ebx,%eax\r
+    xorl    %edx,%edx\r
+    push   %edi                                        \r
+    push   %esi                                                                             \r
+    push   %ebx                                                                             \r
+    ret\r
diff --git a/MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.s b/MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.s
deleted file mode 100644 (file)
index f604f7c..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   DivU64x64Remainder.asm\r
-#\r
-# Abstract:\r
-#\r
-#   Calculate the quotient of a 64-bit integer by a 64-bit integer and returns\r
-#   both the quotient and the remainder\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-.extern _InternalMathDivRemU64x32\r
-\r
-.global _InternalMathDivRemU64x64\r
-_InternalMathDivRemU64x64: \r
-    movl    16(%esp),%ecx\r
-    testl   %ecx,%ecx\r
-    jnz     _DivRemU64x64\r
-    movl    20(%esp),%ecx\r
-    jecxz   L1\r
-    and     $0,4(%ecx)\r
-    movl    %ecx,16(%esp)\r
-L1: \r
-    jmp     _InternalMathDivRemU64x32\r
-\r
-\r
-.global DivRemU64x64\r
-DivRemU64x64:\r
-# MISMATCH: "DivRemU64x64:    USES    ebx esi edi"\r
-    push   %ebx                                                                             \r
-    push   %esi                                                                             \r
-    push   %edi                                        \r
-    mov     20(%esp), %edx\r
-    mov     16(%esp), %eax\r
-    movl    %edx,%edi\r
-    movl    %eax,%esi\r
-    mov     24(%esp), %ebx\r
-L2: \r
-    shrl    %edx\r
-    rcrl    $1,%eax\r
-    shrdl   $1,%ecx,%ebx\r
-    shrl    %ecx\r
-    jnz     L2\r
-    divl    %ebx\r
-    movl    %eax,%ebx\r
-    movl    28(%esp),%ecx\r
-    mull    24(%esp)\r
-    imull   %ebx,%ecx\r
-    addl    %ecx,%edx\r
-    mov     32(%esp), %ecx\r
-    jc      TooLarge\r
-    cmpl    %edx,%edi\r
-    ja      Correct\r
-    jb      TooLarge\r
-    cmpl    %eax,%esi\r
-    jae     Correct\r
-TooLarge: \r
-    decl    %ebx\r
-    jecxz   Return\r
-    sub     24(%esp), %eax\r
-    sbb     28(%esp), %edx\r
-Correct: \r
-    jecxz   Return\r
-    subl    %eax,%esi\r
-    sbbl    %edx,%edi\r
-    movl    %esi,(%ecx)\r
-    movl    %edi,4(%ecx)\r
-Return: \r
-    movl    %ebx,%eax\r
-    xorl    %edx,%edx\r
-    push   %edi                                        \r
-    push   %esi                                                                             \r
-    push   %ebx                                                                             \r
-    ret\r
diff --git a/MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.S b/MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.S
new file mode 100644 (file)
index 0000000..80362a9
--- /dev/null
@@ -0,0 +1,42 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   EnableDisableInterrupts.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   EnableDisableInterrupts function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# VOID\r
+# EFIAPI\r
+# EnableDisableInterrupts (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _EnableDisableInterrupts\r
+_EnableDisableInterrupts: \r
+    sti\r
+    cli\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.s b/MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.s
deleted file mode 100644 (file)
index 80362a9..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   EnableDisableInterrupts.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   EnableDisableInterrupts function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# VOID\r
-# EFIAPI\r
-# EnableDisableInterrupts (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _EnableDisableInterrupts\r
-_EnableDisableInterrupts: \r
-    sti\r
-    cli\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/EnableInterrupts.S b/MdePkg/Library/BaseLib/Ia32/EnableInterrupts.S
new file mode 100644 (file)
index 0000000..74413d8
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   EnableInterrupts.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   EnableInterrupts function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# VOID\r
+# EFIAPI\r
+# EnableInterrupts (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _EnableInterrupts\r
+_EnableInterrupts: \r
+    sti\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/EnableInterrupts.s b/MdePkg/Library/BaseLib/Ia32/EnableInterrupts.s
deleted file mode 100644 (file)
index 74413d8..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   EnableInterrupts.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   EnableInterrupts function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# VOID\r
-# EFIAPI\r
-# EnableInterrupts (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _EnableInterrupts\r
-_EnableInterrupts: \r
-    sti\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/EnablePaging32.S b/MdePkg/Library/BaseLib/Ia32/EnablePaging32.S
new file mode 100644 (file)
index 0000000..6f9befc
--- /dev/null
@@ -0,0 +1,58 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   EnablePaging32.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmEnablePaging32 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# VOID\r
+# EFIAPI\r
+# AsmEnablePaging32 (\r
+#   IN      SWITCH_STACK_ENTRY_POINT  EntryPoint,\r
+#   IN      VOID                      *Context1,    OPTIONAL\r
+#   IN      VOID                      *Context2,    OPTIONAL\r
+#   IN      VOID                      *NewStack\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmEnablePaging32\r
+_AsmEnablePaging32: \r
+    movl    4(%esp),%ebx\r
+    movl    8(%esp),%ecx\r
+    movl    12(%esp),%edx\r
+    pushfl\r
+    popl    %edi\r
+    cli\r
+    movl    %cr0, %eax\r
+    btsl    $31,%eax\r
+    movl    16(%esp),%esp\r
+    movl    %eax, %cr0\r
+    pushl   %edi\r
+    popfl\r
+    pushl   %edx\r
+    pushl   %ecx\r
+    call    *%ebx\r
+    jmp     .\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/EnablePaging32.s b/MdePkg/Library/BaseLib/Ia32/EnablePaging32.s
deleted file mode 100644 (file)
index 6f9befc..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   EnablePaging32.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmEnablePaging32 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# VOID\r
-# EFIAPI\r
-# AsmEnablePaging32 (\r
-#   IN      SWITCH_STACK_ENTRY_POINT  EntryPoint,\r
-#   IN      VOID                      *Context1,    OPTIONAL\r
-#   IN      VOID                      *Context2,    OPTIONAL\r
-#   IN      VOID                      *NewStack\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmEnablePaging32\r
-_AsmEnablePaging32: \r
-    movl    4(%esp),%ebx\r
-    movl    8(%esp),%ecx\r
-    movl    12(%esp),%edx\r
-    pushfl\r
-    popl    %edi\r
-    cli\r
-    movl    %cr0, %eax\r
-    btsl    $31,%eax\r
-    movl    16(%esp),%esp\r
-    movl    %eax, %cr0\r
-    pushl   %edi\r
-    popfl\r
-    pushl   %edx\r
-    pushl   %ecx\r
-    call    *%ebx\r
-    jmp     .\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/EnablePaging64.S b/MdePkg/Library/BaseLib/Ia32/EnablePaging64.S
new file mode 100644 (file)
index 0000000..b365ea7
--- /dev/null
@@ -0,0 +1,66 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   EnablePaging64.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmEnablePaging64 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+     \r
+    #.MODEL flat\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# VOID\r
+# EFIAPI\r
+# AsmEnablePaging64 (\r
+#   IN      UINT16                    CodeSelector,\r
+#   IN      UINT64                    EntryPoint,\r
+#   IN      UINT64                    Context1,    OPTIONAL\r
+#   IN      UINT64                    Context2,    OPTIONAL\r
+#   IN      UINT64                    NewStack\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmEnablePaging64\r
+_AsmEnablePaging64:\r
+    cli\r
+    movl    $$LongStart, (%esp)\r
+    movl    %cr4, %eax\r
+    orb     $0x20, %al\r
+    movl    %eax, %cr4                  # enable PAE\r
+    movl    $0xc0000080, %ecx\r
+    rdmsr\r
+    orb     $1, %ah                     # set LME\r
+    wrmsr\r
+    movl    %cr0, %eax\r
+    btsl    $31, %eax\r
+    movl    %eax, %cr0                  # enable paging\r
+    lret\r
+LongStart:                              # long mode starts here\r
+    .byte   0x67,0x48\r
+    movl    (%esp), %ebx                # mov rbx, [esp]\r
+    .byte   0x67,0x48\r
+    movl    8(%esp), %ecx               # mov rcx, [esp + 8]\r
+    .byte   0x67,0x48\r
+    movl    0x10(%esp), %edx            # mov rdx, [esp + 10h]\r
+    .byte   0x67,0x48\r
+    movl    0x18(%esp), %esp            # mov rsp, [esp + 18h]\r
+    .byte   0x48\r
+    addl    $0x-20, %esp                # add rsp, -20h\r
+    call    *%ebx                       # call rbx\r
+    jmp     .\r
diff --git a/MdePkg/Library/BaseLib/Ia32/EnablePaging64.s b/MdePkg/Library/BaseLib/Ia32/EnablePaging64.s
deleted file mode 100644 (file)
index b365ea7..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   EnablePaging64.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmEnablePaging64 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-     \r
-    #.MODEL flat\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# VOID\r
-# EFIAPI\r
-# AsmEnablePaging64 (\r
-#   IN      UINT16                    CodeSelector,\r
-#   IN      UINT64                    EntryPoint,\r
-#   IN      UINT64                    Context1,    OPTIONAL\r
-#   IN      UINT64                    Context2,    OPTIONAL\r
-#   IN      UINT64                    NewStack\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmEnablePaging64\r
-_AsmEnablePaging64:\r
-    cli\r
-    movl    $$LongStart, (%esp)\r
-    movl    %cr4, %eax\r
-    orb     $0x20, %al\r
-    movl    %eax, %cr4                  # enable PAE\r
-    movl    $0xc0000080, %ecx\r
-    rdmsr\r
-    orb     $1, %ah                     # set LME\r
-    wrmsr\r
-    movl    %cr0, %eax\r
-    btsl    $31, %eax\r
-    movl    %eax, %cr0                  # enable paging\r
-    lret\r
-LongStart:                              # long mode starts here\r
-    .byte   0x67,0x48\r
-    movl    (%esp), %ebx                # mov rbx, [esp]\r
-    .byte   0x67,0x48\r
-    movl    8(%esp), %ecx               # mov rcx, [esp + 8]\r
-    .byte   0x67,0x48\r
-    movl    0x10(%esp), %edx            # mov rdx, [esp + 10h]\r
-    .byte   0x67,0x48\r
-    movl    0x18(%esp), %esp            # mov rsp, [esp + 18h]\r
-    .byte   0x48\r
-    addl    $0x-20, %esp                # add rsp, -20h\r
-    call    *%ebx                       # call rbx\r
-    jmp     .\r
diff --git a/MdePkg/Library/BaseLib/Ia32/FlushCacheLine.S b/MdePkg/Library/BaseLib/Ia32/FlushCacheLine.S
new file mode 100644 (file)
index 0000000..c14bd11
--- /dev/null
@@ -0,0 +1,43 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   FlushCacheLine.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmFlushCacheLine function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# VOID\r
+# EFIAPI\r
+# AsmFlushCacheLine (\r
+#   IN      VOID                      *LinearAddress\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmFlushCacheLine\r
+_AsmFlushCacheLine: \r
+    movl    4(%esp),%eax\r
+    clflush (%eax)\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/FlushCacheLine.s b/MdePkg/Library/BaseLib/Ia32/FlushCacheLine.s
deleted file mode 100644 (file)
index c14bd11..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   FlushCacheLine.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmFlushCacheLine function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# VOID\r
-# EFIAPI\r
-# AsmFlushCacheLine (\r
-#   IN      VOID                      *LinearAddress\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmFlushCacheLine\r
-_AsmFlushCacheLine: \r
-    movl    4(%esp),%eax\r
-    clflush (%eax)\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/FxRestore.S b/MdePkg/Library/BaseLib/Ia32/FxRestore.S
new file mode 100644 (file)
index 0000000..631a3ef
--- /dev/null
@@ -0,0 +1,43 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   FxRestore.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmFxRestore function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# VOID\r
+# EFIAPI\r
+# AsmFxRestore (\r
+#   IN CONST IA32_FX_BUFFER *Buffer\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmFxRestore\r
+_AsmFxRestore: \r
+    movl    4(%esp),%eax\r
+    fxrstor (%eax)\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/FxRestore.s b/MdePkg/Library/BaseLib/Ia32/FxRestore.s
deleted file mode 100644 (file)
index 631a3ef..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   FxRestore.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmFxRestore function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# VOID\r
-# EFIAPI\r
-# AsmFxRestore (\r
-#   IN CONST IA32_FX_BUFFER *Buffer\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmFxRestore\r
-_AsmFxRestore: \r
-    movl    4(%esp),%eax\r
-    fxrstor (%eax)\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/FxSave.S b/MdePkg/Library/BaseLib/Ia32/FxSave.S
new file mode 100644 (file)
index 0000000..44a5512
--- /dev/null
@@ -0,0 +1,43 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   FxSave.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmFxSave function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# VOID\r
+# EFIAPI\r
+# AsmFxSave (\r
+#   OUT IA32_FX_BUFFER *Buffer\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmFxSave\r
+_AsmFxSave: \r
+    movl    4(%esp),%eax\r
+    fxsave  (%eax)\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/FxSave.s b/MdePkg/Library/BaseLib/Ia32/FxSave.s
deleted file mode 100644 (file)
index 44a5512..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   FxSave.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmFxSave function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# VOID\r
-# EFIAPI\r
-# AsmFxSave (\r
-#   OUT IA32_FX_BUFFER *Buffer\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmFxSave\r
-_AsmFxSave: \r
-    movl    4(%esp),%eax\r
-    fxsave  (%eax)\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange32.S b/MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange32.S
new file mode 100644 (file)
index 0000000..43bb925
--- /dev/null
@@ -0,0 +1,64 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   InterlockedCompareExchange32.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   InterlockedCompareExchange32 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# VOID *\r
+# EFIAPI\r
+# InterlockedCompareExchangePointer (\r
+#   IN      VOID                      **Value,\r
+#   IN      VOID                      *CompareValue,\r
+#   IN      VOID                      *ExchangeValue\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _InterlockedCompareExchangePointer\r
+_InterlockedCompareExchangePointer: \r
+    #\r
+    # InterlockedCompareExchangePointer() shares the same code as\r
+    # InterlockedCompareExchange32() on IA32 and thus no code inside this\r
+    # function\r
+    #\r
+\r
+\r
+#------------------------------------------------------------------------------\r
+# UINT32\r
+# EFIAPI\r
+# InterlockedCompareExchange32 (\r
+#   IN      UINT32                    *Value,\r
+#   IN      UINT32                    CompareValue,\r
+#   IN      UINT32                    ExchangeValue\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _InterlockedCompareExchange32\r
+_InterlockedCompareExchange32: \r
+    movl    4(%esp),%ecx\r
+    movl    8(%esp),%eax\r
+    movl    12(%esp),%edx\r
+    lock    cmpxchgl %edx,(%ecx)\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange32.s b/MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange32.s
deleted file mode 100644 (file)
index 43bb925..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   InterlockedCompareExchange32.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   InterlockedCompareExchange32 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# VOID *\r
-# EFIAPI\r
-# InterlockedCompareExchangePointer (\r
-#   IN      VOID                      **Value,\r
-#   IN      VOID                      *CompareValue,\r
-#   IN      VOID                      *ExchangeValue\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _InterlockedCompareExchangePointer\r
-_InterlockedCompareExchangePointer: \r
-    #\r
-    # InterlockedCompareExchangePointer() shares the same code as\r
-    # InterlockedCompareExchange32() on IA32 and thus no code inside this\r
-    # function\r
-    #\r
-\r
-\r
-#------------------------------------------------------------------------------\r
-# UINT32\r
-# EFIAPI\r
-# InterlockedCompareExchange32 (\r
-#   IN      UINT32                    *Value,\r
-#   IN      UINT32                    CompareValue,\r
-#   IN      UINT32                    ExchangeValue\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _InterlockedCompareExchange32\r
-_InterlockedCompareExchange32: \r
-    movl    4(%esp),%ecx\r
-    movl    8(%esp),%eax\r
-    movl    12(%esp),%edx\r
-    lock    cmpxchgl %edx,(%ecx)\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange64.S b/MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange64.S
new file mode 100644 (file)
index 0000000..abc51e9
--- /dev/null
@@ -0,0 +1,52 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   InterlockedCompareExchange64.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   InterlockedCompareExchange64 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINT64\r
+# EFIAPI\r
+# InterlockedCompareExchange64 (\r
+#   IN      UINT64                    *Value,\r
+#   IN      UINT64                    CompareValue,\r
+#   IN      UINT64                    ExchangeValue\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _InterlockedCompareExchange64\r
+    push    %esi\r
+    push    %ebx\r
+    movl    12(%esp),%esi\r
+    movl    16(%esp),%eax\r
+    movl    20(%esp),%edx\r
+    movl    24(%esp),%ebx\r
+    movl    28(%esp),%ecx\r
+    lock    \r
+    cmpxchg8b   (%esi)\r
+    pop     %ebx\r
+    pop     %esi\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange64.s b/MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange64.s
deleted file mode 100644 (file)
index abc51e9..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   InterlockedCompareExchange64.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   InterlockedCompareExchange64 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINT64\r
-# EFIAPI\r
-# InterlockedCompareExchange64 (\r
-#   IN      UINT64                    *Value,\r
-#   IN      UINT64                    CompareValue,\r
-#   IN      UINT64                    ExchangeValue\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _InterlockedCompareExchange64\r
-    push    %esi\r
-    push    %ebx\r
-    movl    12(%esp),%esi\r
-    movl    16(%esp),%eax\r
-    movl    20(%esp),%edx\r
-    movl    24(%esp),%ebx\r
-    movl    28(%esp),%ecx\r
-    lock    \r
-    cmpxchg8b   (%esi)\r
-    pop     %ebx\r
-    pop     %esi\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/InterlockedDecrement.S b/MdePkg/Library/BaseLib/Ia32/InterlockedDecrement.S
new file mode 100644 (file)
index 0000000..a7b653a
--- /dev/null
@@ -0,0 +1,44 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   InterlockedDecrement.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   InterlockedDecrement function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINT32\r
+# EFIAPI\r
+# InterlockedDecrement (\r
+#   IN      UINT32                    *Value\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _InterlockedDecrement\r
+_InterlockedDecrement: \r
+    movl    4(%esp),%eax\r
+    lock    \r
+    decl     (%eax)\r
+    movl    (%eax),%eax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/InterlockedDecrement.s b/MdePkg/Library/BaseLib/Ia32/InterlockedDecrement.s
deleted file mode 100644 (file)
index a7b653a..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   InterlockedDecrement.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   InterlockedDecrement function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINT32\r
-# EFIAPI\r
-# InterlockedDecrement (\r
-#   IN      UINT32                    *Value\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _InterlockedDecrement\r
-_InterlockedDecrement: \r
-    movl    4(%esp),%eax\r
-    lock    \r
-    decl     (%eax)\r
-    movl    (%eax),%eax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/InterlockedIncrement.S b/MdePkg/Library/BaseLib/Ia32/InterlockedIncrement.S
new file mode 100644 (file)
index 0000000..3f9beec
--- /dev/null
@@ -0,0 +1,44 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   InterlockedIncrement.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   InterlockedIncrement function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINT32\r
+# EFIAPI\r
+# InterlockedIncrement (\r
+#   IN      UINT32                    *Value\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _InterlockedIncrement\r
+_InterlockedIncrement: \r
+    movl    4(%esp),%eax\r
+    lock    \r
+    incl     (%eax)\r
+    movl    (%eax),%eax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/InterlockedIncrement.s b/MdePkg/Library/BaseLib/Ia32/InterlockedIncrement.s
deleted file mode 100644 (file)
index 3f9beec..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   InterlockedIncrement.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   InterlockedIncrement function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINT32\r
-# EFIAPI\r
-# InterlockedIncrement (\r
-#   IN      UINT32                    *Value\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _InterlockedIncrement\r
-_InterlockedIncrement: \r
-    movl    4(%esp),%eax\r
-    lock    \r
-    incl     (%eax)\r
-    movl    (%eax),%eax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/Invd.S b/MdePkg/Library/BaseLib/Ia32/Invd.S
new file mode 100644 (file)
index 0000000..6d6c8d4
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   Invd.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmInvd function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# VOID\r
+# EFIAPI\r
+# AsmInvd (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmInvd\r
+_AsmInvd: \r
+    invd\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/Invd.s b/MdePkg/Library/BaseLib/Ia32/Invd.s
deleted file mode 100644 (file)
index 6d6c8d4..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   Invd.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmInvd function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# VOID\r
-# EFIAPI\r
-# AsmInvd (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmInvd\r
-_AsmInvd: \r
-    invd\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/LRotU64.S b/MdePkg/Library/BaseLib/Ia32/LRotU64.S
new file mode 100644 (file)
index 0000000..9c961ce
--- /dev/null
@@ -0,0 +1,43 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   LRotU64.asm\r
+#\r
+# Abstract:\r
+#\r
+#   64-bit left rotation for Ia32\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+.global _LRotU64\r
+    push    %ebx\r
+    movb    16(%esp),%cl\r
+    movl    12(%esp),%edx\r
+    movl    8(%esp),%eax\r
+    shldl   %cl,%edx,%ebx\r
+    shldl   %cl,%eax,%edx\r
+    rorl    %cl,%ebx\r
+    shldl   %cl,%ebx,%eax\r
+    testb   $32,%cl\r
+    cmovnz  %eax, %ecx\r
+    cmovnz  %edx, %eax \r
+    cmovnz  %ecx, %edx\r
+    pop     %ebx\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/LRotU64.s b/MdePkg/Library/BaseLib/Ia32/LRotU64.s
deleted file mode 100644 (file)
index 9c961ce..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   LRotU64.asm\r
-#\r
-# Abstract:\r
-#\r
-#   64-bit left rotation for Ia32\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-.global _LRotU64\r
-    push    %ebx\r
-    movb    16(%esp),%cl\r
-    movl    12(%esp),%edx\r
-    movl    8(%esp),%eax\r
-    shldl   %cl,%edx,%ebx\r
-    shldl   %cl,%eax,%edx\r
-    rorl    %cl,%ebx\r
-    shldl   %cl,%ebx,%eax\r
-    testb   $32,%cl\r
-    cmovnz  %eax, %ecx\r
-    cmovnz  %edx, %eax \r
-    cmovnz  %ecx, %edx\r
-    pop     %ebx\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/LShiftU64.S b/MdePkg/Library/BaseLib/Ia32/LShiftU64.S
new file mode 100644 (file)
index 0000000..4aa17c6
--- /dev/null
@@ -0,0 +1,36 @@
+#------------------------------------------------------------------------------
+#
+# 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.
+#
+# Module Name:
+#
+#   LShiftU64.asm
+#
+# Abstract:
+#
+#   64-bit left shift function for IA-32
+#
+#------------------------------------------------------------------------------
+
+    .686: 
+    #.MODEL flat,C
+    .code: 
+
+.global _InternalMathLShiftU64
+_InternalMathLShiftU64:
+    movb    12(%esp), %cl
+    xorl    %eax, %eax
+    movl    4(%esp), %edx
+    testb   $32, %cl
+    cmovz   %edx, %eax
+    cmovz   0x8(%esp), %edx
+    shld    %cl,%eax,%edx
+    shl     %cl, %eax
+    ret
diff --git a/MdePkg/Library/BaseLib/Ia32/LShiftU64.s b/MdePkg/Library/BaseLib/Ia32/LShiftU64.s
deleted file mode 100644 (file)
index 4aa17c6..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-#------------------------------------------------------------------------------
-#
-# 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.
-#
-# Module Name:
-#
-#   LShiftU64.asm
-#
-# Abstract:
-#
-#   64-bit left shift function for IA-32
-#
-#------------------------------------------------------------------------------
-
-    .686: 
-    #.MODEL flat,C
-    .code: 
-
-.global _InternalMathLShiftU64
-_InternalMathLShiftU64:
-    movb    12(%esp), %cl
-    xorl    %eax, %eax
-    movl    4(%esp), %edx
-    testb   $32, %cl
-    cmovz   %edx, %eax
-    cmovz   0x8(%esp), %edx
-    shld    %cl,%eax,%edx
-    shl     %cl, %eax
-    ret
diff --git a/MdePkg/Library/BaseLib/Ia32/LongJump.S b/MdePkg/Library/BaseLib/Ia32/LongJump.S
new file mode 100644 (file)
index 0000000..5fa1521
--- /dev/null
@@ -0,0 +1,38 @@
+#------------------------------------------------------------------------------
+#
+# 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.
+#
+# Module Name:
+#
+#   LongJump.Asm
+#
+# Abstract:
+#
+#   Implementation of _LongJump() on IA-32.
+#
+#------------------------------------------------------------------------------
+
+    .386: 
+    .code: 
+
+.globl _InternalLongJump
+_InternalLongJump:
+    popl    %eax
+    popl    %edx
+    popl    %eax
+    movl    (%edx), %ebx
+    movl    4(%edx), %esi
+    movl    8(%edx), %edi
+    movl    12(%edx), %ebp
+    movl    16(%edx), %esp
+    jmp     *20(%edx)
+#InternalLongJump ENDP
+
+
diff --git a/MdePkg/Library/BaseLib/Ia32/LongJump.s b/MdePkg/Library/BaseLib/Ia32/LongJump.s
deleted file mode 100644 (file)
index 5fa1521..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-#------------------------------------------------------------------------------
-#
-# 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.
-#
-# Module Name:
-#
-#   LongJump.Asm
-#
-# Abstract:
-#
-#   Implementation of _LongJump() on IA-32.
-#
-#------------------------------------------------------------------------------
-
-    .386: 
-    .code: 
-
-.globl _InternalLongJump
-_InternalLongJump:
-    popl    %eax
-    popl    %edx
-    popl    %eax
-    movl    (%edx), %ebx
-    movl    4(%edx), %esi
-    movl    8(%edx), %edi
-    movl    12(%edx), %ebp
-    movl    16(%edx), %esp
-    jmp     *20(%edx)
-#InternalLongJump ENDP
-
-
diff --git a/MdePkg/Library/BaseLib/Ia32/ModU64x32.S b/MdePkg/Library/BaseLib/Ia32/ModU64x32.S
new file mode 100644 (file)
index 0000000..ed9c2fe
--- /dev/null
@@ -0,0 +1,38 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   DivU64x32.asm\r
+#\r
+# Abstract:\r
+#\r
+#   Calculate the remainder of a 64-bit integer by a 32-bit integer\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+.global _ModU64x32\r
+_ModU64x32: \r
+    movl    8(%esp),%eax\r
+    movl    12(%esp),%ecx\r
+    xorl    %edx,%edx\r
+    divl    %ecx\r
+    movl    4(%esp),%eax\r
+    divl    %ecx\r
+    movl    %edx,%eax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ModU64x32.s b/MdePkg/Library/BaseLib/Ia32/ModU64x32.s
deleted file mode 100644 (file)
index ed9c2fe..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   DivU64x32.asm\r
-#\r
-# Abstract:\r
-#\r
-#   Calculate the remainder of a 64-bit integer by a 32-bit integer\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-.global _ModU64x32\r
-_ModU64x32: \r
-    movl    8(%esp),%eax\r
-    movl    12(%esp),%ecx\r
-    xorl    %edx,%edx\r
-    divl    %ecx\r
-    movl    4(%esp),%eax\r
-    divl    %ecx\r
-    movl    %edx,%eax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/Monitor.S b/MdePkg/Library/BaseLib/Ia32/Monitor.S
new file mode 100644 (file)
index 0000000..8da0e34
--- /dev/null
@@ -0,0 +1,46 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   Monitor.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmMonitor function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINT64\r
+# EFIAPI\r
+# AsmMonitor (\r
+#   IN      UINTN                     Eax,\r
+#   IN      UINTN                     Ecx,\r
+#   IN      UINTN                     Edx\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmMonitor\r
+_AsmMonitor: \r
+    movl    4(%esp),%eax\r
+    movl    8(%esp),%ecx\r
+    movl    12(%esp),%edx\r
+    monitor %eax,%ecx,%edx\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/Monitor.s b/MdePkg/Library/BaseLib/Ia32/Monitor.s
deleted file mode 100644 (file)
index 8da0e34..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   Monitor.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmMonitor function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINT64\r
-# EFIAPI\r
-# AsmMonitor (\r
-#   IN      UINTN                     Eax,\r
-#   IN      UINTN                     Ecx,\r
-#   IN      UINTN                     Edx\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmMonitor\r
-_AsmMonitor: \r
-    movl    4(%esp),%eax\r
-    movl    8(%esp),%ecx\r
-    movl    12(%esp),%edx\r
-    monitor %eax,%ecx,%edx\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/MultU64x32.S b/MdePkg/Library/BaseLib/Ia32/MultU64x32.S
new file mode 100644 (file)
index 0000000..572a312
--- /dev/null
@@ -0,0 +1,32 @@
+#------------------------------------------------------------------------------
+#
+# 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.
+#
+# Module Name:
+#
+#   MultU64x32.asm
+#
+# Abstract:
+#
+#   Calculate the product of a 64-bit integer and a 32-bit integer
+#
+#------------------------------------------------------------------------------
+
+    .386: 
+    .code: 
+
+.global _InternalMathMultU64x32
+_InternalMathMultU64x32:
+    movl    12(%esp),%ecx
+    movl    %ecx,%eax
+    imull   8(%esp),%ecx
+    mull   0x4(%esp)
+    addl    %ecx,%edx
+    ret
diff --git a/MdePkg/Library/BaseLib/Ia32/MultU64x32.s b/MdePkg/Library/BaseLib/Ia32/MultU64x32.s
deleted file mode 100644 (file)
index 572a312..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#------------------------------------------------------------------------------
-#
-# 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.
-#
-# Module Name:
-#
-#   MultU64x32.asm
-#
-# Abstract:
-#
-#   Calculate the product of a 64-bit integer and a 32-bit integer
-#
-#------------------------------------------------------------------------------
-
-    .386: 
-    .code: 
-
-.global _InternalMathMultU64x32
-_InternalMathMultU64x32:
-    movl    12(%esp),%ecx
-    movl    %ecx,%eax
-    imull   8(%esp),%ecx
-    mull   0x4(%esp)
-    addl    %ecx,%edx
-    ret
diff --git a/MdePkg/Library/BaseLib/Ia32/MultU64x64.S b/MdePkg/Library/BaseLib/Ia32/MultU64x64.S
new file mode 100644 (file)
index 0000000..8841fc4
--- /dev/null
@@ -0,0 +1,49 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   MultU64x64.asm\r
+#\r
+# Abstract:\r
+#\r
+#   Calculate the product of a 64-bit integer and another 64-bit integer\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+.global _MultS64x64\r
+_MultS64x64: \r
+    #\r
+    # MultS64x32 shares the same implementation with _MultU64x32, and thus no\r
+    # code inside this function.\r
+    #\r
+\r
+\r
+.global _MultU64x64\r
+    push    %ebx\r
+    movl    8(%esp),%ebx\r
+    movl    16(%esp),%edx\r
+    movl    %ebx,%ecx\r
+    movl    %edx,%eax\r
+    imull   20(%esp),%ebx\r
+    imull   12(%esp),%edx\r
+    addl    %edx,%ebx\r
+    mull    %ecx\r
+    addl    %ebx,%edx\r
+    pop     %ebx\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/MultU64x64.s b/MdePkg/Library/BaseLib/Ia32/MultU64x64.s
deleted file mode 100644 (file)
index 8841fc4..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   MultU64x64.asm\r
-#\r
-# Abstract:\r
-#\r
-#   Calculate the product of a 64-bit integer and another 64-bit integer\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-.global _MultS64x64\r
-_MultS64x64: \r
-    #\r
-    # MultS64x32 shares the same implementation with _MultU64x32, and thus no\r
-    # code inside this function.\r
-    #\r
-\r
-\r
-.global _MultU64x64\r
-    push    %ebx\r
-    movl    8(%esp),%ebx\r
-    movl    16(%esp),%edx\r
-    movl    %ebx,%ecx\r
-    movl    %edx,%eax\r
-    imull   20(%esp),%ebx\r
-    imull   12(%esp),%edx\r
-    addl    %edx,%ebx\r
-    mull    %ecx\r
-    addl    %ebx,%edx\r
-    pop     %ebx\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/Mwait.S b/MdePkg/Library/BaseLib/Ia32/Mwait.S
new file mode 100644 (file)
index 0000000..7e04453
--- /dev/null
@@ -0,0 +1,44 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   Mwait.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmMwait function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINT64\r
+# EFIAPI\r
+# AsmMwait (\r
+#   IN      UINTN                     Eax,\r
+#   IN      UINTN                     Ecx\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmMwait\r
+_AsmMwait: \r
+    movl    4(%esp),%eax\r
+    movl    8(%esp),%ecx\r
+    mwait   %eax,%ecx\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/Mwait.s b/MdePkg/Library/BaseLib/Ia32/Mwait.s
deleted file mode 100644 (file)
index 7e04453..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   Mwait.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmMwait function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINT64\r
-# EFIAPI\r
-# AsmMwait (\r
-#   IN      UINTN                     Eax,\r
-#   IN      UINTN                     Ecx\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmMwait\r
-_AsmMwait: \r
-    movl    4(%esp),%eax\r
-    movl    8(%esp),%ecx\r
-    mwait   %eax,%ecx\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/RRotU64.S b/MdePkg/Library/BaseLib/Ia32/RRotU64.S
new file mode 100644 (file)
index 0000000..541e420
--- /dev/null
@@ -0,0 +1,43 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   RRotU64.asm\r
+#\r
+# Abstract:\r
+#\r
+#   64-bit right rotation for Ia32\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+.global _RRotU64\r
+    push    %ebx\r
+    movb    16(%esp),%cl\r
+    movl    8(%esp),%eax\r
+    movl    12(%esp),%edx\r
+    shrdl   %cl,%eax,%ebx\r
+    shrdl   %cl,%edx,%eax\r
+    roll    %cl,%ebx\r
+    shrdl   %cl,%ebx,%edx\r
+    testb   $32,%cl\r
+    cmovnz  %eax, %ecx\r
+    cmovnz  %edx, %eax\r
+    cmovnz  %ecx, %edx\r
+    pop     %ebx\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/RRotU64.s b/MdePkg/Library/BaseLib/Ia32/RRotU64.s
deleted file mode 100644 (file)
index 541e420..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   RRotU64.asm\r
-#\r
-# Abstract:\r
-#\r
-#   64-bit right rotation for Ia32\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-.global _RRotU64\r
-    push    %ebx\r
-    movb    16(%esp),%cl\r
-    movl    8(%esp),%eax\r
-    movl    12(%esp),%edx\r
-    shrdl   %cl,%eax,%ebx\r
-    shrdl   %cl,%edx,%eax\r
-    roll    %cl,%ebx\r
-    shrdl   %cl,%ebx,%edx\r
-    testb   $32,%cl\r
-    cmovnz  %eax, %ecx\r
-    cmovnz  %edx, %eax\r
-    cmovnz  %ecx, %edx\r
-    pop     %ebx\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/RShiftU64.S b/MdePkg/Library/BaseLib/Ia32/RShiftU64.S
new file mode 100644 (file)
index 0000000..f6c28de
--- /dev/null
@@ -0,0 +1,35 @@
+#------------------------------------------------------------------------------
+#
+# 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.
+#
+# Module Name:
+#
+#   RShiftU64.asm
+#
+# Abstract:
+#
+#   64-bit logical right shift function for IA-32
+#
+#------------------------------------------------------------------------------
+
+    .686: 
+    .code: 
+
+.global _InternalMathRShiftU64
+_InternalMathRShiftU64:
+    movb    12(%esp),%cl
+    xorl    %edx,%edx
+    movl    8(%esp),%eax
+    testb   $32,%cl
+    cmovz   %eax, %edx
+    cmovz   0x4(%esp), %eax
+    shrdl   %cl,%edx,%eax
+    shr     %cl,%edx
+    ret
diff --git a/MdePkg/Library/BaseLib/Ia32/RShiftU64.s b/MdePkg/Library/BaseLib/Ia32/RShiftU64.s
deleted file mode 100644 (file)
index f6c28de..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-#------------------------------------------------------------------------------
-#
-# 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.
-#
-# Module Name:
-#
-#   RShiftU64.asm
-#
-# Abstract:
-#
-#   64-bit logical right shift function for IA-32
-#
-#------------------------------------------------------------------------------
-
-    .686: 
-    .code: 
-
-.global _InternalMathRShiftU64
-_InternalMathRShiftU64:
-    movb    12(%esp),%cl
-    xorl    %edx,%edx
-    movl    8(%esp),%eax
-    testb   $32,%cl
-    cmovz   %eax, %edx
-    cmovz   0x4(%esp), %eax
-    shrdl   %cl,%edx,%eax
-    shr     %cl,%edx
-    ret
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadCr0.S b/MdePkg/Library/BaseLib/Ia32/ReadCr0.S
new file mode 100644 (file)
index 0000000..3108b71
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadCr0.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadCr0 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmReadCr0 (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadCr0\r
+_AsmReadCr0: \r
+    movl    %cr0, %eax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadCr0.s b/MdePkg/Library/BaseLib/Ia32/ReadCr0.s
deleted file mode 100644 (file)
index 3108b71..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadCr0.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadCr0 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmReadCr0 (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadCr0\r
-_AsmReadCr0: \r
-    movl    %cr0, %eax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadCr2.S b/MdePkg/Library/BaseLib/Ia32/ReadCr2.S
new file mode 100644 (file)
index 0000000..3ce287a
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadCr2.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadCr2 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmReadCr2 (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadCr2\r
+_AsmReadCr2: \r
+    movl    %cr2, %eax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadCr2.s b/MdePkg/Library/BaseLib/Ia32/ReadCr2.s
deleted file mode 100644 (file)
index 3ce287a..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadCr2.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadCr2 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmReadCr2 (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadCr2\r
-_AsmReadCr2: \r
-    movl    %cr2, %eax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadCr3.S b/MdePkg/Library/BaseLib/Ia32/ReadCr3.S
new file mode 100644 (file)
index 0000000..2bd63c7
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadCr3.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadCr3 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmReadCr3 (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadCr3\r
+_AsmReadCr3: \r
+    movl    %cr3, %eax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadCr3.s b/MdePkg/Library/BaseLib/Ia32/ReadCr3.s
deleted file mode 100644 (file)
index 2bd63c7..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadCr3.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadCr3 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmReadCr3 (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadCr3\r
-_AsmReadCr3: \r
-    movl    %cr3, %eax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadCr4.S b/MdePkg/Library/BaseLib/Ia32/ReadCr4.S
new file mode 100644 (file)
index 0000000..4d746d8
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadCr4.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadCr4 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmReadCr4 (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadCr4\r
+_AsmReadCr4: \r
+    movl    %cr4, %eax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadCr4.s b/MdePkg/Library/BaseLib/Ia32/ReadCr4.s
deleted file mode 100644 (file)
index 4d746d8..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadCr4.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadCr4 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmReadCr4 (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadCr4\r
-_AsmReadCr4: \r
-    movl    %cr4, %eax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadCs.S b/MdePkg/Library/BaseLib/Ia32/ReadCs.S
new file mode 100644 (file)
index 0000000..66bf4b9
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadCs.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadCs function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINT16\r
+# EFIAPI\r
+# AsmReadCs (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadCs\r
+_AsmReadCs: \r
+    movw    %cs,%ax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadCs.s b/MdePkg/Library/BaseLib/Ia32/ReadCs.s
deleted file mode 100644 (file)
index 66bf4b9..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadCs.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadCs function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINT16\r
-# EFIAPI\r
-# AsmReadCs (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadCs\r
-_AsmReadCs: \r
-    movw    %cs,%ax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr0.S b/MdePkg/Library/BaseLib/Ia32/ReadDr0.S
new file mode 100644 (file)
index 0000000..00c521b
--- /dev/null
@@ -0,0 +1,40 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadDr0.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadDr0 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmReadDr0 (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadDr0\r
+_AsmReadDr0: \r
+    movl    %dr0, %eax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr0.s b/MdePkg/Library/BaseLib/Ia32/ReadDr0.s
deleted file mode 100644 (file)
index 00c521b..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadDr0.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadDr0 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmReadDr0 (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadDr0\r
-_AsmReadDr0: \r
-    movl    %dr0, %eax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr1.S b/MdePkg/Library/BaseLib/Ia32/ReadDr1.S
new file mode 100644 (file)
index 0000000..81d0e54
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadDr1.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadDr1 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmReadDr1 (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadDr1\r
+_AsmReadDr1: \r
+    movl    %dr1, %eax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr1.s b/MdePkg/Library/BaseLib/Ia32/ReadDr1.s
deleted file mode 100644 (file)
index 81d0e54..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadDr1.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadDr1 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmReadDr1 (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadDr1\r
-_AsmReadDr1: \r
-    movl    %dr1, %eax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr2.S b/MdePkg/Library/BaseLib/Ia32/ReadDr2.S
new file mode 100644 (file)
index 0000000..296fff6
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadDr2.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadDr2 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmReadDr2 (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadDr2\r
+_AsmReadDr2: \r
+    movl    %dr2, %eax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr2.s b/MdePkg/Library/BaseLib/Ia32/ReadDr2.s
deleted file mode 100644 (file)
index 296fff6..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadDr2.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadDr2 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmReadDr2 (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadDr2\r
-_AsmReadDr2: \r
-    movl    %dr2, %eax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr3.S b/MdePkg/Library/BaseLib/Ia32/ReadDr3.S
new file mode 100644 (file)
index 0000000..e99391d
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadDr3.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadDr3 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmReadDr3 (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadDr3\r
+_AsmReadDr3: \r
+    movl    %dr3, %eax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr3.s b/MdePkg/Library/BaseLib/Ia32/ReadDr3.s
deleted file mode 100644 (file)
index e99391d..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadDr3.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadDr3 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmReadDr3 (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadDr3\r
-_AsmReadDr3: \r
-    movl    %dr3, %eax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr4.S b/MdePkg/Library/BaseLib/Ia32/ReadDr4.S
new file mode 100644 (file)
index 0000000..7bff676
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadDr4.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadDr4 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmReadDr4 (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadDr4\r
+_AsmReadDr4: \r
+    movl    %dr4, %eax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr4.s b/MdePkg/Library/BaseLib/Ia32/ReadDr4.s
deleted file mode 100644 (file)
index 7bff676..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadDr4.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadDr4 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmReadDr4 (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadDr4\r
-_AsmReadDr4: \r
-    movl    %dr4, %eax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr5.S b/MdePkg/Library/BaseLib/Ia32/ReadDr5.S
new file mode 100644 (file)
index 0000000..df409e3
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadDr5.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadDr5 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmReadDr5 (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadDr5\r
+_AsmReadDr5: \r
+    movl    %dr5, %eax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr5.s b/MdePkg/Library/BaseLib/Ia32/ReadDr5.s
deleted file mode 100644 (file)
index df409e3..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadDr5.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadDr5 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmReadDr5 (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadDr5\r
-_AsmReadDr5: \r
-    movl    %dr5, %eax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr6.S b/MdePkg/Library/BaseLib/Ia32/ReadDr6.S
new file mode 100644 (file)
index 0000000..bdadd80
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadDr6.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadDr6 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmReadDr6 (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadDr6\r
+_AsmReadDr6: \r
+    movl    %dr6, %eax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr6.s b/MdePkg/Library/BaseLib/Ia32/ReadDr6.s
deleted file mode 100644 (file)
index bdadd80..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadDr6.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadDr6 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmReadDr6 (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadDr6\r
-_AsmReadDr6: \r
-    movl    %dr6, %eax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr7.S b/MdePkg/Library/BaseLib/Ia32/ReadDr7.S
new file mode 100644 (file)
index 0000000..cf213ca
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadDr7.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadDr7 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmReadDr7 (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadDr7\r
+_AsmReadDr7: \r
+    movl    %dr7, %eax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDr7.s b/MdePkg/Library/BaseLib/Ia32/ReadDr7.s
deleted file mode 100644 (file)
index cf213ca..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadDr7.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadDr7 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmReadDr7 (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadDr7\r
-_AsmReadDr7: \r
-    movl    %dr7, %eax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDs.S b/MdePkg/Library/BaseLib/Ia32/ReadDs.S
new file mode 100644 (file)
index 0000000..ca1e379
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadDs.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadDs function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINT16\r
+# EFIAPI\r
+# AsmReadDs (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadDs\r
+_AsmReadDs: \r
+    movw    %ds,%ax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDs.s b/MdePkg/Library/BaseLib/Ia32/ReadDs.s
deleted file mode 100644 (file)
index ca1e379..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadDs.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadDs function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINT16\r
-# EFIAPI\r
-# AsmReadDs (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadDs\r
-_AsmReadDs: \r
-    movw    %ds,%ax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadEflags.S b/MdePkg/Library/BaseLib/Ia32/ReadEflags.S
new file mode 100644 (file)
index 0000000..a70a209
--- /dev/null
@@ -0,0 +1,42 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadEflags.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadEflags function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmReadEflags (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadEflags\r
+_AsmReadEflags: \r
+    pushfl\r
+    popl    %eax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadEflags.s b/MdePkg/Library/BaseLib/Ia32/ReadEflags.s
deleted file mode 100644 (file)
index a70a209..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadEflags.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadEflags function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmReadEflags (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadEflags\r
-_AsmReadEflags: \r
-    pushfl\r
-    popl    %eax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadEs.S b/MdePkg/Library/BaseLib/Ia32/ReadEs.S
new file mode 100644 (file)
index 0000000..69727b5
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadEs.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadEs function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINT16\r
+# EFIAPI\r
+# AsmReadEs (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadEs\r
+_AsmReadEs: \r
+    movw    %es,%ax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadEs.s b/MdePkg/Library/BaseLib/Ia32/ReadEs.s
deleted file mode 100644 (file)
index 69727b5..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadEs.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadEs function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINT16\r
-# EFIAPI\r
-# AsmReadEs (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadEs\r
-_AsmReadEs: \r
-    movw    %es,%ax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadFs.S b/MdePkg/Library/BaseLib/Ia32/ReadFs.S
new file mode 100644 (file)
index 0000000..7f4fdfa
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadFs.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadFs function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINT16\r
+# EFIAPI\r
+# AsmReadFs (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadFs\r
+_AsmReadFs: \r
+    movw    %fs,%ax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadFs.s b/MdePkg/Library/BaseLib/Ia32/ReadFs.s
deleted file mode 100644 (file)
index 7f4fdfa..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadFs.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadFs function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINT16\r
-# EFIAPI\r
-# AsmReadFs (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadFs\r
-_AsmReadFs: \r
-    movw    %fs,%ax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadGdtr.S b/MdePkg/Library/BaseLib/Ia32/ReadGdtr.S
new file mode 100644 (file)
index 0000000..f03a056
--- /dev/null
@@ -0,0 +1,42 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadGdtr.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadGdtr function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# VOID\r
+# EFIAPI\r
+# AsmReadGdtr (\r
+#   OUT IA32_DESCRIPTOR  *Gdtr\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadGdtr\r
+_AsmReadGdtr: \r
+    movl    4(%esp),%eax\r
+    sgdt    (%eax)\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadGdtr.s b/MdePkg/Library/BaseLib/Ia32/ReadGdtr.s
deleted file mode 100644 (file)
index f03a056..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadGdtr.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadGdtr function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# VOID\r
-# EFIAPI\r
-# AsmReadGdtr (\r
-#   OUT IA32_DESCRIPTOR  *Gdtr\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadGdtr\r
-_AsmReadGdtr: \r
-    movl    4(%esp),%eax\r
-    sgdt    (%eax)\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadGs.S b/MdePkg/Library/BaseLib/Ia32/ReadGs.S
new file mode 100644 (file)
index 0000000..0d88a60
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadGs.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadGs function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINT16\r
+# EFIAPI\r
+# AsmReadGs (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadGs\r
+_AsmReadGs: \r
+    movw    %gs,%ax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadGs.s b/MdePkg/Library/BaseLib/Ia32/ReadGs.s
deleted file mode 100644 (file)
index 0d88a60..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadGs.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadGs function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINT16\r
-# EFIAPI\r
-# AsmReadGs (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadGs\r
-_AsmReadGs: \r
-    movw    %gs,%ax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadIdtr.S b/MdePkg/Library/BaseLib/Ia32/ReadIdtr.S
new file mode 100644 (file)
index 0000000..fa72d3b
--- /dev/null
@@ -0,0 +1,42 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadIdtr.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadIdtr function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# VOID\r
+# EFIAPI\r
+# AsmReadIdtr (\r
+#   OUT IA32_DESCRIPTOR  *Idtr\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadIdtr\r
+_AsmReadIdtr: \r
+    movl    4(%esp),%eax\r
+    sidt    (%eax)\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadIdtr.s b/MdePkg/Library/BaseLib/Ia32/ReadIdtr.s
deleted file mode 100644 (file)
index fa72d3b..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadIdtr.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadIdtr function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# VOID\r
-# EFIAPI\r
-# AsmReadIdtr (\r
-#   OUT IA32_DESCRIPTOR  *Idtr\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadIdtr\r
-_AsmReadIdtr: \r
-    movl    4(%esp),%eax\r
-    sidt    (%eax)\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadLdtr.S b/MdePkg/Library/BaseLib/Ia32/ReadLdtr.S
new file mode 100644 (file)
index 0000000..aea1d92
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadLdtr.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadLdtr function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINT16\r
+# EFIAPI\r
+# AsmReadLdtr (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadLdtr\r
+_AsmReadLdtr: \r
+    sldt   %eax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadLdtr.s b/MdePkg/Library/BaseLib/Ia32/ReadLdtr.s
deleted file mode 100644 (file)
index aea1d92..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadLdtr.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadLdtr function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINT16\r
-# EFIAPI\r
-# AsmReadLdtr (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadLdtr\r
-_AsmReadLdtr: \r
-    sldt   %eax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm0.S b/MdePkg/Library/BaseLib/Ia32/ReadMm0.S
new file mode 100644 (file)
index 0000000..dd6b846
--- /dev/null
@@ -0,0 +1,46 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadMm0.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadMm0 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmReadMm0 (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadMm0\r
+_AsmReadMm0: \r
+    pushl   %eax\r
+    pushl   %eax\r
+    movq    %mm0,(%esp)\r
+    popl    %eax\r
+    popl    %edx\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm0.s b/MdePkg/Library/BaseLib/Ia32/ReadMm0.s
deleted file mode 100644 (file)
index dd6b846..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadMm0.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadMm0 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmReadMm0 (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadMm0\r
-_AsmReadMm0: \r
-    pushl   %eax\r
-    pushl   %eax\r
-    movq    %mm0,(%esp)\r
-    popl    %eax\r
-    popl    %edx\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm1.S b/MdePkg/Library/BaseLib/Ia32/ReadMm1.S
new file mode 100644 (file)
index 0000000..cbaafff
--- /dev/null
@@ -0,0 +1,46 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadMm1.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadMm1 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmReadMm1 (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadMm1\r
+_AsmReadMm1: \r
+    pushl   %eax\r
+    pushl   %eax\r
+    movq    %mm1,(%esp)\r
+    popl    %eax\r
+    popl    %edx\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm1.s b/MdePkg/Library/BaseLib/Ia32/ReadMm1.s
deleted file mode 100644 (file)
index cbaafff..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadMm1.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadMm1 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmReadMm1 (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadMm1\r
-_AsmReadMm1: \r
-    pushl   %eax\r
-    pushl   %eax\r
-    movq    %mm1,(%esp)\r
-    popl    %eax\r
-    popl    %edx\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm2.S b/MdePkg/Library/BaseLib/Ia32/ReadMm2.S
new file mode 100644 (file)
index 0000000..22a5d71
--- /dev/null
@@ -0,0 +1,46 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadMm2.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadMm2 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmReadMm2 (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadMm2\r
+_AsmReadMm2: \r
+    pushl   %eax\r
+    pushl   %eax\r
+    movq    %mm2,(%esp)\r
+    popl    %eax\r
+    popl    %edx\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm2.s b/MdePkg/Library/BaseLib/Ia32/ReadMm2.s
deleted file mode 100644 (file)
index 22a5d71..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadMm2.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadMm2 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmReadMm2 (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadMm2\r
-_AsmReadMm2: \r
-    pushl   %eax\r
-    pushl   %eax\r
-    movq    %mm2,(%esp)\r
-    popl    %eax\r
-    popl    %edx\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm3.S b/MdePkg/Library/BaseLib/Ia32/ReadMm3.S
new file mode 100644 (file)
index 0000000..dae267a
--- /dev/null
@@ -0,0 +1,46 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadMm3.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadMm3 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmReadMm3 (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadMm3\r
+_AsmReadMm3: \r
+    pushl   %eax\r
+    pushl   %eax\r
+    movq    %mm3,(%esp)\r
+    popl    %eax\r
+    popl    %edx\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm3.s b/MdePkg/Library/BaseLib/Ia32/ReadMm3.s
deleted file mode 100644 (file)
index dae267a..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadMm3.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadMm3 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmReadMm3 (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadMm3\r
-_AsmReadMm3: \r
-    pushl   %eax\r
-    pushl   %eax\r
-    movq    %mm3,(%esp)\r
-    popl    %eax\r
-    popl    %edx\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm4.S b/MdePkg/Library/BaseLib/Ia32/ReadMm4.S
new file mode 100644 (file)
index 0000000..0ae1afc
--- /dev/null
@@ -0,0 +1,46 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadMm4.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadMm4 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmReadMm4 (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadMm4\r
+_AsmReadMm4: \r
+    pushl   %eax\r
+    pushl   %eax\r
+    movq    %mm4,(%esp)\r
+    popl    %eax\r
+    popl    %edx\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm4.s b/MdePkg/Library/BaseLib/Ia32/ReadMm4.s
deleted file mode 100644 (file)
index 0ae1afc..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadMm4.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadMm4 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmReadMm4 (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadMm4\r
-_AsmReadMm4: \r
-    pushl   %eax\r
-    pushl   %eax\r
-    movq    %mm4,(%esp)\r
-    popl    %eax\r
-    popl    %edx\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm5.S b/MdePkg/Library/BaseLib/Ia32/ReadMm5.S
new file mode 100644 (file)
index 0000000..2fad14a
--- /dev/null
@@ -0,0 +1,46 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadMm5.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadMm5 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmReadMm5 (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadMm5\r
+_AsmReadMm5: \r
+    pushl   %eax\r
+    pushl   %eax\r
+    movq    %mm5,(%esp)\r
+    popl    %eax\r
+    popl    %edx\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm5.s b/MdePkg/Library/BaseLib/Ia32/ReadMm5.s
deleted file mode 100644 (file)
index 2fad14a..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadMm5.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadMm5 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmReadMm5 (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadMm5\r
-_AsmReadMm5: \r
-    pushl   %eax\r
-    pushl   %eax\r
-    movq    %mm5,(%esp)\r
-    popl    %eax\r
-    popl    %edx\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm6.S b/MdePkg/Library/BaseLib/Ia32/ReadMm6.S
new file mode 100644 (file)
index 0000000..22cddfa
--- /dev/null
@@ -0,0 +1,46 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadMm6.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadMm6 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmReadMm6 (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadMm6\r
+_AsmReadMm6: \r
+    pushl   %eax\r
+    pushl   %eax\r
+    movq    %mm6,(%esp)\r
+    popl    %eax\r
+    popl    %edx\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm6.s b/MdePkg/Library/BaseLib/Ia32/ReadMm6.s
deleted file mode 100644 (file)
index 22cddfa..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadMm6.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadMm6 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmReadMm6 (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadMm6\r
-_AsmReadMm6: \r
-    pushl   %eax\r
-    pushl   %eax\r
-    movq    %mm6,(%esp)\r
-    popl    %eax\r
-    popl    %edx\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm7.S b/MdePkg/Library/BaseLib/Ia32/ReadMm7.S
new file mode 100644 (file)
index 0000000..fb485a0
--- /dev/null
@@ -0,0 +1,46 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadMm7.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadMm7 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmReadMm7 (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadMm7\r
+_AsmReadMm7: \r
+    pushl   %eax\r
+    pushl   %eax\r
+    movq    %mm7,(%esp)\r
+    popl    %eax\r
+    popl    %edx\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm7.s b/MdePkg/Library/BaseLib/Ia32/ReadMm7.s
deleted file mode 100644 (file)
index fb485a0..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadMm7.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadMm7 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmReadMm7 (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadMm7\r
-_AsmReadMm7: \r
-    pushl   %eax\r
-    pushl   %eax\r
-    movq    %mm7,(%esp)\r
-    popl    %eax\r
-    popl    %edx\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMsr64.S b/MdePkg/Library/BaseLib/Ia32/ReadMsr64.S
new file mode 100644 (file)
index 0000000..6a2c9c6
--- /dev/null
@@ -0,0 +1,57 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadMsr64.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadMsr64 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINT32\r
+# EFIAPI\r
+# AsmReadMsr32 (\r
+#   IN UINT32  Index\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadMsr32\r
+_AsmReadMsr32: \r
+    #\r
+    # AsmReadMsr32 shares the same implementation with AsmReadMsr64 and thus no\r
+    # code inside this function\r
+    #\r
+\r
+\r
+#------------------------------------------------------------------------------\r
+# UINT64\r
+# EFIAPI\r
+# AsmReadMsr64 (\r
+#   IN UINT64  Index\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadMsr64\r
+_AsmReadMsr64: \r
+    movl    4(%esp),%ecx\r
+    rdmsr\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMsr64.s b/MdePkg/Library/BaseLib/Ia32/ReadMsr64.s
deleted file mode 100644 (file)
index 6a2c9c6..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadMsr64.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadMsr64 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINT32\r
-# EFIAPI\r
-# AsmReadMsr32 (\r
-#   IN UINT32  Index\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadMsr32\r
-_AsmReadMsr32: \r
-    #\r
-    # AsmReadMsr32 shares the same implementation with AsmReadMsr64 and thus no\r
-    # code inside this function\r
-    #\r
-\r
-\r
-#------------------------------------------------------------------------------\r
-# UINT64\r
-# EFIAPI\r
-# AsmReadMsr64 (\r
-#   IN UINT64  Index\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadMsr64\r
-_AsmReadMsr64: \r
-    movl    4(%esp),%ecx\r
-    rdmsr\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadPmc.S b/MdePkg/Library/BaseLib/Ia32/ReadPmc.S
new file mode 100644 (file)
index 0000000..868e85c
--- /dev/null
@@ -0,0 +1,42 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadPmc.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadPmc function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINT64\r
+# EFIAPI\r
+# AsmReadPmc (\r
+#   IN UINT32   PmcIndex\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadPmc\r
+_AsmReadPmc: \r
+    movl    4(%esp),%ecx\r
+    rdpmc\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadPmc.s b/MdePkg/Library/BaseLib/Ia32/ReadPmc.s
deleted file mode 100644 (file)
index 868e85c..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadPmc.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadPmc function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINT64\r
-# EFIAPI\r
-# AsmReadPmc (\r
-#   IN UINT32   PmcIndex\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadPmc\r
-_AsmReadPmc: \r
-    movl    4(%esp),%ecx\r
-    rdpmc\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadSs.S b/MdePkg/Library/BaseLib/Ia32/ReadSs.S
new file mode 100644 (file)
index 0000000..7db65c1
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadSs.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadSs function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINT16\r
+# EFIAPI\r
+# AsmReadSs (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadSs\r
+_AsmReadSs: \r
+    movw    %ss,%ax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadSs.s b/MdePkg/Library/BaseLib/Ia32/ReadSs.s
deleted file mode 100644 (file)
index 7db65c1..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadSs.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadSs function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINT16\r
-# EFIAPI\r
-# AsmReadSs (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadSs\r
-_AsmReadSs: \r
-    movw    %ss,%ax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadTr.S b/MdePkg/Library/BaseLib/Ia32/ReadTr.S
new file mode 100644 (file)
index 0000000..8c31e9d
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadTr.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadTr function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINT16\r
+# EFIAPI\r
+# AsmReadTr (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadTr\r
+_AsmReadTr: \r
+    str     %eax\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadTr.s b/MdePkg/Library/BaseLib/Ia32/ReadTr.s
deleted file mode 100644 (file)
index 8c31e9d..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadTr.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadTr function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINT16\r
-# EFIAPI\r
-# AsmReadTr (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadTr\r
-_AsmReadTr: \r
-    str     %eax\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadTsc.S b/MdePkg/Library/BaseLib/Ia32/ReadTsc.S
new file mode 100644 (file)
index 0000000..e7981c0
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   ReadTsc.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmReadTsc function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINT64\r
+# EFIAPI\r
+# AsmReadTsc (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmReadTsc\r
+_AsmReadTsc: \r
+    rdtsc\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadTsc.s b/MdePkg/Library/BaseLib/Ia32/ReadTsc.s
deleted file mode 100644 (file)
index e7981c0..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   ReadTsc.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmReadTsc function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINT64\r
-# EFIAPI\r
-# AsmReadTsc (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmReadTsc\r
-_AsmReadTsc: \r
-    rdtsc\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/SetJump.S b/MdePkg/Library/BaseLib/Ia32/SetJump.S
new file mode 100644 (file)
index 0000000..b1b6a84
--- /dev/null
@@ -0,0 +1,40 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   SetJump.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   Implementation of SetJump() on IA-32.\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+.global _SetJump\r
+_SetJump: \r
+    popl    %ecx\r
+    movl    (%esp),%edx\r
+    movl    %ebx,(%edx)\r
+    movl    %esi,4(%edx)\r
+    movl    %edi,8(%edx)\r
+    movl    %ebp,12(%edx)\r
+    movl    %esp,16(%edx)\r
+    movl    %ecx,20(%edx)\r
+    xorl    %eax,%eax\r
+    jmp     *%ecx\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/SetJump.s b/MdePkg/Library/BaseLib/Ia32/SetJump.s
deleted file mode 100644 (file)
index b1b6a84..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   SetJump.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   Implementation of SetJump() on IA-32.\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-.global _SetJump\r
-_SetJump: \r
-    popl    %ecx\r
-    movl    (%esp),%edx\r
-    movl    %ebx,(%edx)\r
-    movl    %esi,4(%edx)\r
-    movl    %edi,8(%edx)\r
-    movl    %ebp,12(%edx)\r
-    movl    %esp,16(%edx)\r
-    movl    %ecx,20(%edx)\r
-    xorl    %eax,%eax\r
-    jmp     *%ecx\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/SwapBytes64.S b/MdePkg/Library/BaseLib/Ia32/SwapBytes64.S
new file mode 100644 (file)
index 0000000..01af949
--- /dev/null
@@ -0,0 +1,34 @@
+#------------------------------------------------------------------------------
+#
+# 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.
+#
+# Module Name:
+#
+#   CpuId.Asm
+#
+# Abstract:
+#
+#   AsmCpuid function
+#
+# Notes:
+#
+#------------------------------------------------------------------------------
+
+
+.global _InternalMathSwapBytes64
+_InternalMathSwapBytes64:
+
+    movl    8(%esp), %eax
+    movl    4(%esp), %edx
+    bswapl  %eax
+    bswapl  %edx
+    ret
+
+
diff --git a/MdePkg/Library/BaseLib/Ia32/SwapBytes64.s b/MdePkg/Library/BaseLib/Ia32/SwapBytes64.s
deleted file mode 100644 (file)
index 01af949..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-#------------------------------------------------------------------------------
-#
-# 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.
-#
-# Module Name:
-#
-#   CpuId.Asm
-#
-# Abstract:
-#
-#   AsmCpuid function
-#
-# Notes:
-#
-#------------------------------------------------------------------------------
-
-
-.global _InternalMathSwapBytes64
-_InternalMathSwapBytes64:
-
-    movl    8(%esp), %eax
-    movl    4(%esp), %edx
-    bswapl  %eax
-    bswapl  %edx
-    ret
-
-
diff --git a/MdePkg/Library/BaseLib/Ia32/Thunk16.S b/MdePkg/Library/BaseLib/Ia32/Thunk16.S
new file mode 100644 (file)
index 0000000..fa7be91
--- /dev/null
@@ -0,0 +1,27 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   Thunk.asm\r
+#\r
+# Abstract:\r
+#\r
+#   Real mode thunk\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+\r
+                        ##########\r
+                        # FIXME! #\r
+                        ##########\r
diff --git a/MdePkg/Library/BaseLib/Ia32/Thunk16.s b/MdePkg/Library/BaseLib/Ia32/Thunk16.s
deleted file mode 100644 (file)
index fa7be91..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   Thunk.asm\r
-#\r
-# Abstract:\r
-#\r
-#   Real mode thunk\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-\r
-                        ##########\r
-                        # FIXME! #\r
-                        ##########\r
diff --git a/MdePkg/Library/BaseLib/Ia32/Wbinvd.S b/MdePkg/Library/BaseLib/Ia32/Wbinvd.S
new file mode 100644 (file)
index 0000000..e9f6c0c
--- /dev/null
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   Wbinvd.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmWbinvd function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# VOID\r
+# EFIAPI\r
+# AsmWbinvd (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmWbinvd\r
+_AsmWbinvd: \r
+    wbinvd\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/Wbinvd.s b/MdePkg/Library/BaseLib/Ia32/Wbinvd.s
deleted file mode 100644 (file)
index e9f6c0c..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   Wbinvd.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmWbinvd function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# VOID\r
-# EFIAPI\r
-# AsmWbinvd (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmWbinvd\r
-_AsmWbinvd: \r
-    wbinvd\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteCr0.S b/MdePkg/Library/BaseLib/Ia32/WriteCr0.S
new file mode 100644 (file)
index 0000000..6e3ad50
--- /dev/null
@@ -0,0 +1,42 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   WriteCr0.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmWriteCr0 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmWriteCr0 (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmWriteCr0\r
+_AsmWriteCr0: \r
+    movl    4(%esp),%eax\r
+    movl    %eax, %cr0\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteCr0.s b/MdePkg/Library/BaseLib/Ia32/WriteCr0.s
deleted file mode 100644 (file)
index 6e3ad50..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   WriteCr0.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmWriteCr0 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmWriteCr0 (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmWriteCr0\r
-_AsmWriteCr0: \r
-    movl    4(%esp),%eax\r
-    movl    %eax, %cr0\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteCr2.S b/MdePkg/Library/BaseLib/Ia32/WriteCr2.S
new file mode 100644 (file)
index 0000000..cf45e01
--- /dev/null
@@ -0,0 +1,42 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   WriteCr2.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmWriteCr2 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmWriteCr2 (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmWriteCr2\r
+_AsmWriteCr2: \r
+    movl    4(%esp),%eax\r
+    movl    %eax, %cr2\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteCr2.s b/MdePkg/Library/BaseLib/Ia32/WriteCr2.s
deleted file mode 100644 (file)
index cf45e01..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   WriteCr2.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmWriteCr2 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmWriteCr2 (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmWriteCr2\r
-_AsmWriteCr2: \r
-    movl    4(%esp),%eax\r
-    movl    %eax, %cr2\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteCr3.S b/MdePkg/Library/BaseLib/Ia32/WriteCr3.S
new file mode 100644 (file)
index 0000000..1c55581
--- /dev/null
@@ -0,0 +1,42 @@
+#------------------------------------------------------------------------------\r
+#\r
+# Copyright (c) 2006, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+# Module Name:\r
+#\r
+#   WriteCr3.Asm\r
+#\r
+# Abstract:\r
+#\r
+#   AsmWriteCr3 function\r
+#\r
+# Notes:\r
+#\r
+#------------------------------------------------------------------------------\r
+\r
+\r
+\r
+     \r
+\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# EFIAPI\r
+# AsmWriteCr3 (\r
+#   VOID\r
+#   );\r
+#------------------------------------------------------------------------------\r
+.global _AsmWriteCr3\r
+_AsmWriteCr3: \r
+    movl    4(%esp),%eax\r
+    movl    %eax, %cr3\r
+    ret\r
+\r
+\r
+\r
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteCr3.s b/MdePkg/Library/BaseLib/Ia32/WriteCr3.s
deleted file mode 100644 (file)
index 1c55581..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   WriteCr3.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   AsmWriteCr3 function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-\r
-     \r
-\r
-#------------------------------------------------------------------------------\r
-# UINTN\r
-# EFIAPI\r
-# AsmWriteCr3 (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-.global _AsmWriteCr3\r
-_AsmWriteCr3: \r
-    movl    4(%esp),%eax\r
-    movl    %eax, %cr3\r
-    ret\r
-\r
-\r
-\r
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteCr4.S b/MdePkg/Library/BaseLib/Ia32/WriteCr4.S
new file mode 100644 (file)
index 0000000..fbe48c1
--- /dev/null
@@ -0,0