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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user