Implement NtAllocateUuids() partially.
[reactos.git] / reactos / ntoskrnl / ex / init.c
1 /*
2 * ReactOS kernel
3 * Copyright (C) 1998, 1999, 2000, 2001 ReactOS Team
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19 /*
20 * PROJECT: ReactOS kernel
21 * FILE: kernel/ex/init.c
22 * PURPOSE: executive initalization
23 * PROGRAMMER: Eric Kohl (ekohl@abo.rhein-zeitung.de)
24 * PORTABILITY: Checked.
25 * UPDATE HISTORY:
26 * Created 11/09/99
27 */
28
29 #include <ntoskrnl.h>
30 #define NDEBUG
31 #include <internal/debug.h>
32
33 /* DATA **********************************************************************/
34
35 /* FUNCTIONS ****************************************************************/
36
37 VOID INIT_FUNCTION
38 ExInit2(VOID)
39 {
40 ExpInitLookasideLists();
41 }
42
43 VOID INIT_FUNCTION
44 ExInit3 (VOID)
45 {
46 ExInitializeWorkerThreads();
47 ExpWin32kInit();
48 ExpInitUuids();
49 }
50
51
52 /*
53 * @implemented
54 */
55 BOOLEAN STDCALL
56 ExIsProcessorFeaturePresent(IN ULONG ProcessorFeature)
57 {
58 if (ProcessorFeature >= PROCESSOR_FEATURES_MAX)
59 return(FALSE);
60
61 return(SharedUserData->ProcessorFeatures[ProcessorFeature]);
62 }
63
64
65 VOID STDCALL
66 ExPostSystemEvent (ULONG Unknown1,
67 ULONG Unknown2,
68 ULONG Unknown3)
69 {
70 /* doesn't do anything */
71 }
72
73 /* EOF */