]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.c
Removed CommonHeader.h generated file from the MdePkg.
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / CpuBreakpoint.c
index 99248321b50c360c5d11d01ef63a1a1321dbc4be..35d0fc9c2302a9c8aaabc00849804a05859fd6e2 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   CpuBreakpoint function.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\r
   All rights reserved. This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
+//\r
+// Include common header file for this module.\r
+//\r
+\r
+\r
+//\r
+// Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics\r
+//\r
+void __debugbreak ();\r
+\r
+#pragma intrinsic(__debugbreak)\r
 \r
 VOID\r
 EFIAPI\r
@@ -20,9 +30,6 @@ CpuBreakpoint (
   VOID\r
   )\r
 {\r
-  _asm {\r
-    int  3\r
-  }\r
+  __debugbreak ();\r
 }\r
 \r
-#endif\r