summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-08-11 15:35:27 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-08-11 15:35:27 +0000
commit0da835f99b55db369cf66e014f4817c925fb7c8d (patch)
tree0d943be3627edccd8ee99f14dd7505751700c592
parent1fef058f4b8fefc455bb171e4908c3e835b1b492 (diff)
downloadedk2-0da835f99b55db369cf66e014f4817c925fb7c8d.zip
edk2-0da835f99b55db369cf66e014f4817c925fb7c8d.tar.gz
edk2-0da835f99b55db369cf66e014f4817c925fb7c8d.tar.bz2
Remove all unnecessary .align directives in MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9042 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdePkg/Library/BaseLib/X64/EnableDisableInterrupts.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/Monitor.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/Mwait.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadCr0.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadCr2.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadCr3.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadCr4.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadCs.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadDr0.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadDr1.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadDr2.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadDr3.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadDr4.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadDr5.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadDr6.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadDr7.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadDs.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadEflags.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadEs.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadFs.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadGdtr.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadGs.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadIdtr.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadLdtr.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadMm0.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadMm1.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadMm2.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadMm3.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadMm4.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadMm5.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadMm6.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadMm7.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadMsr64.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadPmc.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadSs.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadTr.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadTsc.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/Wbinvd.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/WriteDr0.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/WriteDr1.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/WriteDr2.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/WriteDr3.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/WriteIdtr.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/WriteLdtr.S3
-rw-r--r--MdePkg/Library/BaseLib/X64/WriteMsr64.S3
-rw-r--r--MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.S3
46 files changed, 46 insertions, 92 deletions
diff --git a/MdePkg/Library/BaseLib/X64/EnableDisableInterrupts.S b/MdePkg/Library/BaseLib/X64/EnableDisableInterrupts.S
index b3eb121..cb99d64 100644
--- a/MdePkg/Library/BaseLib/X64/EnableDisableInterrupts.S
+++ b/MdePkg/Library/BaseLib/X64/EnableDisableInterrupts.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(EnableDisableInterrupts)
-.align 16
ASM_PFX(EnableDisableInterrupts):
sti
cli
diff --git a/MdePkg/Library/BaseLib/X64/Monitor.S b/MdePkg/Library/BaseLib/X64/Monitor.S
index 0be3b98..c7523cd 100644
--- a/MdePkg/Library/BaseLib/X64/Monitor.S
+++ b/MdePkg/Library/BaseLib/X64/Monitor.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -32,7 +32,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmMonitor)
-.align 16
ASM_PFX(AsmMonitor):
mov %ecx,%eax
mov %edx,%ecx
diff --git a/MdePkg/Library/BaseLib/X64/Mwait.S b/MdePkg/Library/BaseLib/X64/Mwait.S
index 403ed26..25d07a1 100644
--- a/MdePkg/Library/BaseLib/X64/Mwait.S
+++ b/MdePkg/Library/BaseLib/X64/Mwait.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -31,7 +31,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmMwait)
-.align 16
ASM_PFX(AsmMwait):
mov %ecx,%eax
mov %edx,%ecx
diff --git a/MdePkg/Library/BaseLib/X64/ReadCr0.S b/MdePkg/Library/BaseLib/X64/ReadCr0.S
index 23d375d..500bcca 100644
--- a/MdePkg/Library/BaseLib/X64/ReadCr0.S
+++ b/MdePkg/Library/BaseLib/X64/ReadCr0.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadCr0)
-.align 16
ASM_PFX(AsmReadCr0):
mov %cr0, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadCr2.S b/MdePkg/Library/BaseLib/X64/ReadCr2.S
index 26c2c2f..be3d34e 100644
--- a/MdePkg/Library/BaseLib/X64/ReadCr2.S
+++ b/MdePkg/Library/BaseLib/X64/ReadCr2.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadCr2)
-.align 16
ASM_PFX(AsmReadCr2):
mov %cr2, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadCr3.S b/MdePkg/Library/BaseLib/X64/ReadCr3.S
index 1161eb2..90a5ed3 100644
--- a/MdePkg/Library/BaseLib/X64/ReadCr3.S
+++ b/MdePkg/Library/BaseLib/X64/ReadCr3.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadCr3)
-.align 16
ASM_PFX(AsmReadCr3):
mov %cr3, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadCr4.S b/MdePkg/Library/BaseLib/X64/ReadCr4.S
index 192480d..ad10c1b 100644
--- a/MdePkg/Library/BaseLib/X64/ReadCr4.S
+++ b/MdePkg/Library/BaseLib/X64/ReadCr4.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadCr4)
-.align 16
ASM_PFX(AsmReadCr4):
mov %cr4, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadCs.S b/MdePkg/Library/BaseLib/X64/ReadCs.S
index 7bb98df..1511447 100644
--- a/MdePkg/Library/BaseLib/X64/ReadCs.S
+++ b/MdePkg/Library/BaseLib/X64/ReadCs.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadCs)
-.align 16
ASM_PFX(AsmReadCs):
mov %cs, %eax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadDr0.S b/MdePkg/Library/BaseLib/X64/ReadDr0.S
index e4fb3b3..e12ff89 100644
--- a/MdePkg/Library/BaseLib/X64/ReadDr0.S
+++ b/MdePkg/Library/BaseLib/X64/ReadDr0.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadDr0)
-.align 16
ASM_PFX(AsmReadDr0):
mov %dr0, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadDr1.S b/MdePkg/Library/BaseLib/X64/ReadDr1.S
index e5c1cc8..f74e8b3 100644
--- a/MdePkg/Library/BaseLib/X64/ReadDr1.S
+++ b/MdePkg/Library/BaseLib/X64/ReadDr1.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadDr1)
-.align 16
ASM_PFX(AsmReadDr1):
mov %dr1, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadDr2.S b/MdePkg/Library/BaseLib/X64/ReadDr2.S
index 9ef017d..f3ee3fa 100644
--- a/MdePkg/Library/BaseLib/X64/ReadDr2.S
+++ b/MdePkg/Library/BaseLib/X64/ReadDr2.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadDr2)
-.align 16
ASM_PFX(AsmReadDr2):
mov %dr2, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadDr3.S b/MdePkg/Library/BaseLib/X64/ReadDr3.S
index 277a999..994d29e 100644
--- a/MdePkg/Library/BaseLib/X64/ReadDr3.S
+++ b/MdePkg/Library/BaseLib/X64/ReadDr3.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadDr3)
-.align 16
ASM_PFX(AsmReadDr3):
mov %dr3, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadDr4.S b/MdePkg/Library/BaseLib/X64/ReadDr4.S
index 5f5651f..36c273b 100644
--- a/MdePkg/Library/BaseLib/X64/ReadDr4.S
+++ b/MdePkg/Library/BaseLib/X64/ReadDr4.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadDr4)
-.align 16
ASM_PFX(AsmReadDr4):
#DB 0fh, 21h, 0e0h
mov %dr4, %rax
diff --git a/MdePkg/Library/BaseLib/X64/ReadDr5.S b/MdePkg/Library/BaseLib/X64/ReadDr5.S
index 766fc45..c93fb34 100644
--- a/MdePkg/Library/BaseLib/X64/ReadDr5.S
+++ b/MdePkg/Library/BaseLib/X64/ReadDr5.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadDr5)
-.align 16
ASM_PFX(AsmReadDr5):
mov %dr5, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadDr6.S b/MdePkg/Library/BaseLib/X64/ReadDr6.S
index 0bde38c..cdc2b37 100644
--- a/MdePkg/Library/BaseLib/X64/ReadDr6.S
+++ b/MdePkg/Library/BaseLib/X64/ReadDr6.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadDr6)
-.align 16
ASM_PFX(AsmReadDr6):
mov %dr6, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadDr7.S b/MdePkg/Library/BaseLib/X64/ReadDr7.S
index 3de98eb..efd4ba1 100644
--- a/MdePkg/Library/BaseLib/X64/ReadDr7.S
+++ b/MdePkg/Library/BaseLib/X64/ReadDr7.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadDr7)
-.align 16
ASM_PFX(AsmReadDr7):
mov %dr7, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadDs.S b/MdePkg/Library/BaseLib/X64/ReadDs.S
index 119da00..ffb52fb 100644
--- a/MdePkg/Library/BaseLib/X64/ReadDs.S
+++ b/MdePkg/Library/BaseLib/X64/ReadDs.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadDs)
-.align 16
ASM_PFX(AsmReadDs):
movl %ds, %eax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadEflags.S b/MdePkg/Library/BaseLib/X64/ReadEflags.S
index c90d516..5717bf1 100644
--- a/MdePkg/Library/BaseLib/X64/ReadEflags.S
+++ b/MdePkg/Library/BaseLib/X64/ReadEflags.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadEflags)
-.align 16
ASM_PFX(AsmReadEflags):
pushfq
pop %rax
diff --git a/MdePkg/Library/BaseLib/X64/ReadEs.S b/MdePkg/Library/BaseLib/X64/ReadEs.S
index a75b95f..13dfff5 100644
--- a/MdePkg/Library/BaseLib/X64/ReadEs.S
+++ b/MdePkg/Library/BaseLib/X64/ReadEs.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadEs)
-.align 16
ASM_PFX(AsmReadEs):
mov %es, %eax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadFs.S b/MdePkg/Library/BaseLib/X64/ReadFs.S
index 5b26d5e..1909c43 100644
--- a/MdePkg/Library/BaseLib/X64/ReadFs.S
+++ b/MdePkg/Library/BaseLib/X64/ReadFs.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadFs)
-.align 16
ASM_PFX(AsmReadFs):
mov %fs, %eax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadGdtr.S b/MdePkg/Library/BaseLib/X64/ReadGdtr.S
index 889efeb..366873f 100644
--- a/MdePkg/Library/BaseLib/X64/ReadGdtr.S
+++ b/MdePkg/Library/BaseLib/X64/ReadGdtr.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(InternalX86ReadGdtr)
-.align 16
ASM_PFX(InternalX86ReadGdtr):
sgdt (%rcx)
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadGs.S b/MdePkg/Library/BaseLib/X64/ReadGs.S
index a89b27d..2323dbc 100644
--- a/MdePkg/Library/BaseLib/X64/ReadGs.S
+++ b/MdePkg/Library/BaseLib/X64/ReadGs.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadGs)
-.align 16
ASM_PFX(AsmReadGs):
mov %gs, %eax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadIdtr.S b/MdePkg/Library/BaseLib/X64/ReadIdtr.S
index efdaf77..5996c95 100644
--- a/MdePkg/Library/BaseLib/X64/ReadIdtr.S
+++ b/MdePkg/Library/BaseLib/X64/ReadIdtr.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(InternalX86ReadIdtr)
-.align 16
ASM_PFX(InternalX86ReadIdtr):
sidt (%rcx)
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadLdtr.S b/MdePkg/Library/BaseLib/X64/ReadLdtr.S
index 6e7e0a3..0171ec1 100644
--- a/MdePkg/Library/BaseLib/X64/ReadLdtr.S
+++ b/MdePkg/Library/BaseLib/X64/ReadLdtr.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadLdtr)
-.align 16
ASM_PFX(AsmReadLdtr):
sldt %eax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadMm0.S b/MdePkg/Library/BaseLib/X64/ReadMm0.S
index dd259ed..947343f 100644
--- a/MdePkg/Library/BaseLib/X64/ReadMm0.S
+++ b/MdePkg/Library/BaseLib/X64/ReadMm0.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadMm0)
-.align 16
ASM_PFX(AsmReadMm0):
movd %mm0, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadMm1.S b/MdePkg/Library/BaseLib/X64/ReadMm1.S
index b3eed9f..f85a125 100644
--- a/MdePkg/Library/BaseLib/X64/ReadMm1.S
+++ b/MdePkg/Library/BaseLib/X64/ReadMm1.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadMm1)
-.align 16
ASM_PFX(AsmReadMm1):
movd %mm1, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadMm2.S b/MdePkg/Library/BaseLib/X64/ReadMm2.S
index 2459fcd..f666918 100644
--- a/MdePkg/Library/BaseLib/X64/ReadMm2.S
+++ b/MdePkg/Library/BaseLib/X64/ReadMm2.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadMm2)
-.align 16
ASM_PFX(AsmReadMm2):
movd %mm2, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadMm3.S b/MdePkg/Library/BaseLib/X64/ReadMm3.S
index 0cf5bc7..29f4f01 100644
--- a/MdePkg/Library/BaseLib/X64/ReadMm3.S
+++ b/MdePkg/Library/BaseLib/X64/ReadMm3.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadMm3)
-.align 16
ASM_PFX(AsmReadMm3):
movd %mm3, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadMm4.S b/MdePkg/Library/BaseLib/X64/ReadMm4.S
index fad10ae..ba8654a 100644
--- a/MdePkg/Library/BaseLib/X64/ReadMm4.S
+++ b/MdePkg/Library/BaseLib/X64/ReadMm4.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadMm4)
-.align 16
ASM_PFX(AsmReadMm4):
movd %mm4, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadMm5.S b/MdePkg/Library/BaseLib/X64/ReadMm5.S
index 03629d5..18a7434 100644
--- a/MdePkg/Library/BaseLib/X64/ReadMm5.S
+++ b/MdePkg/Library/BaseLib/X64/ReadMm5.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadMm5)
-.align 16
ASM_PFX(AsmReadMm5):
movd %mm5, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadMm6.S b/MdePkg/Library/BaseLib/X64/ReadMm6.S
index f496d3b..cd23e04 100644
--- a/MdePkg/Library/BaseLib/X64/ReadMm6.S
+++ b/MdePkg/Library/BaseLib/X64/ReadMm6.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadMm6)
-.align 16
ASM_PFX(AsmReadMm6):
movd %mm6, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadMm7.S b/MdePkg/Library/BaseLib/X64/ReadMm7.S
index aa6bb0f..9bcdbeb 100644
--- a/MdePkg/Library/BaseLib/X64/ReadMm7.S
+++ b/MdePkg/Library/BaseLib/X64/ReadMm7.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadMm7)
-.align 16
ASM_PFX(AsmReadMm7):
movd %mm7, %rax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadMsr64.S b/MdePkg/Library/BaseLib/X64/ReadMsr64.S
index 32be9dc..fd8f313 100644
--- a/MdePkg/Library/BaseLib/X64/ReadMsr64.S
+++ b/MdePkg/Library/BaseLib/X64/ReadMsr64.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadMsr64)
-.align 16
ASM_PFX(AsmReadMsr64):
rdmsr # edx & eax are zero extended
shl $0x20, %rdx
diff --git a/MdePkg/Library/BaseLib/X64/ReadPmc.S b/MdePkg/Library/BaseLib/X64/ReadPmc.S
index 66ced65..7a5c823 100644
--- a/MdePkg/Library/BaseLib/X64/ReadPmc.S
+++ b/MdePkg/Library/BaseLib/X64/ReadPmc.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadPmc)
-.align 16
ASM_PFX(AsmReadPmc):
rdpmc
shl $0x20, %rdx
diff --git a/MdePkg/Library/BaseLib/X64/ReadSs.S b/MdePkg/Library/BaseLib/X64/ReadSs.S
index ea7e2e2..997fe10 100644
--- a/MdePkg/Library/BaseLib/X64/ReadSs.S
+++ b/MdePkg/Library/BaseLib/X64/ReadSs.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadSs)
-.align 16
ASM_PFX(AsmReadSs):
movl %ss, %eax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadTr.S b/MdePkg/Library/BaseLib/X64/ReadTr.S
index 2dee729..df1f28f 100644
--- a/MdePkg/Library/BaseLib/X64/ReadTr.S
+++ b/MdePkg/Library/BaseLib/X64/ReadTr.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadTr)
-.align 16
ASM_PFX(AsmReadTr):
str %eax
ret
diff --git a/MdePkg/Library/BaseLib/X64/ReadTsc.S b/MdePkg/Library/BaseLib/X64/ReadTsc.S
index f3c45b5..aecbcb2 100644
--- a/MdePkg/Library/BaseLib/X64/ReadTsc.S
+++ b/MdePkg/Library/BaseLib/X64/ReadTsc.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmReadTsc)
-.align 16
ASM_PFX(AsmReadTsc):
rdtsc
shl $0x20, %rdx
diff --git a/MdePkg/Library/BaseLib/X64/Wbinvd.S b/MdePkg/Library/BaseLib/X64/Wbinvd.S
index e05301d..f5cc94b 100644
--- a/MdePkg/Library/BaseLib/X64/Wbinvd.S
+++ b/MdePkg/Library/BaseLib/X64/Wbinvd.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmWbinvd)
-.align 16
ASM_PFX(AsmWbinvd):
wbinvd
ret
diff --git a/MdePkg/Library/BaseLib/X64/WriteDr0.S b/MdePkg/Library/BaseLib/X64/WriteDr0.S
index 6b1d1bf..610a253 100644
--- a/MdePkg/Library/BaseLib/X64/WriteDr0.S
+++ b/MdePkg/Library/BaseLib/X64/WriteDr0.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmWriteDr0)
-.align 16
ASM_PFX(AsmWriteDr0):
mov %rcx, %dr0
mov %rcx, %rax
diff --git a/MdePkg/Library/BaseLib/X64/WriteDr1.S b/MdePkg/Library/BaseLib/X64/WriteDr1.S
index 297217b..7f7ae10 100644
--- a/MdePkg/Library/BaseLib/X64/WriteDr1.S
+++ b/MdePkg/Library/BaseLib/X64/WriteDr1.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmWriteDr1)
-.align 16
ASM_PFX(AsmWriteDr1):
mov %rcx, %dr1
mov %rcx, %rax
diff --git a/MdePkg/Library/BaseLib/X64/WriteDr2.S b/MdePkg/Library/BaseLib/X64/WriteDr2.S
index 92c0850..8743230 100644
--- a/MdePkg/Library/BaseLib/X64/WriteDr2.S
+++ b/MdePkg/Library/BaseLib/X64/WriteDr2.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmWriteDr2)
-.align 16
ASM_PFX(AsmWriteDr2):
mov %rcx, %dr2
mov %rcx, %rax
diff --git a/MdePkg/Library/BaseLib/X64/WriteDr3.S b/MdePkg/Library/BaseLib/X64/WriteDr3.S
index b64b977..35bede1 100644
--- a/MdePkg/Library/BaseLib/X64/WriteDr3.S
+++ b/MdePkg/Library/BaseLib/X64/WriteDr3.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmWriteDr3)
-.align 16
ASM_PFX(AsmWriteDr3):
mov %rcx, %dr3
mov %rcx, %rax
diff --git a/MdePkg/Library/BaseLib/X64/WriteIdtr.S b/MdePkg/Library/BaseLib/X64/WriteIdtr.S
index e8e332e..544ef79 100644
--- a/MdePkg/Library/BaseLib/X64/WriteIdtr.S
+++ b/MdePkg/Library/BaseLib/X64/WriteIdtr.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(InternalX86WriteIdtr)
-.align 16
ASM_PFX(InternalX86WriteIdtr):
lidt (%rcx)
ret
diff --git a/MdePkg/Library/BaseLib/X64/WriteLdtr.S b/MdePkg/Library/BaseLib/X64/WriteLdtr.S
index ebc0172..68523f8 100644
--- a/MdePkg/Library/BaseLib/X64/WriteLdtr.S
+++ b/MdePkg/Library/BaseLib/X64/WriteLdtr.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -30,7 +30,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmWriteLdtr)
-.align 16
ASM_PFX(AsmWriteLdtr):
lldt %cx
ret
diff --git a/MdePkg/Library/BaseLib/X64/WriteMsr64.S b/MdePkg/Library/BaseLib/X64/WriteMsr64.S
index dd2bc3d..8aa4520 100644
--- a/MdePkg/Library/BaseLib/X64/WriteMsr64.S
+++ b/MdePkg/Library/BaseLib/X64/WriteMsr64.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -31,7 +31,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(AsmWriteMsr64)
-.align 16
ASM_PFX(AsmWriteMsr64):
mov %rdx, %rax # meanwhile, rax <- return value
shr $0x20, %rdx # edx:eax contains the value to write
diff --git a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.S b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.S
index 227ee25..86b338e 100644
--- a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.S
+++ b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.S
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, 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
@@ -32,7 +32,6 @@
# );
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(InternalSyncCompareExchange64)
-.align 16
ASM_PFX(InternalSyncCompareExchange64):
mov %rdx, %rax
lock cmpxchg %r8,(%rcx)