]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.c
Update the Guid Value of Ext SCSI Pass Thru Protocol
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / CpuBreakpoint.c
index 99248321b50c360c5d11d01ef63a1a1321dbc4be..fc5b63734b175a75148b963a7dc215ddbd942262 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
+// 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 +25,6 @@ CpuBreakpoint (
   VOID\r
   )\r
 {\r
-  _asm {\r
-    int  3\r
-  }\r
+  __debugbreak ();\r
 }\r
 \r
-#endif\r