Everything
authorKJK::Hyperion <hackbunny@reactos.org>
Mon, 24 Nov 2008 13:40:26 +0000 (13:40 +0000)
committerKJK::Hyperion <hackbunny@reactos.org>
Mon, 24 Nov 2008 13:40:26 +0000 (13:40 +0000)
commitc086cc2302fce4fb0ec115a003a870d5dd1d5470
treebaafaf64c1c77487bd7d0b81ce7438e770dd1807
parent0cc513439517ad7504554e1c01514b3387ebc74f
Everything
   Migrate ntoskrnl to PSEH 2.0. The code should speak for itself

modified   ntoskrnl/ex/atom.c
   _SEH_LEAVE was used improperly in NtQueryInformationAtom. As a free bonus, the upgrade to PSEH 2.0 (and to _SEH2_LEAVE) fixes the potential bug

modified   ntoskrnl/fsrtl/fastio.c
   Corrected exception filter logic

modified   ntoskrnl/include/internal/ex.h
   Goodbye _SEH_ExSystemExceptionFilter, you won't be missed

modified   ntoskrnl/include/internal/ntoskrnl.h
   Don't FORCEINLINE functions that use SEH, it's bad form and the compiler doesn't like

modified   ntoskrnl/ke/i386/usercall.c
   Dispatch the correct EXCEPTION_RECORD in case of exception inside KiInitializeUserApc

modified   ntoskrnl/ke/powerpc/exp.c
   Removed bogus, unused SEH code

modified   ntoskrnl/ntoskrnl-generic.rbuild
   Sources using PSEH 2.0 must be compiled with -fno-unit-at-a-time due to a GCC bug. See also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17982 and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38054
   Apparently, -fno-unit-at-a-time makes GCC crash when using precompiled headers. Disable precompiled headers for ntoskrnl

svn path=/trunk/; revision=37615
61 files changed:
reactos/ntoskrnl/config/cmsysini.c
reactos/ntoskrnl/config/ntapi.c
reactos/ntoskrnl/dbgk/dbgkobj.c
reactos/ntoskrnl/ex/atom.c
reactos/ntoskrnl/ex/event.c
reactos/ntoskrnl/ex/evtpair.c
reactos/ntoskrnl/ex/harderr.c
reactos/ntoskrnl/ex/locale.c
reactos/ntoskrnl/ex/mutant.c
reactos/ntoskrnl/ex/profile.c
reactos/ntoskrnl/ex/sem.c
reactos/ntoskrnl/ex/sysinfo.c
reactos/ntoskrnl/ex/time.c
reactos/ntoskrnl/ex/timer.c
reactos/ntoskrnl/ex/uuid.c
reactos/ntoskrnl/fsrtl/fastio.c
reactos/ntoskrnl/include/internal/ex.h
reactos/ntoskrnl/include/internal/ntoskrnl.h
reactos/ntoskrnl/include/ntoskrnl.h
reactos/ntoskrnl/io/iomgr/file.c
reactos/ntoskrnl/io/iomgr/iocomp.c
reactos/ntoskrnl/io/iomgr/iofunc.c
reactos/ntoskrnl/io/iomgr/irp.c
reactos/ntoskrnl/io/pnpmgr/plugplay.c
reactos/ntoskrnl/ke/except.c
reactos/ntoskrnl/ke/i386/exp.c
reactos/ntoskrnl/ke/i386/usercall.c
reactos/ntoskrnl/ke/powerpc/exp.c
reactos/ntoskrnl/ke/thrdobj.c
reactos/ntoskrnl/ke/wait.c
reactos/ntoskrnl/lpc/reply.c
reactos/ntoskrnl/lpc/send.c
reactos/ntoskrnl/mm/anonmem.c
reactos/ntoskrnl/mm/pagefile.c
reactos/ntoskrnl/mm/pool.c
reactos/ntoskrnl/mm/procsup.c
reactos/ntoskrnl/mm/section.c
reactos/ntoskrnl/mm/sysldr.c
reactos/ntoskrnl/mm/virtual.c
reactos/ntoskrnl/ntoskrnl-generic.rbuild
reactos/ntoskrnl/ob/obdir.c
reactos/ntoskrnl/ob/obhandle.c
reactos/ntoskrnl/ob/oblife.c
reactos/ntoskrnl/ob/oblink.c
reactos/ntoskrnl/ob/obsecure.c
reactos/ntoskrnl/ob/obwait.c
reactos/ntoskrnl/ps/debug.c
reactos/ntoskrnl/ps/job.c
reactos/ntoskrnl/ps/process.c
reactos/ntoskrnl/ps/query.c
reactos/ntoskrnl/ps/security.c
reactos/ntoskrnl/ps/state.c
reactos/ntoskrnl/ps/thread.c
reactos/ntoskrnl/ps/win32.c
reactos/ntoskrnl/rtl/libsupp.c
reactos/ntoskrnl/se/acl.c
reactos/ntoskrnl/se/priv.c
reactos/ntoskrnl/se/sd.c
reactos/ntoskrnl/se/sid.c
reactos/ntoskrnl/se/token.c
reactos/ntoskrnl/vdm/vdmmain.c