Update GCC assembly files for MdePkg/Library/BaseLib/Ia32

1. Fix bugs in assembly instructions
2. Change module names in comments from .asm to .S


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6193 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
xli24 2008-10-23 06:20:02 +00:00
parent 6b3a2ca003
commit 1f86b07d91
92 changed files with 187 additions and 187 deletions

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ARShiftU64.asm
# ARShiftU64.S
#
# Abstract:
#

View File

@ -1,5 +1,5 @@
#------------------------------------------------------------------------------ ;
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -10,7 +10,7 @@
#
# Module Name:
#
# CpuBreakpoint.s
# CpuBreakpoint.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# CpuId.Asm
# CpuId.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# CpuIdEx.Asm
# CpuIdEx.S
#
# Abstract:
#

View File

@ -1,5 +1,5 @@
#------------------------------------------------------------------------------ ;
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -10,7 +10,7 @@
#
# Module Name:
#
# CpuPause.Asm
# CpuPause.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# DisableInterrupts.Asm
# DisableInterrupts.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# DisablePaging32.Asm
# DisablePaging32.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# DivU64x32.asm
# DivU64x32.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# DivError.asm
# DivError.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# DivU64x64Remainder.asm
# DivU64x64Remainder.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# EnableDisableInterrupts.Asm
# EnableDisableInterrupts.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# EnableInterrupts.Asm
# EnableInterrupts.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# EnablePaging32.Asm
# EnablePaging32.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# EnablePaging64.Asm
# EnablePaging64.S
#
# Abstract:
#
@ -58,6 +58,6 @@ LongStart: # long mode starts here
.byte 0x67, 0x48
movl 0x18(%esp), %esp # mov rsp, [esp + 18h]
.byte 0x48
addl $0x-20, %esp # add rsp, -20h
addl $0x-0x20, %esp # add rsp, -20h
call *%ebx # call rbx
jmp .

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# FlushCacheLine.Asm
# FlushCacheLine.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# FxRestore.Asm
# FxRestore.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# FxSave.Asm
# FxSave.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# InterlockedCompareExchange32.Asm
# InterlockedCompareExchange32.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# InterlockedCompareExchange64.Asm
# InterlockedCompareExchange64.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# InterlockedDecrement.Asm
# InterlockedDecrement.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# InterlockedIncrement.Asm
# InterlockedIncrement.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# Invd.Asm
# Invd.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# LRotU64.asm
# LRotU64.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# LShiftU64.asm
# LShiftU64.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# LongJump.Asm
# LongJump.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# Monitor.Asm
# Monitor.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# MultU64x32.asm
# MultU64x32.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# MultU64x64.asm
# MultU64x64.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# Mwait.Asm
# Mwait.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# RRotU64.asm
# RRotU64.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# RShiftU64.asm
# RShiftU64.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadCr0.Asm
# ReadCr0.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadCr2.Asm
# ReadCr2.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadCr3.Asm
# ReadCr3.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadCr4.Asm
# ReadCr4.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadCs.Asm
# ReadCs.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadDr0.Asm
# ReadDr0.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadDr1.Asm
# ReadDr1.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadDr2.Asm
# ReadDr2.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadDr3.Asm
# ReadDr3.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadDr4.Asm
# ReadDr4.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadDr5.Asm
# ReadDr5.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadDr6.Asm
# ReadDr6.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadDr7.Asm
# ReadDr7.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadDs.Asm
# ReadDs.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadEflags.Asm
# ReadEflags.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadEs.Asm
# ReadEs.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadFs.Asm
# ReadFs.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadGdtr.Asm
# ReadGdtr.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadGs.Asm
# ReadGs.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadIdtr.Asm
# ReadIdtr.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadLdtr.Asm
# ReadLdtr.S
#
# Abstract:
#
@ -31,5 +31,5 @@
# );
#------------------------------------------------------------------------------
ASM_PFX(AsmReadLdtr):
sldt %eax
sldt %ax
ret

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadMm0.Asm
# ReadMm0.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadMm1.Asm
# ReadMm1.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadMm2.Asm
# ReadMm2.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadMm3.Asm
# ReadMm3.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadMm4.Asm
# ReadMm4.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadMm5.Asm
# ReadMm5.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadMm6.Asm
# ReadMm6.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadMm7.Asm
# ReadMm7.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadMsr64.Asm
# ReadMsr64.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadPmc.Asm
# ReadPmc.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadSs.Asm
# ReadSs.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadTr.Asm
# ReadTr.S
#
# Abstract:
#
@ -31,5 +31,5 @@
# );
#------------------------------------------------------------------------------
ASM_PFX(AsmReadTr):
str %eax
str %ax
ret

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# ReadTsc.Asm
# ReadTsc.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# SetJump.Asm
# SetJump.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# CpuId.Asm
# CpuId.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# Wbinvd.Asm
# Wbinvd.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteCr0.Asm
# WriteCr0.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteCr2.Asm
# WriteCr2.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteCr3.Asm
# WriteCr3.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteCr4.Asm
# WriteCr4.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteDr0.Asm
# WriteDr0.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteDr1.Asm
# WriteDr1.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteDr2.Asm
# WriteDr2.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteDr3.Asm
# WriteDr3.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteDr4.Asm
# WriteDr4.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteDr5.Asm
# WriteDr5.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteDr6.Asm
# WriteDr6.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteDr7.Asm
# WriteDr7.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteGdtr.Asm
# WriteGdtr.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteIdtr.Asm
# WriteIdtr.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteLdtr.Asm
# WriteLdtr.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteMm0.Asm
# WriteMm0.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteMm1.Asm
# WriteMm1.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteMm2.Asm
# WriteMm2.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteMm3.Asm
# WriteMm3.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteMm4.Asm
# WriteMm4.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteMm5.Asm
# WriteMm5.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteMm6.Asm
# WriteMm6.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteMm7.Asm
# WriteMm7.S
#
# Abstract:
#

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# Copyright (c) 2006, Intel Corporation
# Copyright (c) 2006 - 2008, 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
@ -11,7 +11,7 @@
#
# Module Name:
#
# WriteMsr64.Asm
# WriteMsr64.S
#
# Abstract:
#