- Use _SEH2_YIELD when returning from an exception instead of returning outside the...
authorStefan Ginsberg <stefanginsberg@gmail.com>
Mon, 24 Aug 2009 19:58:15 +0000 (19:58 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Mon, 24 Aug 2009 19:58:15 +0000 (19:58 +0000)
commitf022f9092b4cc64d6beed6de7303f943f5e27f68
tree4d8336123b585edbd05fd022f2567c5adf864e07
parent87db4c425c5197f0d19d1f20245cb9c6be248910
- Use _SEH2_YIELD when returning from an exception instead of returning outside the SEH block. Avoids unnecessary status checks for the most common case (no exception). Move the cleanup code into the handler too in favor of the no-exception case. Futhermore, don't call ExSystemExceptionFilter when we know we are called from user mode. Finally, only enter SEH if we need to do any probing.
- Re-enable user mode probes in KiRaiseException; they do not seem to be an issue anymore -- booting and running the ntdll exception Winetest didn't reveal any issue. Put a breakpoint there in case this code is ever hit (unlikely).

svn path=/trunk/; revision=42923
reactos/lib/rtl/debug.c
reactos/ntoskrnl/config/ntapi.c
reactos/ntoskrnl/dbgk/dbgkobj.c
reactos/ntoskrnl/ke/except.c
reactos/ntoskrnl/ke/i386/exp.c
reactos/ntoskrnl/ke/i386/usercall.c
reactos/ntoskrnl/ke/wait.c
reactos/ntoskrnl/lpc/reply.c
reactos/ntoskrnl/lpc/send.c
reactos/ntoskrnl/po/power.c
reactos/ntoskrnl/vdm/vdmmain.c