[AUDIT] - State.c is clean, it is merely a collection of trivial ~10 line wrappers...
authorAlex Ionescu <aionescu@gmail.com>
Tue, 18 Jul 2006 14:34:06 +0000 (14:34 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Tue, 18 Jul 2006 14:34:06 +0000 (14:34 +0000)
commit9170a29ef71faa0cad0b5847c736bddf6ef3c1f2
tree963949692caa7fba3be44d84fcdd5fc16c44ebf9
parentd9f7a999cfd31b3b4926c9f1b1ef2631a834837b
[AUDIT] - State.c is clean, it is merely a collection of trivial ~10 line wrappers around the actual kernel (Ke) functions which do the work.
- Rename suspend.c to state.c (since it also had resume APIs) and add alert APIs from kthread to it too.
- Fix a bug in one of the alert APIs which was probing for a valid pointer even if the caller had given NULL (which is valid if the caller doesn't want the previous state returned).

svn path=/trunk/; revision=23146
reactos/ntoskrnl/include/internal/ke.h
reactos/ntoskrnl/ke/kthread.c
reactos/ntoskrnl/ntoskrnl.rbuild
reactos/ntoskrnl/ps/state.c [new file with mode: 0644]
reactos/ntoskrnl/ps/suspend.c [deleted file]
reactos/ntoskrnl/ps/thread.c