Use intrinsic

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1662 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
mdkinney 2006-10-04 23:07:25 +00:00
parent d8e5077483
commit 32a4d5cecf
1 changed files with 8 additions and 3 deletions

View File

@ -14,15 +14,20 @@
#if _MSC_EXTENSIONS #if _MSC_EXTENSIONS
//
// Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics
//
void __debugbreak ();
#pragma intrinsic(__debugbreak)
VOID VOID
EFIAPI EFIAPI
CpuBreakpoint ( CpuBreakpoint (
VOID VOID
) )
{ {
_asm { __debugbreak ();
int 3
}
} }
#endif #endif