1. Remove #ifdef _MSC_EXTENSION_ from all source files

2. Remove #ifdef _GCC_ from all resource files
3. Remove #if 0 from all resource files
4. Remove #ifdef MDE_CPU_IPF and #ifdef MDE_CPU_EBC
5. Remove #progam from Decode.c
6. Remove #ifdef TIANO_EXTENSION_FLAG from source files
7. Remove #ifdef SUPPORT_IPV6, since code base doesn't support IPV6 at all.
8. Remove #ifdef SpecialNowaitVersion from pxe_bc_mtftp.c, since it's only used for test.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2470 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff
2007-03-15 02:33:16 +00:00
parent aa156393bf
commit e5f461a850
120 changed files with 422 additions and 920 deletions

View File

@@ -473,8 +473,8 @@
<Filename SupArchList="X64">X64/FlushCacheLine.asm</Filename>
<Filename SupArchList="X64" ToolChainFamily="MSFT">X64/InterlockedIncrement.c</Filename>
<Filename SupArchList="X64" ToolChainFamily="MSFT">X64/InterlockedDecrement.c</Filename>
<Filename SupArchList="X64">X64/InterlockedCompareExchange32.asm</Filename>
<Filename SupArchList="X64">X64/InterlockedCompareExchange64.asm</Filename>
<Filename SupArchList="X64" ToolChainFamily="MSFT">X64/InterlockedCompareExchange32.asm</Filename>
<Filename SupArchList="X64" ToolChainFamily="MSFT">X64/InterlockedCompareExchange64.asm</Filename>
<Filename SupArchList="X64">X64/EnableInterrupts.asm</Filename>
<Filename SupArchList="X64">X64/DisableInterrupts.asm</Filename>
<Filename SupArchList="X64">X64/EnableDisableInterrupts.asm</Filename>

View File

