- Properly implement inline versions of KeGetCurrentThread and KeGetPreviousMode...
authorAlex Ionescu <aionescu@gmail.com>
Mon, 23 Oct 2006 22:01:25 +0000 (22:01 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Mon, 23 Oct 2006 22:01:25 +0000 (22:01 +0000)
commitedaa6996f407fb19d5b152a0e754a63c7d9d4e2c
treef53061e7c1db68412a6eb94f7911e0c65c0ac71d
parent2dae9ef970b84ddf47665c20950416cd6410a531
- Properly implement inline versions of KeGetCurrentThread and KeGetPreviousMode/ExGetPreviousMode, as well as KeGetPcr. This should significantly increase performance. (KeGetPreviousMode is reduced to 2 lines of code instead of 15 lines with 2 expensive jumps).

svn path=/trunk/; revision=24639
reactos/include/ddk/winddk.h
reactos/include/ndk/ketypes.h
reactos/ntoskrnl/ex/sysinfo.c
reactos/ntoskrnl/include/internal/ex.h
reactos/ntoskrnl/include/internal/ke_x.h
reactos/ntoskrnl/include/internal/ntoskrnl.h
reactos/ntoskrnl/ke/thrdobj.c