#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(EnableDisableInterrupts)\r
-.align 16\r
ASM_PFX(EnableDisableInterrupts):\r
sti\r
cli\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(InternalSyncCompareExchange64)\r
-.align 16\r
ASM_PFX(InternalSyncCompareExchange64):\r
mov %rsi, %rax\r
lock cmpxchg %rdx,(%rdi)\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmMonitor)\r
-.align 16\r
ASM_PFX(AsmMonitor):\r
mov %ecx,%eax\r
mov %edx,%ecx\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmMwait)\r
-.align 16\r
ASM_PFX(AsmMwait):\r
mov %ecx,%eax\r
mov %edx,%ecx\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadCr0)\r
-.align 16\r
ASM_PFX(AsmReadCr0):\r
mov %cr0, %rax\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadCr2)\r
-.align 16\r
ASM_PFX(AsmReadCr2):\r
mov %cr2, %rax\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadCr3)\r
-.align 16\r
ASM_PFX(AsmReadCr3):\r
mov %cr3, %rax\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadCr4)\r
-.align 16\r
ASM_PFX(AsmReadCr4):\r
mov %cr4, %rax\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadCs)\r
-.align 16\r
ASM_PFX(AsmReadCs):\r
mov %cs, %eax\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadDr0)\r
-.align 16\r
ASM_PFX(AsmReadDr0):\r
mov %dr0, %rax\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadDr1)\r
-.align 16\r
ASM_PFX(AsmReadDr1):\r
mov %dr1, %rax\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadDr2)\r
-.align 16\r
ASM_PFX(AsmReadDr2):\r
mov %dr2, %rax\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadDr3)\r
-.align 16\r
ASM_PFX(AsmReadDr3):\r
mov %dr3, %rax\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadDr4)\r
-.align 16\r
ASM_PFX(AsmReadDr4):\r
#DB 0fh, 21h, 0e0h\r
mov %dr4, %rax\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadDr5)\r
-.align 16\r
ASM_PFX(AsmReadDr5):\r
mov %dr5, %rax\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadDr6)\r
-.align 16\r
ASM_PFX(AsmReadDr6):\r
mov %dr6, %rax\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadDr7)\r
-.align 16\r
ASM_PFX(AsmReadDr7):\r
mov %dr7, %rax\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadDs)\r
-.align 16\r
ASM_PFX(AsmReadDs):\r
movl %ds, %eax\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadEflags)\r
-.align 16\r
ASM_PFX(AsmReadEflags):\r
pushfq\r
pop %rax\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadEs)\r
-.align 16\r
ASM_PFX(AsmReadEs):\r
mov %es, %eax\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadFs)\r
-.align 16\r
ASM_PFX(AsmReadFs):\r
mov %fs, %eax\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(InternalX86ReadGdtr)\r
-.align 16\r
ASM_PFX(InternalX86ReadGdtr):\r
sgdt (%rcx)\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadGs)\r
-.align 16\r
ASM_PFX(AsmReadGs):\r
mov %gs, %eax\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(InternalX86ReadIdtr)\r
-.align 16\r
ASM_PFX(InternalX86ReadIdtr):\r
sidt (%rcx)\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadLdtr)\r
-.align 16\r
ASM_PFX(AsmReadLdtr):\r
sldt %eax\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadMm0)\r
-.align 16\r
ASM_PFX(AsmReadMm0):\r
#DB 48h, 0fh, 7eh, 0c0h\r
movd %mm0, %rax\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadMm1)\r
-.align 16\r
ASM_PFX(AsmReadMm1):\r
#DB 48h, 0fh, 7eh, 0c8h\r
movd %mm1, %rax\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadMm2)\r
-.align 16\r
ASM_PFX(AsmReadMm2):\r
#DB 48h, 0fh, 7eh, 0d0h\r
movd %mm2, %rax\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadMm3)\r
-.align 16\r
ASM_PFX(AsmReadMm3):\r
#DB 48h, 0fh, 7eh, 0d8h\r
movd %mm3, %rax\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadMm4)\r
-.align 16\r
ASM_PFX(AsmReadMm4):\r
#DB 48h, 0fh, 7eh, 0e0h\r
movd %mm4, %rax\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadMm5)\r
-.align 16\r
ASM_PFX(AsmReadMm5):\r
#DB 48h, 0fh, 7eh, 0e8h\r
movd %mm5, %rax\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadMm6)\r
-.align 16\r
ASM_PFX(AsmReadMm6):\r
#DB 48h, 0fh, 7eh, 0f0h\r
movd %mm6, %rax\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadMm7)\r
-.align 16\r
ASM_PFX(AsmReadMm7):\r
#DB 48h, 0fh, 7eh, 0f8h\r
movd %mm7, %rax\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadMsr64)\r
-.align 16\r
ASM_PFX(AsmReadMsr64):\r
rdmsr # edx & eax are zero extended\r
shl $0x20, %rdx\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadPmc)\r
-.align 16\r
ASM_PFX(AsmReadPmc):\r
rdpmc\r
shl $0x20, %rdx\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadSs);\r
-.align 16\r
ASM_PFX(AsmReadSs):\r
movl %ss, %eax\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadTr)\r
-.align 16\r
ASM_PFX(AsmReadTr): \r
str %eax\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmReadTsc)\r
-.align 16\r
ASM_PFX(AsmReadTsc):\r
rdtsc\r
shl $0x20, %rdx\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmWbinvd)\r
-.align 16\r
ASM_PFX(AsmWbinvd):\r
wbinvd\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmWriteDr0)\r
-.align 16\r
ASM_PFX(AsmWriteDr0):\r
mov %rcx, %dr0\r
mov %rcx, %rax\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmWriteDr1)\r
-.align 16\r
ASM_PFX(AsmWriteDr1):\r
mov %rcx, %dr1\r
mov %rcx, %rax\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmWriteDr2)\r
-.align 16\r
ASM_PFX(AsmWriteDr2):\r
mov %rcx, %dr2\r
mov %rcx, %rax\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmWriteDr3)\r
-.align 16\r
ASM_PFX(AsmWriteDr3):\r
mov %rcx, %dr3\r
mov %rcx, %rax\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(InternalX86WriteIdtr)\r
-.align 16\r
ASM_PFX(InternalX86WriteIdtr):\r
lidt (%rcx)\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# );\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmWriteLdtr);\r
-.align 16\r
ASM_PFX(AsmWriteLdtr):\r
lldt %cx\r
ret\r
#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# TODO:\r
#------------------------------------------------------------------------------\r
.global ASM_PFX(AsmWriteMsr64)\r
-.align 16\r
ASM_PFX(AsmWriteMsr64):\r
mov %rdx, %rax\r
shr $0x20, %rdx\r