This commit was generated by cvs2svn to compensate for changes in r30,
[reactos.git] / reactos / ntoskrnl / ps / process.c
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * FILE: ntoskrnl/ps/process.c
5 * PURPOSE: Process managment
6 * PROGRAMMER: David Welch (welch@mcmail.com)
7 * REVISION HISTORY:
8 * 21/07/98: Created
9 */
10
11 /* INCLUDES ******************************************************************/
12
13 #include <ddk/ntddk.h>
14
15 #include <internal/debug.h>
16
17 /* GLOBALS ******************************************************************/
18
19 EPROCESS SystemProcess = {{0},};
20 HANDLE SystemProcessHandle = NULL;
21
22 /* FUNCTIONS *****************************************************************/
23
24 PKPROCESS KeGetCurrentProcess(VOID)
25 {
26 return(NULL);
27 // return(&(PsGetCurrentProcess()->Pcb));
28 }
29
30 struct _EPROCESS* PsGetCurrentProcess(VOID)
31 /*
32 * FUNCTION: Returns a pointer to the current process
33 */
34 {
35 return(PsGetCurrentThread()->ThreadsProcess);
36 }
37