summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MdePkg/Library/BaseLib/BaseLibInternals.h2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.c1
-rw-r--r--MdePkg/Library/BaseLib/SynchronizationMsc.c1
-rw-r--r--MdePkg/Library/BaseLib/X64/CpuBreakpoint.c1
-rw-r--r--MdePkg/Library/BaseLib/X64/InterlockedCompareExchange32.c1
-rw-r--r--MdePkg/Library/BaseLib/X64/InterlockedCompareExchange64.c1
-rw-r--r--MdePkg/Library/BaseLib/X64/InterlockedDecrement.c1
-rw-r--r--MdePkg/Library/BaseLib/X64/InterlockedIncrement.c1
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadMsr64.c1
-rw-r--r--MdePkg/Library/BaseLib/X64/WriteMsr64.c1
10 files changed, 10 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/BaseLibInternals.h b/MdePkg/Library/BaseLib/BaseLibInternals.h
index 3d47a21..b39f2df 100644
--- a/MdePkg/Library/BaseLib/BaseLibInternals.h
+++ b/MdePkg/Library/BaseLib/BaseLibInternals.h
@@ -303,7 +303,7 @@ InternalMathDivRemS64x64 (
IN INT64 Dividend,
IN INT64 Divisor,
OUT INT64 *Remainder OPTIONAL
- );
+ );
/**
Transfers control to a function starting with a new stack.
diff --git a/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.c b/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.c
index 52cc7de..87f4e7c 100644
--- a/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.c
+++ b/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.c
@@ -18,6 +18,7 @@
/**
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
**/
+
void __debugbreak ();
#pragma intrinsic(__debugbreak)
diff --git a/MdePkg/Library/BaseLib/SynchronizationMsc.c b/MdePkg/Library/BaseLib/SynchronizationMsc.c
index de271ae..962c61b 100644
--- a/MdePkg/Library/BaseLib/SynchronizationMsc.c
+++ b/MdePkg/Library/BaseLib/SynchronizationMsc.c
@@ -20,6 +20,7 @@
/**
Microsoft Visual Studio 7.1 Function Prototypes for read write barrier Intrinsics.
**/
+
void _ReadWriteBarrier (void);
#pragma intrinsic(_ReadWriteBarrier)
diff --git a/MdePkg/Library/BaseLib/X64/CpuBreakpoint.c b/MdePkg/Library/BaseLib/X64/CpuBreakpoint.c
index 049e34e..c7e2339 100644
--- a/MdePkg/Library/BaseLib/X64/CpuBreakpoint.c
+++ b/MdePkg/Library/BaseLib/X64/CpuBreakpoint.c
@@ -16,6 +16,7 @@
/**
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
**/
+
void __debugbreak ();
#pragma intrinsic(__debugbreak)
diff --git a/MdePkg/Library/BaseLib/X64/InterlockedCompareExchange32.c b/MdePkg/Library/BaseLib/X64/InterlockedCompareExchange32.c
index de1aac7..6157ac1 100644
--- a/MdePkg/Library/BaseLib/X64/InterlockedCompareExchange32.c
+++ b/MdePkg/Library/BaseLib/X64/InterlockedCompareExchange32.c
@@ -15,6 +15,7 @@
/**
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
**/
+
long _InterlockedCompareExchange(
long volatile * Destination,
long Exchange,
diff --git a/MdePkg/Library/BaseLib/X64/InterlockedCompareExchange64.c b/MdePkg/Library/BaseLib/X64/InterlockedCompareExchange64.c
index 1206a17..952d0c4 100644
--- a/MdePkg/Library/BaseLib/X64/InterlockedCompareExchange64.c
+++ b/MdePkg/Library/BaseLib/X64/InterlockedCompareExchange64.c
@@ -15,6 +15,7 @@
/**
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
**/
+
__int64 _InterlockedCompareExchange64(
__int64 volatile * Destination,
__int64 Exchange,
diff --git a/MdePkg/Library/BaseLib/X64/InterlockedDecrement.c b/MdePkg/Library/BaseLib/X64/InterlockedDecrement.c
index 0f321f8..fec26a9 100644
--- a/MdePkg/Library/BaseLib/X64/InterlockedDecrement.c
+++ b/MdePkg/Library/BaseLib/X64/InterlockedDecrement.c
@@ -15,6 +15,7 @@
/**
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
**/
+
long _InterlockedDecrement(
long * lpAddend
);
diff --git a/MdePkg/Library/BaseLib/X64/InterlockedIncrement.c b/MdePkg/Library/BaseLib/X64/InterlockedIncrement.c
index 0581b58..455fb45 100644
--- a/MdePkg/Library/BaseLib/X64/InterlockedIncrement.c
+++ b/MdePkg/Library/BaseLib/X64/InterlockedIncrement.c
@@ -15,6 +15,7 @@
/**
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
**/
+
long _InterlockedIncrement(
long * lpAddend
);
diff --git a/MdePkg/Library/BaseLib/X64/ReadMsr64.c b/MdePkg/Library/BaseLib/X64/ReadMsr64.c
index 6ec22a3..582234a 100644
--- a/MdePkg/Library/BaseLib/X64/ReadMsr64.c
+++ b/MdePkg/Library/BaseLib/X64/ReadMsr64.c
@@ -15,6 +15,7 @@
/**
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
**/
+
unsigned __int64 __readmsr (int register);
#pragma intrinsic(__readmsr)
diff --git a/MdePkg/Library/BaseLib/X64/WriteMsr64.c b/MdePkg/Library/BaseLib/X64/WriteMsr64.c
index bc9c0b9..c210861 100644
--- a/MdePkg/Library/BaseLib/X64/WriteMsr64.c
+++ b/MdePkg/Library/BaseLib/X64/WriteMsr64.c
@@ -15,6 +15,7 @@
/**
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
**/
+
void __writemsr (unsigned long Register, unsigned __int64 Value);
#pragma intrinsic(__writemsr)