diff options
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.c')
-rw-r--r-- | MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.c b/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.c index 99248321b5..e13f13f78b 100644 --- a/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.c +++ b/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.c @@ -14,15 +14,20 @@ #if _MSC_EXTENSIONS
+//
+// Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics
+//
+void __debugbreak ();
+
+#pragma intrinsic(__debugbreak)
+
VOID
EFIAPI
CpuBreakpoint (
VOID
)
{
- _asm {
- int 3
- }
+ __debugbreak ();
}
#endif
|