mirror of https://github.com/acidanthera/audk.git
Remove unnecessary .align directives.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9161 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
b341712e31
commit
d82018184e
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(EnableDisableInterrupts)
|
||||
.align 16
|
||||
ASM_PFX(EnableDisableInterrupts):
|
||||
sti
|
||||
cli
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(InternalSyncCompareExchange64)
|
||||
.align 16
|
||||
ASM_PFX(InternalSyncCompareExchange64):
|
||||
mov %rsi, %rax
|
||||
lock cmpxchg %rdx,(%rdi)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmMonitor)
|
||||
.align 16
|
||||
ASM_PFX(AsmMonitor):
|
||||
mov %ecx,%eax
|
||||
mov %edx,%ecx
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmMwait)
|
||||
.align 16
|
||||
ASM_PFX(AsmMwait):
|
||||
mov %ecx,%eax
|
||||
mov %edx,%ecx
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadCr0)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadCr0):
|
||||
mov %cr0, %rax
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadCr2)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadCr2):
|
||||
mov %cr2, %rax
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadCr3)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadCr3):
|
||||
mov %cr3, %rax
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadCr4)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadCr4):
|
||||
mov %cr4, %rax
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadCs)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadCs):
|
||||
mov %cs, %eax
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadDr0)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadDr0):
|
||||
mov %dr0, %rax
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadDr1)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadDr1):
|
||||
mov %dr1, %rax
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadDr2)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadDr2):
|
||||
mov %dr2, %rax
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadDr3)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadDr3):
|
||||
mov %dr3, %rax
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadDr4)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadDr4):
|
||||
#DB 0fh, 21h, 0e0h
|
||||
mov %dr4, %rax
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadDr5)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadDr5):
|
||||
mov %dr5, %rax
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadDr6)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadDr6):
|
||||
mov %dr6, %rax
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadDr7)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadDr7):
|
||||
mov %dr7, %rax
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadDs)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadDs):
|
||||
movl %ds, %eax
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadEflags)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadEflags):
|
||||
pushfq
|
||||
pop %rax
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadEs)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadEs):
|
||||
mov %es, %eax
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadFs)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadFs):
|
||||
mov %fs, %eax
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(InternalX86ReadGdtr)
|
||||
.align 16
|
||||
ASM_PFX(InternalX86ReadGdtr):
|
||||
sgdt (%rcx)
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadGs)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadGs):
|
||||
mov %gs, %eax
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(InternalX86ReadIdtr)
|
||||
.align 16
|
||||
ASM_PFX(InternalX86ReadIdtr):
|
||||
sidt (%rcx)
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadLdtr)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadLdtr):
|
||||
sldt %eax
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadMm0)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadMm0):
|
||||
#DB 48h, 0fh, 7eh, 0c0h
|
||||
movd %mm0, %rax
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadMm1)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadMm1):
|
||||
#DB 48h, 0fh, 7eh, 0c8h
|
||||
movd %mm1, %rax
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadMm2)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadMm2):
|
||||
#DB 48h, 0fh, 7eh, 0d0h
|
||||
movd %mm2, %rax
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadMm3)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadMm3):
|
||||
#DB 48h, 0fh, 7eh, 0d8h
|
||||
movd %mm3, %rax
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadMm4)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadMm4):
|
||||
#DB 48h, 0fh, 7eh, 0e0h
|
||||
movd %mm4, %rax
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadMm5)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadMm5):
|
||||
#DB 48h, 0fh, 7eh, 0e8h
|
||||
movd %mm5, %rax
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadMm6)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadMm6):
|
||||
#DB 48h, 0fh, 7eh, 0f0h
|
||||
movd %mm6, %rax
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadMm7)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadMm7):
|
||||
#DB 48h, 0fh, 7eh, 0f8h
|
||||
movd %mm7, %rax
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadMsr64)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadMsr64):
|
||||
rdmsr # edx & eax are zero extended
|
||||
shl $0x20, %rdx
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadPmc)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadPmc):
|
||||
rdpmc
|
||||
shl $0x20, %rdx
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadSs);
|
||||
.align 16
|
||||
ASM_PFX(AsmReadSs):
|
||||
movl %ss, %eax
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadTr)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadTr):
|
||||
str %eax
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmReadTsc)
|
||||
.align 16
|
||||
ASM_PFX(AsmReadTsc):
|
||||
rdtsc
|
||||
shl $0x20, %rdx
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmWbinvd)
|
||||
.align 16
|
||||
ASM_PFX(AsmWbinvd):
|
||||
wbinvd
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmWriteDr0)
|
||||
.align 16
|
||||
ASM_PFX(AsmWriteDr0):
|
||||
mov %rcx, %dr0
|
||||
mov %rcx, %rax
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmWriteDr1)
|
||||
.align 16
|
||||
ASM_PFX(AsmWriteDr1):
|
||||
mov %rcx, %dr1
|
||||
mov %rcx, %rax
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmWriteDr2)
|
||||
.align 16
|
||||
ASM_PFX(AsmWriteDr2):
|
||||
mov %rcx, %dr2
|
||||
mov %rcx, %rax
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmWriteDr3)
|
||||
.align 16
|
||||
ASM_PFX(AsmWriteDr3):
|
||||
mov %rcx, %dr3
|
||||
mov %rcx, %rax
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(InternalX86WriteIdtr)
|
||||
.align 16
|
||||
ASM_PFX(InternalX86WriteIdtr):
|
||||
lidt (%rcx)
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmWriteLdtr);
|
||||
.align 16
|
||||
ASM_PFX(AsmWriteLdtr):
|
||||
lldt %cx
|
||||
ret
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2006, 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 @@
|
|||
# TODO:
|
||||
#------------------------------------------------------------------------------
|
||||
.global ASM_PFX(AsmWriteMsr64)
|
||||
.align 16
|
||||
ASM_PFX(AsmWriteMsr64):
|
||||
mov %rdx, %rax
|
||||
shr $0x20, %rdx
|
||||
|
|
Loading…
Reference in New Issue