mirror of https://github.com/acidanthera/audk.git
Refine code for ECC check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6217 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
14f268ba2a
commit
7e43ed89b2
|
@ -18,6 +18,7 @@
|
||||||
/**
|
/**
|
||||||
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
|
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
|
||||||
**/
|
**/
|
||||||
|
|
||||||
void __debugbreak ();
|
void __debugbreak ();
|
||||||
|
|
||||||
#pragma intrinsic(__debugbreak)
|
#pragma intrinsic(__debugbreak)
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
/**
|
/**
|
||||||
Microsoft Visual Studio 7.1 Function Prototypes for read write barrier Intrinsics.
|
Microsoft Visual Studio 7.1 Function Prototypes for read write barrier Intrinsics.
|
||||||
**/
|
**/
|
||||||
|
|
||||||
void _ReadWriteBarrier (void);
|
void _ReadWriteBarrier (void);
|
||||||
#pragma intrinsic(_ReadWriteBarrier)
|
#pragma intrinsic(_ReadWriteBarrier)
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
/**
|
/**
|
||||||
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
|
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
|
||||||
**/
|
**/
|
||||||
|
|
||||||
void __debugbreak ();
|
void __debugbreak ();
|
||||||
|
|
||||||
#pragma intrinsic(__debugbreak)
|
#pragma intrinsic(__debugbreak)
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
/**
|
/**
|
||||||
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
|
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
|
||||||
**/
|
**/
|
||||||
|
|
||||||
long _InterlockedCompareExchange(
|
long _InterlockedCompareExchange(
|
||||||
long volatile * Destination,
|
long volatile * Destination,
|
||||||
long Exchange,
|
long Exchange,
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
/**
|
/**
|
||||||
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
|
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
|
||||||
**/
|
**/
|
||||||
|
|
||||||
__int64 _InterlockedCompareExchange64(
|
__int64 _InterlockedCompareExchange64(
|
||||||
__int64 volatile * Destination,
|
__int64 volatile * Destination,
|
||||||
__int64 Exchange,
|
__int64 Exchange,
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
/**
|
/**
|
||||||
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
|
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
|
||||||
**/
|
**/
|
||||||
|
|
||||||
long _InterlockedDecrement(
|
long _InterlockedDecrement(
|
||||||
long * lpAddend
|
long * lpAddend
|
||||||
);
|
);
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
/**
|
/**
|
||||||
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
|
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
|
||||||
**/
|
**/
|
||||||
|
|
||||||
long _InterlockedIncrement(
|
long _InterlockedIncrement(
|
||||||
long * lpAddend
|
long * lpAddend
|
||||||
);
|
);
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
/**
|
/**
|
||||||
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
|
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
|
||||||
**/
|
**/
|
||||||
|
|
||||||
unsigned __int64 __readmsr (int register);
|
unsigned __int64 __readmsr (int register);
|
||||||
|
|
||||||
#pragma intrinsic(__readmsr)
|
#pragma intrinsic(__readmsr)
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
/**
|
/**
|
||||||
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
|
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
|
||||||
**/
|
**/
|
||||||
|
|
||||||
void __writemsr (unsigned long Register, unsigned __int64 Value);
|
void __writemsr (unsigned long Register, unsigned __int64 Value);
|
||||||
|
|
||||||
#pragma intrinsic(__writemsr)
|
#pragma intrinsic(__writemsr)
|
||||||
|
|
Loading…
Reference in New Issue