a521276af075519c1c99d8b62d99f7437e402b9f
[reactos.git] / reactos / ntoskrnl / hal / x86 / halinit.c
1 /* $Id: halinit.c,v 1.17 2001/03/16 18:11:21 dwelch Exp $
2 *
3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * FILE: ntoskrnl/hal/x86/halinit.c
6 * PURPOSE: Initalize the uniprocessor, x86 hal
7 * PROGRAMMER: David Welch (welch@cwcom.net)
8 * UPDATE HISTORY:
9 * 11/06/98: Created
10 */
11
12 /* INCLUDES *****************************************************************/
13
14 #include <ddk/ntddk.h>
15 #include <internal/hal/hal.h>
16 #include <internal/ntoskrnl.h>
17
18 #define NDEBUG
19 #include <internal/debug.h>
20
21 /* FUNCTIONS ***************************************************************/
22
23 BOOLEAN STDCALL
24 HalInitSystem (ULONG BootPhase,
25 PLOADER_PARAMETER_BLOCK LoaderBlock)
26 {
27 if (BootPhase == 0)
28 {
29 HalInitializeDisplay (LoaderBlock);
30 HalpInitPICs ();
31 }
32 else
33 {
34 HalpInitBusHandlers ();
35
36 }
37
38 return TRUE;
39 }
40
41 /* EOF */