@@ -1,7 +1,7 @@
/** @file
64-bit arithmetic right shift function for IA-32.
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
InternalMathARShiftU64 (
@@ -33,4 +31,3 @@ InternalMathARShiftU64 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
CpuBreakpoint function.
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
//
// Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics
//
@@ -30,4 +28,3 @@ CpuBreakpoint (
__debugbreak ();
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
CpuFlushTlb function.
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
CpuFlushTlb (
@@ -26,4 +24,3 @@ CpuFlushTlb (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmCpuid function.
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT32
EFIAPI
AsmCpuid (
@@ -49,4 +47,3 @@ SkipEdx:
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmCpuidEx function.
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT32
EFIAPI
AsmCpuidEx (
@@ -50,5 +48,3 @@ SkipEdx:
mov eax, Index
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
CpuPause function.
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
CpuPause (
@@ -25,4 +23,3 @@ CpuPause (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
CpuSleep function.
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
CpuSleep (
@@ -25,4 +23,3 @@ CpuSleep (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
DisableInterrupts function.
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
DisableInterrupts (
@@ -25,4 +23,3 @@ DisableInterrupts (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmDisablePaging32 function.
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
__declspec (naked)
VOID
EFIAPI
@@ -46,4 +44,3 @@ InternalX86DisablePaging32 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
Calculate the quotient of a 64-bit integer by a 32-bit integer
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
InternalMathDivU64x32 (
@@ -33,4 +31,3 @@ InternalMathDivU64x32 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
Set error flag for all division functions
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
InternalMathDivRemU64x32 (
@@ -38,4 +36,3 @@ RemainderNull:
}
}
#endif

View File

@@ -2,7 +2,7 @@
Calculate the quotient of a 64-bit integer by a 64-bit integer and returns
both the quotient and the remainderSet error flag for all division functions
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -13,8 +13,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
InternalMathDivRemU64x64 (
@@ -66,4 +64,3 @@ Return:
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
EnableDisableInterrupts function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
EnableDisableInterrupts (
@@ -28,4 +26,3 @@ EnableDisableInterrupts (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
EnableInterrupts function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
EnableInterrupts (
@@ -25,4 +23,3 @@ EnableInterrupts (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmEnablePaging32 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
__declspec (naked)
VOID
EFIAPI
@@ -46,4 +44,3 @@ InternalX86EnablePaging32 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmFlushCacheLine function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID *
EFIAPI
AsmFlushCacheLine (
@@ -26,4 +24,3 @@ AsmFlushCacheLine (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmFxRestore function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
InternalX86FxRestore (
@@ -26,4 +24,3 @@ InternalX86FxRestore (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmFxSave function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
InternalX86FxSave (
@@ -26,4 +24,3 @@ InternalX86FxSave (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
InterlockedCompareExchange32 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT32
EFIAPI
InternalSyncCompareExchange32 (
@@ -30,4 +28,3 @@ InternalSyncCompareExchange32 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
InterlockedCompareExchange64 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
InternalSyncCompareExchange64 (
@@ -31,5 +29,3 @@ InternalSyncCompareExchange64 (
lock cmpxchg8b qword ptr [esi]
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
InterlockedDecrement function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT32
EFIAPI
InternalSyncDecrement (
@@ -26,5 +24,3 @@ InternalSyncDecrement (
mov eax, [eax]
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
InterLockedIncrement function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT32
EFIAPI
InternalSyncIncrement (
@@ -27,4 +25,3 @@ InternalSyncIncrement (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmInvd function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
AsmInvd (
@@ -25,4 +23,3 @@ AsmInvd (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
64-bit left rotation for Ia32
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
InternalMathLRotU64 (
@@ -36,4 +34,3 @@ InternalMathLRotU64 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
64-bit left shift function for IA-32.
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
InternalMathLShiftU64 (
@@ -33,4 +31,3 @@ InternalMathLShiftU64 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
Implementation of _LongJump() on IA-32.
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
__declspec (naked)
VOID
EFIAPI
@@ -35,4 +33,3 @@ InternalLongJump (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
Calculate the remainder of a 64-bit integer by a 32-bit integer
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT32
EFIAPI
InternalMathModU64x32 (
@@ -31,5 +29,3 @@ InternalMathModU64x32 (
mov eax, edx
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmMonitor function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmMonitor (
@@ -32,4 +30,3 @@ AsmMonitor (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
Calculate the product of a 64-bit integer and a 32-bit integer
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
InternalMathMultU64x32 (
@@ -30,4 +28,3 @@ InternalMathMultU64x32 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
Calculate the product of a 64-bit integer and another 64-bit integer
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
InternalMathMultU64x64 (
@@ -34,4 +32,3 @@ InternalMathMultU64x64 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmMwait function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmMwait (
@@ -30,4 +28,3 @@ AsmMwait (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
64-bit right rotation for Ia32
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
InternalMathRRotU64 (
@@ -36,4 +34,3 @@ InternalMathRRotU64 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
64-bit logical right shift function for IA-32
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
InternalMathRShiftU64 (
@@ -33,4 +31,3 @@ InternalMathRShiftU64 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadCr0 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmReadCr0 (
@@ -24,5 +22,3 @@ AsmReadCr0 (
mov eax, cr0
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadCr2 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmReadCr2 (
@@ -25,4 +23,3 @@ AsmReadCr2 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadCr3 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmReadCr3 (
@@ -25,4 +23,3 @@ AsmReadCr3 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadCr4 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmReadCr4 (
@@ -27,4 +25,3 @@ AsmReadCr4 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadCs function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT16
EFIAPI
AsmReadCs (
@@ -26,4 +24,3 @@ AsmReadCs (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadDr0 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmReadDr0 (
@@ -25,4 +23,3 @@ AsmReadDr0 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadDr1 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmReadDr1 (
@@ -25,4 +23,3 @@ AsmReadDr1 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadDr2 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmReadDr2 (
@@ -25,4 +23,3 @@ AsmReadDr2 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadDr3 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmReadDr3 (
@@ -25,4 +23,3 @@ AsmReadDr3 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadDr4 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmReadDr4 (
@@ -27,4 +25,3 @@ AsmReadDr4 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadDr5 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmReadDr5 (
@@ -27,4 +25,3 @@ AsmReadDr5 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadDr6 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmReadDr6 (
@@ -25,4 +23,3 @@ AsmReadDr6 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadDr7 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmReadDr7 (
@@ -25,4 +23,3 @@ AsmReadDr7 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadDs function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT16
EFIAPI
AsmReadDs (
@@ -26,4 +24,3 @@ AsmReadDs (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadEflags function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmReadEflags (
@@ -26,4 +24,3 @@ AsmReadEflags (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadEs function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT16
EFIAPI
AsmReadEs (
@@ -26,4 +24,3 @@ AsmReadEs (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadFs function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT16
EFIAPI
AsmReadFs (
@@ -26,4 +24,3 @@ AsmReadFs (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadGdtr function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
InternalX86ReadGdtr (
@@ -26,4 +24,3 @@ InternalX86ReadGdtr (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadGs function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT16
EFIAPI
AsmReadGs (
@@ -26,4 +24,3 @@ AsmReadGs (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadIdtr function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
InternalX86ReadIdtr (
@@ -25,5 +23,3 @@ InternalX86ReadIdtr (
sidt fword ptr [eax]
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadLdtr function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT16
EFIAPI
AsmReadLdtr (
@@ -25,4 +23,3 @@ AsmReadLdtr (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadMm0 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
AsmReadMm0 (
@@ -30,4 +28,3 @@ AsmReadMm0 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadMm1 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
AsmReadMm1 (
@@ -30,4 +28,3 @@ AsmReadMm1 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadMm2 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
AsmReadMm2 (
@@ -30,4 +28,3 @@ AsmReadMm2 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadMm3 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
AsmReadMm3 (
@@ -30,4 +28,3 @@ AsmReadMm3 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadMm4 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
AsmReadMm4 (
@@ -30,4 +28,3 @@ AsmReadMm4 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadMm5 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
AsmReadMm5 (
@@ -30,4 +28,3 @@ AsmReadMm5 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadMm6 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
AsmReadMm6 (
@@ -30,4 +28,3 @@ AsmReadMm6 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadMm7 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
AsmReadMm7 (
@@ -30,4 +28,3 @@ AsmReadMm7 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadMsr64 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
AsmReadMsr64 (
@@ -26,4 +24,3 @@ AsmReadMsr64 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadPmc function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
AsmReadPmc (
@@ -26,4 +24,3 @@ AsmReadPmc (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadSs function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT16
EFIAPI
AsmReadSs (
@@ -26,4 +24,3 @@ AsmReadSs (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadTr function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT16
EFIAPI
AsmReadTr (
@@ -25,4 +23,3 @@ AsmReadTr (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmReadTsc function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
AsmReadTsc (
@@ -25,4 +23,3 @@ AsmReadTsc (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
Implementation of SetJump() on IA-32.
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
InternalAssertJumpBuffer (
@@ -26,7 +24,7 @@ EFIAPI
SetJump (
OUT BASE_LIBRARY_JUMP_BUFFER *JumpBuffer
)
{
{
_asm {
push [esp + 4]
call InternalAssertJumpBuffer
@@ -44,4 +42,3 @@ SetJump (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
Implementation of 64-bit swap bytes
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
InternalMathSwapBytes64 (
@@ -28,4 +26,3 @@ InternalMathSwapBytes64 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWbinvd function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
AsmWbinvd (
@@ -25,4 +23,3 @@ AsmWbinvd (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteCr0 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmWriteCr0 (
@@ -26,4 +24,3 @@ AsmWriteCr0 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteCr2 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmWriteCr2 (
@@ -26,4 +24,3 @@ AsmWriteCr2 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteCr3 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmWriteCr3 (
@@ -26,4 +24,3 @@ AsmWriteCr3 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteCr4 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmWriteCr4 (
@@ -28,4 +26,3 @@ AsmWriteCr4 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteDr0 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmWriteDr0 (
@@ -26,4 +24,3 @@ AsmWriteDr0 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteDr1 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmWriteDr1 (
@@ -26,4 +24,3 @@ AsmWriteDr1 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteDr2 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmWriteDr2 (
@@ -26,4 +24,3 @@ AsmWriteDr2 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteDr3 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmWriteDr3 (
@@ -26,4 +24,3 @@ AsmWriteDr3 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteDr4 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmWriteDr4 (
@@ -28,4 +26,3 @@ AsmWriteDr4 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteDr5 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmWriteDr5 (
@@ -28,4 +26,3 @@ AsmWriteDr5 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteDr6 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmWriteDr6 (
@@ -26,4 +24,3 @@ AsmWriteDr6 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteDr7 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINTN
EFIAPI
AsmWriteDr7 (
@@ -26,4 +24,3 @@ AsmWriteDr7 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteGdtr function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
InternalX86WriteGdtr (
@@ -26,4 +24,3 @@ InternalX86WriteGdtr (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteIdtr function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
InternalX86WriteIdtr (
@@ -26,4 +24,3 @@ InternalX86WriteIdtr (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteLdtr function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
AsmWriteLdtr (
@@ -27,4 +25,3 @@ AsmWriteLdtr (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteMm0 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
AsmWriteMm0 (
@@ -26,4 +24,3 @@ AsmWriteMm0 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteMm1 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
AsmWriteMm1 (
@@ -26,4 +24,3 @@ AsmWriteMm1 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteMm2 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
AsmWriteMm2 (
@@ -26,4 +24,3 @@ AsmWriteMm2 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteMm3 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
AsmWriteMm3 (
@@ -26,4 +24,3 @@ AsmWriteMm3 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteMm4 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
AsmWriteMm4 (
@@ -25,5 +23,3 @@ AsmWriteMm4 (
emms
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteMm5 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
AsmWriteMm5 (
@@ -25,5 +23,3 @@ AsmWriteMm5 (
emms
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteMm6 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
AsmWriteMm6 (
@@ -26,4 +24,3 @@ AsmWriteMm6 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteMm7 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
VOID
EFIAPI
AsmWriteMm7 (
@@ -26,4 +24,3 @@ AsmWriteMm7 (
}
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
AsmWriteMsr64 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
UINT64
EFIAPI
AsmWriteMsr64 (
@@ -29,4 +27,3 @@ AsmWriteMsr64 (
}
}
#endif

View File

@@ -22,7 +22,8 @@
Checks ASSERT condition for JumpBuffer.
If JumpBuffer is NULL, then ASSERT().
For IPF CPUs, if JumpBuffer is not aligned on a 16-byte boundary, then ASSERT().
If JumpBuffer is not aligned on a BASE_LIBRARY_JUMP_BUFFER_ALIGNMENT
boundary, then ASSERT().
@param JumpBuffer A pointer to CPU context buffer.
@@ -35,7 +36,5 @@ InternalAssertJumpBuffer (
{
ASSERT (JumpBuffer != NULL);
#ifdef MDE_CPU_IPF
ASSERT (((UINTN)JumpBuffer & 0xf) == 0);
#endif
ASSERT (((UINTN)JumpBuffer & ((BASE_LIBRARY_JUMP_BUFFER_ALIGNMENT - 1) >> 8)) == 0);
}

View File

@@ -1,7 +1,7 @@
/** @file
CpuBreakpoint function.
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,7 +12,6 @@
**/
#if _MSC_EXTENSIONS
//
// Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics
@@ -30,4 +29,3 @@ CpuBreakpoint (
__debugbreak ();
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
InterlockedCompareExchange32 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
//
// Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics
//
@@ -36,5 +34,3 @@ InternalSyncCompareExchange32 (
return _InterlockedCompareExchange (Value, ExchangeValue, CompareValue);
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
InterlockedCompareExchange64 function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
//
// Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics
//
@@ -36,4 +34,3 @@ InternalSyncCompareExchange64 (
return _InterlockedCompareExchange64 (Value, ExchangeValue, CompareValue);
}
#endif

View File

@@ -1,7 +1,7 @@
/** @file
InterlockedDecrement function
Copyright (c) 2006, Intel Corporation<BR>
Copyright (c) 2006 - 2007, Intel Corporation<BR>
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
@@ -12,8 +12,6 @@
**/
#if _MSC_EXTENSIONS
//
// Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics
//
@@ -32,4 +30,3 @@ InternalSyncDecrement (
return _InterlockedDecrement (Value);
}
#endif

Some files were not shown because too many files have changed in this diff Show More