mirror of https://github.com/acidanthera/audk.git
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:
parent
d8e5077483
commit
32a4d5cecf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue