diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-08-11 15:35:27 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-08-11 15:35:27 +0000 |
commit | 0da835f99b55db369cf66e014f4817c925fb7c8d (patch) | |
tree | 0d943be3627edccd8ee99f14dd7505751700c592 /MdePkg/Library/BaseLib | |
parent | 1fef058f4b8fefc455bb171e4908c3e835b1b492 (diff) | |
download | edk2-platforms-0da835f99b55db369cf66e014f4817c925fb7c8d.tar.xz |
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
Diffstat (limited to 'MdePkg/Library/BaseLib')
45 files changed, 45 insertions, 90 deletions
diff --git a/MdePkg/Library/BaseLib/X64/EnableDisableInterrupts.S b/MdePkg/Library/BaseLib/X64/EnableDisableInterrupts.S index b3eb1218ff..cb99d64ef8 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 0be3b981f3..c7523cd188 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 403ed26c48..25d07a1dad 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 23d375de4e..500bcca524 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 26c2c2f271..be3d34ee27 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 1161eb2bd6..90a5ed38c8 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 192480d019..ad10c1b180 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 7bb98dfb7b..151144747b 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 e4fb3b3f56..e12ff890ef 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 e5c1cc8688..f74e8b34ee 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 9ef017d3e7..f3ee3fa905 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 277a99936e..994d29ec44 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 5f5651fd35..36c273bba2 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 766fc45700..c93fb34d48 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 0bde38cca5..cdc2b37abc 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 3de98eb7f0..efd4ba179b 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 119da00818..ffb52fb29e 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 c90d516138..5717bf1108 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 a75b95f953..13dfff5fbe 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 5b26d5e574..1909c43865 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 889efeb61d..366873f577 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 a89b27dc1f..2323dbcb29 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 efdaf77a87..5996c95472 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 6e7e0a3e31..0171ec120a 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 dd259ed915..947343ff00 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 b3eed9fa2b..f85a125b98 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 2459fcd55c..f6669189a8 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 0cf5bc7937..29f4f01827 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 fad10ae3b6..ba8654abbc 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 03629d5756..18a7434edd 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 f496d3be4b..cd23e0441f 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 aa6bb0fca3..9bcdbebaaa 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 32be9dc7d5..fd8f3136db 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 66ced6541b..7a5c823357 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 ea7e2e2c1f..997fe10a14 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 2dee7296a7..df1f28f766 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 f3c45b5580..aecbcb2b86 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 e05301d915..f5cc94bac2 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 6b1d1bf19e..610a2538fc 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 297217b459..7f7ae103ad 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 92c0850775..87432302be 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 b64b977504..35bede106e 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 e8e332e9b2..544ef7929c 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 ebc0172150..68523f8d4f 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 dd2bc3ddbc..8aa45207f5 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
|