Clean ECP for build failure.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6760 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
xli24
2008-11-27 07:58:15 +00:00
parent 286f1bd2a9
commit 88b6bcec9d
14 changed files with 36 additions and 28 deletions

View File

@@ -189,7 +189,11 @@ typedef int64_t intn_t;
// Inject a break point in the code to assist debugging.
//
#define EFI_DEADLOOP() { volatile int __iii; __iii = 1; while (__iii); }
#define EFI_BREAKPOINT() __debugbreak()
#if _MSC_EXTENSIONS
#define EFI_BREAKPOINT() __debugbreak()
#elif __GNUC__
#define EFI_BREAKPOINT() asm(" int $3");
#endif
//
// Memory Fence forces serialization, and is needed to support out of order