Commit in reactos/ntoskrnl/ke/i386 on MAIN | |||
exp.c | +4 | 1.89 -> 1.90 |
Make inline assembler compilable using VC
diff -u -r1.89 -r1.90 --- exp.c 15 Aug 2004 16:39:05 -0000 1.89 +++ exp.c 21 Aug 2004 21:14:59 -0000 1.90 @@ -637,7 +637,11 @@
DbgPrint("Frames: "); if ( !Frame ) {
+#if defined __GNUC__
__asm__("mov %%ebp, %%ebx" : "=b" (Frame) : );
+#elif defined(_MSC_VER) + __asm mov [Frame], ebp +#endif
Frame = (PULONG)Frame[0]; // step out of KeRosDumpStackFrames } while ( MmIsAddressValid(Frame) && i++ < FrameCount )